phonlab
A collection of python functions for doing phonetics.
Installation and Documentation
To install phonlab into an existing environment use pip:
pip install phonlab
The phonlab documentation is here: https://phonlab.readthedocs.io
The github page for this package (https://github.com/phonetics-projects/phonlab) includes a yaml file that can be used to create a conda environment with all of the phonlab dependencies installed. Use this command:
conda env create --file phonlab_env.yaml
Examples
See the Phonlab Workshop slide deck for some background on this package. There are example jupyter notebooks in the google drive linked in those slides.
See also the examples folder in the github repository!
Testing
To run the unit tests:
pip install pytest
python -m pytest test/ -v
Contributing
We solicit contributions/corrections from the research community. Here are some steps you can follow to contribute to this project.
Open a new issue in the https://github.com/phonetics-projects/phonlab repository.
Use git to Clone the repository.
Make your changes on your local clone of the repository
if you are adding a function, add it to the repository in a separate file, and write a good doc string for it
if you are correcting or extending an existing function, modify the existing file
If you are adding a function, also do these things:
edit the __init__.pyi file to include your file in the package, following the examples in that file.
edit the appropriate .rst file in the docs/source folder to include your function in the package documentation.
If your change requires a new python package, update the pyproject.toml and phonlab_env.yaml files to include the dependency.
Add/Commit your changes (preferably one commit per change rather than a set of unrelated changes in one big commit).
Push to your clone of the repository on github
Issue a pull request to add your change to the phonetics-projects/phonlab repository
the changes will be reviewed before they become part of the published repository
Metadata
Release files for phonlab 0.2.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 |
|---|---|---|---|---|
| phonlab-0.2.0.tar.gz | 6.3 MB | Without provenance | Details for phonlab-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| phonlab-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for phonlab-0.2.0-py3-none-any.whl |
Total release size: 12.6 MB
Release files / phonlab-0.2.0.tar.gz
| Download URL | phonlab-0.2.0.tar.gz |
|---|---|
| Size | 6.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42753393d9acf9ad9ecf263fdbc55b4e4400c251c91e5fbf74b18e3456983e1a
|
|
BLAKE2b-256 checksum How to use checksums |
421d1bcdd1f06f02f46d50dd5bb75fb4fde28874ff0ca3137c94901e6458e452
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / phonlab-0.2.0-py3-none-any.whl
| Download URL | phonlab-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
211b48bfaab9a9150e10993661b222de5b473d3cffe6685f9cd1a87e75143868
|
|
BLAKE2b-256 checksum How to use checksums |
3198056aba04254a93b841b26c12d7b03c054a43497acaff85021a7ade8abb5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Security for phonlab 0.2.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.