Skip to main content

Syllables: A fast syllable estimator for Python

Latest PyPI version Python CI

Syllables is a fast, simple syllable estimator for Python. It's intended for use in places where speed matters. For situations where accuracy matters, please consider the cmudict Python library instead.

Installation

syllables is available on PyPI. Simply install it with pip:

pip install syllables

You can also install it from source:

  $ git clone https://github.com/prosegrinder/python-syllables.git
  Cloning into 'python-syllables'...
  ...

  $ cd python-syllables
  $ python setup.py install
  ...

Usage

Syllables provides a single function, estimate, which estimates the number of syllables in a single word.

>>> import syllables
>>> syllables.estimate('estimate')
4
>>> syllables.estimate('syllables')
3

Credits

Built on or modeled after the following open source projects:

Metadata

Release files for syllables 1.0.2

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

Source distribution (sdist)

Source distribution for syllables 1.0.2
File Size Uploaded Provenance Actions
syllables-1.0.2.tar.gz 16.0 kB Without provenance Details for syllables-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for syllables 1.0.2
File Interpreter ABI Platform Actions
syllables-1.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for syllables-1.0.2-py2.py3-none-any.whl

Total release size: 31.6 kB

Release files / syllables-1.0.2.tar.gz

Download URL syllables-1.0.2.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6f0022e1640177a8bc950d542967791456464fd88e0e287250056b3db7221cd8
BLAKE2b-256 checksum
How to use checksums
251583fd9a56f43279a0d725a17bd0a36cf401cfd18de227c1abb8a1ab496863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / syllables-1.0.2-py2.py3-none-any.whl

Download URL syllables-1.0.2-py2.py3-none-any.whl
Size 15.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
358517ae2577c44a9012be8d5e19f098c35f8b3534df9c1d6fb7aba601dfd681
BLAKE2b-256 checksum
How to use checksums
0d4c18b400c865a77291534bf926f9ddef9bf6864c74b18e9774bd3b50f32e36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Security for syllables 1.0.2

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.

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