Skip to main content

A Python client library for the Graphon API

Project description

Graphon Client - Build and Publish

Prerequisites

  • Python 3.8+
  • Tools:
python -m pip install --upgrade build twine

1) Bump the version

Edit pyproject.toml and increment:

[project]
version = "X.Y.Z"

2) Build distributions

From this directory:

python -m build

Outputs go to dist/ (.tar.gz and .whl).

3) Verify the distributions

python -m twine check dist/*

4) Test upload to TestPyPI (optional but recommended)

Create a token at if not already existing at https://test.pypi.org/manage/account/token/ and export it:

export TESTPYPI_TOKEN="<insert_token>"
python -m twine upload --repository testpypi -u __token__ -p "$TESTPYPI_TOKEN" dist/*

Test install from TestPyPI (with PyPI as fallback for dependencies):

python -m venv .venv-test
. .venv-test/bin/activate
python -m pip install --upgrade pip
python -m pip install --index-url https://test.pypi.org/simple \
  --extra-index-url https://pypi.org/simple graphon-client==X.Y.Z
python -c "from graphon_client import GraphonClient; print(GraphonClient)"
deactivate

5) Upload to PyPI

export PYPI_TOKEN="<insert_token>"
python -m twine upload -u __token__ -p "$PYPI_TOKEN" dist/*

Notes:

  • PyPI versions are immutable; always bump before rebuilding.
  • Package name on PyPI: graphon-client; import name: graphon_client.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphon_client-0.1.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphon_client-0.1.6-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file graphon_client-0.1.6.tar.gz.

File metadata

  • Download URL: graphon_client-0.1.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for graphon_client-0.1.6.tar.gz
Algorithm Hash digest
SHA256 57355f243e89c595551825caa2da6ff2f94018554696ce3f9e25a4fc96d42ebe
MD5 04bf433b64f4bb6ba513972328cc4395
BLAKE2b-256 f1bcbaa23e8c4daad77e6c49d1cbd860f482fd8b0e5ca9eb7b547fd132907c25

See more details on using hashes here.

File details

Details for the file graphon_client-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: graphon_client-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for graphon_client-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d786439738ee4f30145c9d3c4b1ce52464dd7c75e3a953bf9e8d7fa67944d57b
MD5 5d85a0b3187d273f800f6db24366b421
BLAKE2b-256 034105d262668f94f43452e8c730432f39fc41d0e093ba27112e671931eb51fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page