8000 GitHub - pythonanywhere/helper_scripts at glastonbury
[go: up one dir, main page]

Skip to content

pythonanywhere/helper_scripts

 
 

Repository files navigation

Build Status License: MIT PyPI Downloads

PythonAnywhere helper scripts

These scripts are designed to be run from PythonAnywhere consoles

Installing

pip3.6 install --user pythonanywhere

If there is no python3.6 on your PythonAnywhere account, you should contact support@pythonanywhere.com and ask for an upgrade.

Usage

There are two ways to use that package. You can just run the scripts or use underlying api wrappers directly in your scripts.

There are scripts provided for dealing with web apps:

and scheduled tasks:

Run any of them with --help flag to get information about usage.

See the blog post

Contributing

Pull requests are welcome! You'll find tests in the tests folder...

# prep your dev environment
mkvirtualenv --python=python3.6 helper_scripts
pip install -r requirements.txt
pip install -e .

# running the tests:
pytest

# make sure that the code that you have written is well tested:
pytest --cov=pythonanywhere --cov=scripts

# to just run the fast tests:
pytest -m 'not slowtest' -v

About

Helper scripts provided to PythonAnywhere users (designed to be run from a PythonAnywhere console)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

Languages

0