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/
Metadata
Release files for basepair 3.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| basepair-3.3.3.tar.gz | 71.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| basepair-3.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 173.6 kB
Release files / basepair-3.3.3.tar.gz
| Download URL | basepair-3.3.3.tar.gz |
|---|---|
| Size | 71.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc5083bf692847780ea91a0ad50a1c719e574e0543253cec3e32b3d6518dcefa
|
|
BLAKE2b-256 checksum How to use checksums |
cf68f02deedc9b0bbcd59f042efb30d0f1c63bbc8c64a122c5f1a0be53cc3b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / basepair-3.3.3-py3-none-any.whl
| Download URL | basepair-3.3.3-py3-none-any.whl |
|---|---|
| Size | 101.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6665a94983c6d873f5c373cceddf5e20aa5341ca3ac6769a3e562fc42dcaa6c7
|
|
BLAKE2b-256 checksum How to use checksums |
2fa37d64f1caa6e9ef95a5e80065091e3eae1572a4f92cdd83a7f76fe1d43154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|