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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for basepair-3.3.2.tar.gz
Algorithm Hash digest
SHA256 adaeef3352db5487d508e2d67a4d9de7f4d445f4e8c8e21dcf24e146aa475949
MD5 3af7c801bd4adca3b2d4360a04ba2b18
BLAKE2b-256 a375faf35bdf30ac78fc0780fe2fa4b587a111698db7b2a5839bf39c9ee6475c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for basepair-3.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3bffefc322a4e8248d95f610e00887411ec28266aafb5053e45b3f8bfb5adabe
MD5 be018ddbb0ae873fc0f9e3bb0fe52d5e
BLAKE2b-256 e67839af3c95d6682264551309d55ecfe24d7ff58b1fc7ae2d0e0bf1e8110245

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 Sentry Error logging StatusPage Status page