Skip to main content

COOPER to Webhook

Travis Release License PyPI

Installing

You can install cp2webhook directly from PyPI:

sudo pip3 install -U cp2webhook

or from source:

git clone https://github.com/hardwario/cp2webhook.git
cd cp2webhook
sudo pip3 install -r requirements.txt
sudo pip3 install -e .

Note: Parameter -e instructs to install files as symlinks, so changes to the source files will be immediately available to other users of the package on the host.

Usage

Update config.yml and run

cp2webhook -c config.yml

Systemd

Insert this snippet to the file /etc/systemd/system/cp2webhook.service:

[Unit]
Description=COOPER cp2webhook
After=network.target

[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/cp2webhook -c /etc/cooper/cp2webhook.yml
Restart=always
RestartSec=5
StartLimitIntervalSec=0

[Install]
WantedBy=multi-user.target

Start the service:

sudo systemctl start cp2webhook.service

Enable the service start on boot:

sudo systemctl enable cp2webhook.service

View the service log:

journalctl -u cp2webhook.service -f

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for cp2webhook 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cp2webhook 1.1.0
File Size Uploaded Provenance Actions
cp2webhook-1.1.0.tar.gz 5.2 kB Without provenance Details for cp2webhook-1.1.0.tar.gz

Release files / cp2webhook-1.1.0.tar.gz

Download URL cp2webhook-1.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
669e262b45ce62240a4f828807f0ff5e7dc615d490c647257576d4041fafb237
BLAKE2b-256 checksum
How to use checksums
8604f5c3acd3f63ebb7b475ae256f1ff1d2ea7a14f516e76fb6d23dd96752462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.4.6

Security for cp2webhook 1.1.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page