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:
- pa_autoconfigure_django.py
- pa_create_webapp_with_virtualenv.py
- pa_delete_webapp_logs.py
- pa_install_webapp_letsencrypt_ssl.py
- pa_install_webapp_ssl.py
- pa_reload_webapp.py
- pa_start_django_webapp_with_virtualenv.py
and scheduled tasks:
- pa_create_scheduled_task.py
- pa_delete_scheduled_task.py
- pa_get_scheduled_tasks_list.py
- pa_get_scheduled_task_specs.py
- pa_update_scheduled_task.py
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
Metadata
Release files for pythonanywhere 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pythonanywhere-0.9.2.tar.gz | 18.8 kB | Without provenance | Details for pythonanywhere-0.9.2.tar.gz |
Release files / pythonanywhere-0.9.2.tar.gz
| Download URL | pythonanywhere-0.9.2.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e3af3cd976b88d403868e48000487c42846bbaa0c29ef255a7b64c7dba3dbe3
|
|
BLAKE2b-256 checksum How to use checksums |
0fd78a2060e9d83aef2ce297a05ea5e16be2c69957e655bef39511b497a492e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for pythonanywhere 0.9.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.