Utilities modules for sequences, alignments and phylogeny from Toulouse virology laboratory.
Project description
Sequence, alignments and phylogeny utilities
Python package providing utilities for:
- sequences (nucleotides or amino acids)
- alignments
- phylogeny
Creating the pip package and upload
See Generating distribution archive from this page.
On the local computer, not on the cluster, go to the directory containing the *.toml file and run:
python3 -m pip install --upgrade build
python3 -m build
Upload of the new or updated package
upload to the TestPyPi repository
Use Twine to upload the new package or the new version of the package to TestPyPi:
python3 -m twine upload --repository testpypi dist/*
When prompted for the username, enter __token__ and the password of the token for test.pypi.org (see bitwarden
token test.pypi.org).
To test if the package is correctly uploaded and functional, create a virtual env and install the package.
# virtual env
python3 -m venv test_env
source test_env/bin/activate
# download package
python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple viro-seq-utils
# launch Python
python
Test the package:
from viro_seq_utils import aln_utils
The upload is OK if no error message is displayed.
Remove the virtual environment:
deactivate
rm -r test_env/
upload to the PyPi repository
Use Twine to upload the new package or the new version of the package to PyPi:
python3 -m twine upload dist/*
When prompted for thr username, enter __token__ and the password of the token: pypi.org (see bitwarden
token pypi.org).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file viro_seq_utils-1.5.0.tar.gz.
File metadata
- Download URL: viro_seq_utils-1.5.0.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cb9643ad9ec86ba66f63654af5d9ecae8c965de52c48ada2d048cc0d8a3becb
|
|
| MD5 |
0ffe6643f70c699017c7717425602369
|
|
| BLAKE2b-256 |
4fe8f60f94caeea926ed19e891e49dc2279e44b58529dcede92b76e67b0be60b
|
File details
Details for the file viro_seq_utils-1.5.0-py3-none-any.whl.
File metadata
- Download URL: viro_seq_utils-1.5.0-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd1d0fe6086b439686c18118cfa7a49d0a31872954b5e12407b309c770bd205e
|
|
| MD5 |
d8b7c9833f60c7c8029be0ad29de1cb2
|
|
| BLAKE2b-256 |
50e0da5ee91e47baeacd93e44f4a0ac8ab6eee0204a45bf9e82c70e1ece36dd5
|