EventIT Library for Python
This repo is intended to be the core event tracking framework that will be built-upon in other applications
Note: As of now, this is just a personal project. Any advise or contributions towards the direction of this project would be greatly appreciated. Feel free to make a Github Issue/discussion about future work.
Overview
In this context, an event is a "log", as a dictionary with pre-defined fields. These fields are defined in Pydantic models, which validate the event during the logging process.
Features
- Pydantic validation
- Custom user-defined metrics
- Support for various backend data-storage services (MongoDB as primary data backend)
- Support for different "types" of events, such as rate-based, authentication-based, etc. (TODO)
- Integration with cross-platform frameworks, such as OpenTelemetry, Flask, FastAPI, etc. (TODO)
Developer details
I have setup pre-commit in this repository to execute pytest, ruff linting, and ruff formatting before commits. Poetry is used for dependency management. To setup this environment for development, first ensure Poetry is installed.
To install all dependencies for eventit-py, run the following commands from the base directory of this project.
poetry config virtualenvs.in-project true
poetry install --with=dev
Next, install pre-commit on your machine, and install it into this project
pip install pre-commit
pre-commit install
For sanity, it is beneficial to run pre-commit on all files to ensure consistency
pre-commit run --all-files
From this point on, pre-commit will be run on every commit
Metadata
Release files for eventit-py 0.1.1
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 | |
|---|---|---|---|---|
| eventit_py-0.1.1.tar.gz | 24.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eventit_py-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.5 kB
Release files / eventit_py-0.1.1.tar.gz
| Download URL | eventit_py-0.1.1.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f30c5cddb134d9fcb01496ca99aad1b0489a8f4737b60258fefccab1ad57e8b
|
|
BLAKE2b-256 checksum How to use checksums |
6ee5c57601479ee6c7465b24c07a57537553ea57b6ea031a7bc69471875c5f7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure
|
Release files / eventit_py-0.1.1-py3-none-any.whl
| Download URL | eventit_py-0.1.1-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e7356e03ae6d35462913743b74d70318327ae9ab35b000aad059bf9b7fa803e
|
|
BLAKE2b-256 checksum How to use checksums |
8e3a9d4d9fb4bc0677a5492b1a39e886883092e94f3cd0457ef854f9db27b717
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1016-azure
|
Security for eventit-py 0.1.1
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.