Watchtower
Follow these instructions to deploy Watchtower in your production pipeline.
Requirements
- Python 3.9+
- A working installation of Kitsu (optional)
In order to generate data for Watchtower, follow these steps:
- Create a new folder, step into it and run:
python -m venv .venvsource .venv/bin/activatepip install watchtower-pipeline
Setup with example data
To create an example project that will give you an idea of how the pipeline works:
- Run
python -m watchtower_pipeline.example -b - Navigate to the
watchtowerfolder and runpython -m http.server
Setup with Kitsu-sourced data
If you have a working Kitsu (and Zou) install and want to extract and visualize data from it:
- Create a
.env.localfile as follows:
KITSU_DATA_SOURCE_URL=https://<your-kitsu-instance>/api
KITSU_DATA_SOURCE_USER_EMAIL=user@example.org
KITSU_DATA_SOURCE_USER_PASSWORD=password
- Run
python -m watchtower_pipeline.kitsu -b - Copy the content of the
watchtowerfolder into your webserver - Running the command without the
-bflag will only fetch the data, and place it in a directory calledpublic/data, which can then be synced to where thewatchtowerfolder has been placed
Setup with custom-sourced data
If you use a different production/asset tracking service, some scripting will be required. The following steps are recommended:
- Set up a new Python project (using virtualenv)
- Run
pip install watchtower-pipeline - Check
docs/custom-sources.mdfor how to use thewatchtower_pipelinemodule
Metadata
Release files for watchtower-pipeline 0.1.7
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 | |
|---|---|---|---|---|
| watchtower-pipeline-0.1.7.tar.gz | 260.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| watchtower_pipeline-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 524.7 kB
Release files / watchtower-pipeline-0.1.7.tar.gz
| Download URL | watchtower-pipeline-0.1.7.tar.gz |
|---|---|
| Size | 260.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e540839be270902a82ce85ef64e480fdfa25ea1d60186ddac3e8063e439e6fec
|
|
BLAKE2b-256 checksum How to use checksums |
9ff3c54b8c14b87ca18b6f57f79f039e185066159bb9e0d2626046ef6ad46ace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Darwin/22.4.0
|
Release files / watchtower_pipeline-0.1.7-py3-none-any.whl
| Download URL | watchtower_pipeline-0.1.7-py3-none-any.whl |
|---|---|
| Size | 263.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07151eb6c86cbd60d82d10a3916588739b33aede87e29f35c7c01e8e931139b0
|
|
BLAKE2b-256 checksum How to use checksums |
dc01538874421adcf7574f75665494c2075471056f50ace9d25296f8206121df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.9.9 Darwin/22.4.0
|
Security for watchtower-pipeline 0.1.7
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.