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.

Files for news2play, version 0.5.12
Filename, size File type Python version Upload date Hashes
Filename, size news2play-0.5.12-py2.py3-none-any.whl (29.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size news2play-0.5.12.tar.gz (59.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page