pyphony
A library to work with phone lexica.
- Read and write lexica from/to a file.
- Convert between different formats
Installation
Install the latest development version:
pip install git+https://github.com/ynop/pyphony.git
Development
Prerequisites
It's recommended to use a virtual environment when developing pyphony. To create one, execute the following command in the project's root directory:
python -m venv .
To install pyphony and all it's dependencies, execute:
pip install -e .
Running the test suite
pip install -e .[dev]
python setup.py test
With PyCharm you might have to change the default test runner. Otherwise, it might only suggest to use nose. To do so, go to File > Settings > Tools > Python Integrated Tools (on the Mac it's PyCharm > Preferences > Settings > Tools > Python Integrated Tools) and change the test runner to py.test.
Versions
Versions is handled using bump2version. To bump the version:
bump2version [major,minor,patch,release,num]
In order to directly go to a final relase version (skip .dev/.rc/...):
bump2version [major,minor,patch] --new-version x.x.x
Release
Commands to create a new release on pypi.
rm -rf build
rm -rf dist
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*
Metadata
Release files for pyphony 0.1.0
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 |
|---|---|---|---|---|
| pyphony-0.1.0.tar.gz | 14.8 kB | Without provenance | Details for pyphony-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyphony-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyphony-0.1.0-py3-none-any.whl |
Total release size: 30.8 kB
Release files / pyphony-0.1.0.tar.gz
| Download URL | pyphony-0.1.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e299bfa160ee381fdfeb76832a97da19b104eb66eecc611e02a6f949a6f524c
|
|
BLAKE2b-256 checksum How to use checksums |
e670aa0dd5a77c09a73711372d294c77350489d7669457ce901de0f049ec9d49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.2
|
Release files / pyphony-0.1.0-py3-none-any.whl
| Download URL | pyphony-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
026a3ff1104aa7bcbc633bd18123068d8a4bb9799b30f2bcff5d24a88e38a4df
|
|
BLAKE2b-256 checksum How to use checksums |
e30a95ac48cdaef4adf0e483fe7d68c73f81e70d9b43273f65cf049d68c9d968
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.2
|
Security for pyphony 0.1.0
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.