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.7.tar.gz (4.1 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.7-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphon_client-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 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.7.tar.gz
Algorithm Hash digest
SHA256 2864f3b4a872d3b071891a86578046487de591759d19eead3b3f3f967baaa24e
MD5 fd9bb52c4abfa39fdeb0314154d958e6
BLAKE2b-256 e5cc459a74bcf953dfe626b9d289d339944fb194e753234858442fdc906a15b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphon_client-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a87e4a0adfc362470ff171168d6b5378ae0d5a16df9a2d267ddb43008d933e7f
MD5 a3c018f7a7d2b6c97e982551c433e241
BLAKE2b-256 9d7445b3bc9d762d6ef97b689d2b05a92313f329a345ed32b19db23ffb49da22

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