pytaxa
info
Installation
Stable version
pip install pytaxa
pip3 install pytaxa
Dev version
sudo pip install git+git://github.com/sckott/pytaxa.git#egg=pytaxa
# OR
git clone git@github.com:sckott/pytaxa.git
cd pytaxa
make install
Usage
from pytaxa import constructors as cs
cs.taxon_name("Poa")
from pytaxa import Taxon
x = Taxon(None)
x.is_empty()
name = cs.taxon_name("Poa")
rank = cs.taxon_rank("genus", "ncbi")
db = cs.taxon_database("ncbi",
"http://www.ncbi.nlm.nih.gov/taxonomy",
"NCBI Taxonomy Database",
"*")
id = cs.taxon_id(12345, db)
tx1 = Taxon(name, rank, id, "L.")
tx2 = Taxon(cs.taxon_name("Poaceae"),
cs.taxon_rank("family", "ncbi"), cs.taxon_id(4479, db))
tx3 = Taxon(cs.taxon_name("Poa annua"),
cs.taxon_rank("species", "ncbi"), cs.taxon_id(93036, db))
from pytaxa import Taxa
Taxa(tx1, tx2, tx3)
from pytaxa import Hierarchy
out = Hierarchy(tx1, tx2, tx)
out.taxa
out.ranklist
out.all_empty()
out.pop(ranks = "family")
Contributing
See CONTRIBUTING.md
Meta
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License: MIT; see LICENSE file
Changelog
0.0.6 (2018-06-26)
First pypi release
Metadata
Release files for pytaxa 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytaxa-0.0.6.tar.gz | 8.1 kB | Without provenance | Details for pytaxa-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytaxa-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pytaxa-0.0.6-py2.py3-none-any.whl |
Total release size: 30.0 kB
Release files / pytaxa-0.0.6.tar.gz
| Download URL | pytaxa-0.0.6.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46c29bfb11ca25d5206d20a10ac8f04a384b68eabf6d245086a7e8f4165852c0
|
|
BLAKE2b-256 checksum How to use checksums |
0353baff577a09ab2e18d248fde1a3d01733bf51f9656c6f2d82add38c4e6ff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytaxa-0.0.6-py2.py3-none-any.whl
| Download URL | pytaxa-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1ae0228dccdb8a1fe3b541f54c7fbe6ecc520a62566356aa5d1345af5b55139e
|
|
BLAKE2b-256 checksum How to use checksums |
8f7a67a31f8d07a8586b5b3edee96e2ca492595a2ecdd0a64cf6862a52df8e8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytaxa 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.