Skip to main content

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/*

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyphony-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyphony-0.1.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pyphony-0.1.0.tar.gz.

File metadata

  • Download URL: pyphony-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyphony-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e299bfa160ee381fdfeb76832a97da19b104eb66eecc611e02a6f949a6f524c
MD5 31ffa154bba5af7e24873823eb8ea66d
BLAKE2b-256 e670aa0dd5a77c09a73711372d294c77350489d7669457ce901de0f049ec9d49

See more details on using hashes here.

File details

Details for the file pyphony-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyphony-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyphony-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 026a3ff1104aa7bcbc633bd18123068d8a4bb9799b30f2bcff5d24a88e38a4df
MD5 d7150d405d6cf13212786d100a874872
BLAKE2b-256 e30a95ac48cdaef4adf0e483fe7d68c73f81e70d9b43273f65cf049d68c9d968

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page