Skip to main content

Python client for Basepair

Python bindings for Basepair's API and command line interface (CLI).

Using MFA

Note: It is advisable to use MFA for increased security and best practices

After you have been added to the list of collaborators, you can verify if MFA has been activated for you by visiting collaboration page

How to build and push to pypi:

Automated publishing of distribution

In the testing stage of the changes, it is advisable to use Test PyPI. We already have github actions to publish on both Test PyPI and PyPI.

Manual way from local

python setup.py sdist bdist_wheel # This will create two files in a newly created dist directory, a source archive and a wheel:
twine upload dist/* # To upload it to Pypi
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username:
Enter your password:

Note: username must be __token__ (not your pypi username) password is the token. You may generate the token -> token creation page.

That is it!

Below is a successful execution sample:

Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: __token__
Enter your password:
Uploading basepair-2.0.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.0/51.0 kB • 00:00 • 36.3 MB/s
Uploading basepair-2.0.7.tar.gz
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.4/37.4 kB • 00:00 • 47.2 MB/s

View at:
https://pypi.org/project/basepair/2.0.7/

Download files

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

Source Distribution

basepair-3.3.1.tar.gz (71.6 kB view details)

Uploaded Source

Built Distribution

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

basepair-3.3.1-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file basepair-3.3.1.tar.gz.

File metadata

  • Download URL: basepair-3.3.1.tar.gz
  • Upload date:
  • Size: 71.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for basepair-3.3.1.tar.gz
Algorithm Hash digest
SHA256 9d093d037a7331eaacfde0932e8efaee56fc52870e131456e95f59b70f67d2bb
MD5 e05a4842b02bb0a559d1c6a419d7c40e
BLAKE2b-256 135cbce7c233f1df65d23f385a0257a11b5e9d38d6123c7e28a112423bd6cae9

See more details on using hashes here.

File details

Details for the file basepair-3.3.1-py3-none-any.whl.

File metadata

  • Download URL: basepair-3.3.1-py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for basepair-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5bf69d53e136f809be7d5f64c43489fa87b660646f0617467231afb76179dc
MD5 012c48752394b77500145337e7b09a93
BLAKE2b-256 afecb0f4bc3ed962f890254acd7cc15c549c5a5fe6ea2001e76c38e621bd4a08

See more details on using hashes here.

Release history Release notifications | RSS feed

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