LifeOmic Python Logging Library.
Project description
LifeOmic Python Logging
Project Status
Getting Started
Dependencies
- Python 3 version >= 3.6
Getting the Source
This project is hosted on GitHub. You can clone this project directly using this command:
git clone git@github.com:lifeomic/logging-py.git
Development
Python environments are managed using
virtualenv. Be sure to have this
installed first pip install virtualenv
. The makefile will setup the
environment for the targets listed below.
Running tests
make test
Linting
make lint
Installation
pip3 install lifeomic_logging
Usage
from lifeomic_logging import scoped_logger
with scoped_logger(__name__, { "bar": "foo" }) as log:
log.info("message")
Release Process
Releases are generally created with each merged PR. Packages for each release are published to PyPi. See CHANGELOG.md for release notes.
To release a new version of the package, update the version number in
lifeomic_logging/version.py
as a part of your change, and the new version will
be released automatically to PyPi on merge.
Versioning
This project uses Semantic Versioning.
Contributing
We encourage public contributions! Please review CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct and development process.
License
This project is licensed under the MIT License - see LICENSE file for details.
Authors
See the list of contributors who participate in this project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lifeomic_logging-0.4.0.tar.gz
.
File metadata
- Download URL: lifeomic_logging-0.4.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2857fc95672a3d20b983730c02aae53b99044c021ede3ec15820bbc37a2c8ea5 |
|
MD5 | cc66d05ea3ce8f1fe6bb4c9487ba3b65 |
|
BLAKE2b-256 | 24ac91c3f1990120005a951d00648d75a5d49f2b08cf5fcb37be6aa55eb59c7f |
File details
Details for the file lifeomic_logging-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: lifeomic_logging-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd042b2f5196432a9616f1bcebec2f659f1ebc4293955f1ea47cb3e7d2faa547 |
|
MD5 | e6a8716ddd555347b1c89acfe0733f90 |
|
BLAKE2b-256 | f17170ca9478387c6f77ec21828de4f4c05d73c1786a4986cd066f95fda2b12d |