Skip to main content

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.

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 for password of the token: pypi-AgENdGVzdC5weXBpLm9yZwIkZWQ4OGM3MTAtZDM4Yy00MzI0LTgzZTgtYjdkNTRjNzM3ODgxAAIleyJwZXJtaXNzaW9ucyI6ICJ1c2VyIiwgInZlcnNpb24iOiAxfQAABiCvPdEuI67P7t9GPsxT32wekLrsotDZox91PQYrGUpzuQ.

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 user name, enter __token__ and for password of the token: pypi-AgEIcHlwaS5vcmcCJDQ5OGM0Mjg0LTg4NWUtNDFkMy1hM2E4LTJkOWExMWY2YWFiNwACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYg_sL0lCguZppaM5q9zYciijuwH3tPz_KQtQE07S5Sg0U

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

viro-seq-utils-1.2.1.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

viro_seq_utils-1.2.1-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file viro-seq-utils-1.2.1.tar.gz.

File metadata

  • Download URL: viro-seq-utils-1.2.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for viro-seq-utils-1.2.1.tar.gz
Algorithm Hash digest
SHA256 1f42ad882f5e9ae9fc3fd3095059295cefb3b3982ef36e192c2d8d872c0276f9
MD5 72538f4f94d151bd9c7b7bd3367df3e3
BLAKE2b-256 8a8356f6a2f9a89aefb928721f78a40a7386ac101dbbaf9261be85418c0fa707

See more details on using hashes here.

File details

Details for the file viro_seq_utils-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: viro_seq_utils-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for viro_seq_utils-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64b8049663141bfdceed32ce7bf1caf08e868f97c54455a0c1c2763215015b5a
MD5 afa9004f530c570f7fd7ac6ae43a7029
BLAKE2b-256 0a96af59b82630fbacfbbc19392304e2f7433bef140bd94de7e6f31df7fe3de2

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