Skip to main content

PythonAnywhere helper tools for users

Project description

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

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

pythonanywhere-0.9.2.tar.gz (18.8 kB view details)

Uploaded Source

File details

Details for the file pythonanywhere-0.9.2.tar.gz.

File metadata

  • Download URL: pythonanywhere-0.9.2.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10

File hashes

Hashes for pythonanywhere-0.9.2.tar.gz
Algorithm Hash digest
SHA256 0e3af3cd976b88d403868e48000487c42846bbaa0c29ef255a7b64c7dba3dbe3
MD5 183e83facaf118f17988b31a9e4f550f
BLAKE2b-256 0fd78a2060e9d83aef2ce297a05ea5e16be2c69957e655bef39511b497a492e8

See more details on using hashes here.

Provenance

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