Skip to content

Commit f5a242a

Browse files
authored
Merge pull request #4 from mondaycom/gh-publish
Gh publish
2 parents 4489a7b + 294afd0 commit f5a242a

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

.github/workflows/pypa-publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Upload Python Package to PyPI when a Release is Created
2+
3+
on:
4+
release:
5+
types: [created]
6+
jobs:
7+
pypi-publish:
8+
name: Upload release to PyPI
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: pypi
12+
url: https://pypi.org/p/monday-api-python-sdk
13+
permissions:
14+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: "3.x"
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install setuptools wheel
25+
- name: Build package
26+
run: |
27+
python setup.py sdist bdist_wheel # Could also be python -m build
28+
- name: Publish package distributions to PyPI
29+
uses: pypa/gh-action-pypi-publish@release/v1

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# monday-python-sdk
1+
# monday-api-python-sdk
22

33
A Python SDK for interacting with Monday's GraphQL API.
44

@@ -15,7 +15,7 @@ A Python SDK for interacting with Monday's GraphQL API.
1515
To install the SDK, use pip:
1616

1717
```bash
18-
pip install monday-python-sdk
18+
pip install monday-api-python-sdk
1919
```
2020
## Usage
2121

@@ -63,7 +63,7 @@ print(item)
6363
```
6464

6565

66-
# monday-python-sdk
66+
# monday-api-python-sdk
6767

6868
A Python SDK for interacting with Monday's GraphQL API.
6969

@@ -80,7 +80,7 @@ A Python SDK for interacting with Monday's GraphQL API.
8080

8181
To install the SDK, use pip:
8282
```python
83-
pip install monday-python-sdk
83+
pip install monday-api-python-sdk
8484
```
8585
## Usage
8686

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools >= 61.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "monday-python-sdk"
6+
name = "monday-api-python-sdk"
77
requires-python = ">=3.8"
88
dynamic = ["version"]
99
dependencies = [

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# Fields marked as "Optional" may be commented out.
1515

1616
setup(
17-
name="monday-python-sdk", # Required
18-
version="0.9.1", # Required
17+
name="monday-api-python-sdk", # Required
18+
version="0.9.2", # Required
1919
description="A Python SDK for interacting with Monday's GraphQL API", # Optional
2020
long_description=long_description, # Optional
2121
long_description_content_type="text/markdown", # Optional (see note above)

0 commit comments

Comments
 (0)