Ghee echoes to Google Hangouts Chat easly
How to install
Simply:
pip install ghee
How to use
You should now have a command line application:
ghee https://chat.googleapis.com/v1/... The message you want to send!
It's extremely dumb. First argument is the Google Chat room webhook URL. Everything that follows is the message (*bold* and _italics_ work).
For the information about the api go to: https://developers.google.com/hangouts/chat/how-tos/webhooks
Create PyPI package
Important: following assumes that you are using virtualenv.
Install build tools:
$ pip install --upgrade pip setuptools wheel
Build package:
$ python setup.py sdist bdist_wheel
# [output edited out]
$ ls -l dist
total 8
-rw-rw-r-- 1 michal_chalupczak michal_chalupczak 3032 paź 7 16:22 ghee-0.0.1-py3-none-any.whl
-rw-rw-r-- 1 michal_chalupczak michal_chalupczak 1602 paź 7 16:22 ghee-0.0.1.tar.gz
Upload the package to the PyPI!
Important: following assumes that you are using virtualenv.
Install upload tools:
$ pip install --upgrade twine
First register at the test repo: https://test.pypi.org/account/register/ and upload:
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
And check if that worked:
$ pip install --index-url https://test.pypi.org/simple/ --no-deps ghee
If that worked repeat with the real https://pypi.org/.
Metadata
Release files for ghee 0.0.3
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 | |
|---|---|---|---|---|
| ghee-0.0.3.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ghee-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / ghee-0.0.3.tar.gz
| Download URL | ghee-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
471a5387711fc2300da07aaa1948945daac1f395f1b55616bef805e79c6f2aa8
|
|
BLAKE2b-256 checksum How to use checksums |
f8e1dcbe211e5e03d8fb663444e983e040a4beb499bb05049e70a585512d993d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5rc1+
|
Release files / ghee-0.0.3-py3-none-any.whl
| Download URL | ghee-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb109c4d9bfa1dbea1d24ee3fe8e5d3922684e0343a553328b8166d4181747f7
|
|
BLAKE2b-256 checksum How to use checksums |
deffda80285f67b72bf88e1741e65e4067d9ae7b5e8cf93e64cae913965f5dea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5rc1+
|
Security for ghee 0.0.3
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.