python aws custom log
A Python package to log message into aws cloud.
Introduction
A Python package to log message into aws cloud.
Installation
pip3 install pyawslog
Usage
from pyawslog import log
logger = log(region_name='region name',
aws_access_key_id='access key',
aws_secret_access_key='secret key',
endpoint_url='https://logs.<region_str>.amazonaws.com')
LOG_GROUP='custom group name'
LOG_STREAM='custom stream name'
logger.create_log_group(LOG_GROUP)
logger.create_log_stream(LOG_GROUP, 'aws')
logger.log_message(LOG_GROUP, LOG_STREAM, 'Hello world, log message!')
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
History
TODO: Write history
Credits
TODO: Write credits
License
TODO: Write license ]]> readme
Contact
Please submit an issue if you encounter a bug and please email any questions or requests to catchmaurya@gmail.com
Metadata
Release files for pyawslog 0.1.5
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 |
|---|---|---|---|---|
| pyawslog-0.1.5.tar.gz | 2.3 kB | Without provenance | Details for pyawslog-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyawslog-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for pyawslog-0.1.5-py3-none-any.whl |
Total release size: 5.9 kB
Release files / pyawslog-0.1.5.tar.gz
| Download URL | pyawslog-0.1.5.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e62fa4eec11d0edee9ffcfec75cb934d9c721408b029d944abd40a82871029a0
|
|
BLAKE2b-256 checksum How to use checksums |
bde2abc8cdeade33b0364fb15d148ab44079ec0cd18adf035c870253c02fc893
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / pyawslog-0.1.5-py3-none-any.whl
| Download URL | pyawslog-0.1.5-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa168b2e1c83196a74488cbe16777c1316b4a3915c8dd0e6cba80ca354f6e79d
|
|
BLAKE2b-256 checksum How to use checksums |
49251b5265e0d0a3bc7899c185424dd68f7bee23f1d448f45397aead24930ea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for pyawslog 0.1.5
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.