Skip to main content

News for play.

Project description

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')

Project details


Download files

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

Source Distribution

news2play-0.5.0.tar.gz (58.3 kB view hashes)

Uploaded Source

Built Distribution

news2play-0.5.0-py2.py3-none-any.whl (28.5 kB view hashes)

Uploaded Python 2 Python 3

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