Python tools for phonetics
Project description
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!
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phonlab-0.0.51.tar.gz.
File metadata
- Download URL: phonlab-0.0.51.tar.gz
- Upload date:
- Size: 9.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7c0450086ce011144d022d4e4b4bc32b4be15bdc34a48a0a2a03aa9d22ebfcb
|
|
| MD5 |
08516abb477b607ee63b74845c16393a
|
|
| BLAKE2b-256 |
8d824cd845a9d7bb3c14ab5baeeaec9ad384e1fd99e129aaa11a5c942033e24a
|
File details
Details for the file phonlab-0.0.51-py3-none-any.whl.
File metadata
- Download URL: phonlab-0.0.51-py3-none-any.whl
- Upload date:
- Size: 9.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbaaff4c331d051653c8ba04b8bff611b97fcf3ea742ca3e44d15730b64d89f1
|
|
| MD5 |
d055554c830964ddc8366fec12df0169
|
|
| BLAKE2b-256 |
3d83c8030890c52d7aeccd098f12800c59f00320eff4789aa9197c600a270132
|