Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/release_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish to PyPI

on:
release:
types: [created]

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine wheel

- name: Build package
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
repository_url: https://upload.pypi.org/legacy/
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We, as contributors and maintainers, pledge to make participation in the Djelia
- Avoid harassing, offensive, or discriminatory behavior.

## Enforcement
Inappropriate behavior can be reported to [support@djelia.cloud](mailto:support@djelia.cloud) or by messaging `@sudoping01` on GitHub. All reports will be reviewed and addressed promptly.
Inappropriate behavior can be reported to [support@naboopay.com](mailto:support@djelia.cloud) or by messaging `@sudoping01` or `lodjim` on GitHub. All reports will be reviewed and addressed promptly.

## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ Hey there! Welcome to this fun and practical workshop on using the Djelia Python

Let's kick things off by installing the Djelia Python SDK with one of those magical commands. Run it in your terminal, and you're good to go!

```bash
pip install djelia
```


Install the Djelia Python SDK directly from GitHub:
```bash
Expand All @@ -37,6 +41,12 @@ Install the Djelia Python SDK directly from GitHub:

Alternatively, use uv for faster dependency resolution:


```bash
uv pip install djelia
```


```bash
uv pip install git+https://github.com/djelia/djelia-python-sdk.git
```
Expand Down