Skip to main content

No project description provided

Project description

Speakit

Installation

pip install speakit

Documentation

The module exports two functions:

from speakit import split_symbol, split_symbols

def split_symbol(symbol: str, numbers: bool = True, max_len: int = 0) -> str:
def split_symbols(symbols: List[str], numbers: bool = True, max_len: int = 0) -> List[str]:

Examples

split_symbol("999") == "nine nine nine"
split_symbol("99module_aTestCase") == "nine nine module a Test Case"
split_symbol("0_A1B2C3DEF99") == "zero A one B two C three D E F nine nine"
split_symbol("__init__") == "init"
split_symbol("99module_aTestCase", numbers=False, max_len=3) == "module a Test"

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

speakit-0.1.4-cp39-none-win_amd64.whl (110.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page