Marude
Marusia demo interface - an http api client which allows to automatically convert russian short texts into speech using vk cloud.
Installation
To create a conda environment and install dependencies use the following command:
conda create -f environment.yml
Then activate created environment:
conda activate marude
Usage
After the environment is set up, the app can be used from the command line:
python -m marude tts 'Привет, мир' -m pavel -p message.mp3
The provided text (which must be 1024 characters long or shorter) will be converted into speech and saved as an audiofile message.mp3. By default the file is saved at assets/message.mp3.
The module can be used programmatically as well. First, install the module through pip:
pip install marude
Then run your script, which may look like this (see example):
from tasty import pipe
from marude import CloudVoiceClient, Voice
if __name__ == '__main__':
client = CloudVoiceClient(Voice.MARIA)
with open('message-1.mp3', 'wb') as file:
_ = 'Съешь еще этих мягких французских булок' | pipe | client.tts | pipe | file.write
with open('message-2.mp3', 'wb') as file:
_ = 'да выпей чаю' | pipe | client.tts | pipe | file.write
Metadata
Release files for marude 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| marude-0.3.0.tar.gz | 6.7 kB | Without provenance | Details for marude-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| marude-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for marude-0.3.0-py3-none-any.whl |
Total release size: 13.9 kB
Release files / marude-0.3.0.tar.gz
| Download URL | marude-0.3.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6831f948579bb764fb7d84d559670a74ee653c4ace640500dcc98ebbc60d5211
|
|
BLAKE2b-256 checksum How to use checksums |
84eb6a6c0e85ffc6978bfef0cce5e4beb2a9b8f4784c850459eea5fb6cf9d044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.9
|
Release files / marude-0.3.0-py3-none-any.whl
| Download URL | marude-0.3.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dbf5bc3f416c972af965ce750a01b08a982abbf8fb08b88b756b2233e8d0272
|
|
BLAKE2b-256 checksum How to use checksums |
93d08f63f10dc04cd7f69ebec70fc33e7674d7868733641a385c5ba4dab504a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.9
|
Security for marude 0.3.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.