Skip to main content

phonlab

A collection of python functions for doing phonetics.

Installation and Documentation

  • To install phonlab into an existing environment use pip:

pip install phonlab
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.

  1. Open a new issue in the https://github.com/phonetics-projects/phonlab repository.

  2. Use git to Clone the repository.

  3. 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

  4. 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.

  5. If your change requires a new python package, update the pyproject.toml and phonlab_env.yaml files to include the dependency.

  6. Add/Commit your changes (preferably one commit per change rather than a set of unrelated changes in one big commit).

  7. Push to your clone of the repository on github

  8. 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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phonlab 0.1.0
File Size Uploaded Provenance Actions
phonlab-0.1.0.tar.gz 6.3 MB Without provenance Details for phonlab-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phonlab 0.1.0
File Interpreter ABI Platform Actions
phonlab-0.1.0-py3-none-any.whl Python 3 none any Details for phonlab-0.1.0-py3-none-any.whl

Total release size: 12.6 MB

Release files / phonlab-0.1.0.tar.gz

Download URL phonlab-0.1.0.tar.gz
Size 6.3 MB
Tags Source
SHA-256 checksum
How to use checksums
4432c0ed2ac937ebbe1138e5027f9874a9ca7d4a12b3e4f0b13f2ce500b2f8aa
BLAKE2b-256 checksum
How to use checksums
0c64ab7e4b4bf58331e9809ea0d74fa201e83c0a5f013b3895bf99b1914c94c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / phonlab-0.1.0-py3-none-any.whl

Download URL phonlab-0.1.0-py3-none-any.whl
Size 6.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
784eff25a7344084073b4a38e9a27f82e3441e8c79370ebe9f8f5336c13321eb
BLAKE2b-256 checksum
How to use checksums
0c61bbfe137914e97b4d151561597a2650d79350594a5ebb864603b9a1e83416
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for phonlab 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page