News To Play
Index:
0. python version >= 3.6
1. How to setup dev environment
2. How to use news2play package
3. How to deploy
How to setup dev/running environment
Command for init dev/running environment
make init
How to use news2play package
Command for install news2play from PyPI
pip3 install news2play
Command for run news2play after installation.
import news2play
news2play.app.run()
After the process finished, you can find the generated audios for news in ./storage/data
Command for run Docker from DockerHub
make docker_run
or:
docker run -it -p 5000:5000 deep3/news2play
How to deploy
Command for deploy to PyPI
git tag [major].[monor].[patch] [none/commit id]
git push & git push --tags
make publish
Command for push to DockerHub, docker image will use news2play in PyPI
mkae docker_build
make docker_push
or:
docker build -t deep3/news2play:latest .
docker push deep3/news2play:latest
Backup
echo hello news2play
print('hello news2play')
Metadata
Release files for news2play 0.5.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| news2play-0.5.12.tar.gz | 59.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| news2play-0.5.12-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 88.4 kB
Release files / news2play-0.5.12.tar.gz
| Download URL | news2play-0.5.12.tar.gz |
|---|---|
| Size | 59.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4449a51705f57cce10b061cf74a447ac7793d0adbefcab54c901b45ddcbf1e3
|
|
BLAKE2b-256 checksum How to use checksums |
bfe0293e3a6af33f62c344183b873f1d10a65b7003373ebe60cf698c9e50e8b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / news2play-0.5.12-py2.py3-none-any.whl
| Download URL | news2play-0.5.12-py2.py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
597e3c79dcbdafe9614b134ddff34fbe7d5a9a3347e915b4bbdb50ef87d2aa56
|
|
BLAKE2b-256 checksum How to use checksums |
33e889f10b966191cd3190c827c963eb2c49fcde9c96916c9dcdfc9873525c79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|