Skip to main content

LifeOmic Python Logging Library.

Project description

LifeOmic Python Logging

Project Status

GitHub PyPI status Downloads GitHub release

Getting Started

Dependencies

  • Python 3 version >= 3.6 and <= 3.9.25 (contributions welcome to bring this up to 3.13+)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lifeomic_logging-0.4.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lifeomic_logging-0.4.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file lifeomic_logging-0.4.1.tar.gz.

File metadata

  • Download URL: lifeomic_logging-0.4.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for lifeomic_logging-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4e65ae5975127baf4bf0735feedce05f4dc8385f7cc902b7967ba67509e5ba83
MD5 9a6d72eae055f63d597b5c50ac8227af
BLAKE2b-256 9442d2dd1b627cd7604628b9769a2eede20ec6be7baf3c4645cdcdd74deffdf1

See more details on using hashes here.

File details

Details for the file lifeomic_logging-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lifeomic_logging-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d037fa1b5b3f7e1ebf909da1850506b11e0d3b06f1043ad548f4de8f81635e01
MD5 83229ecf2b5ddb47f3f09a07afcc68df
BLAKE2b-256 867ba767f9cf3172633984956529882cc0eef033eda55232131ea984d4e663f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page