django-guid
Loguru
django-guid | Loguru | |
---|---|---|
6 | 31 | |
406 | 18,124 | |
0.5% | - | |
5.8 | 8.6 | |
9 days ago | 3 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-guid
- GitHub - snok/django-guid: Inject an ID into every log message from a Django request. ASGI compatible, integrates with Sentry, and works with Celery
- Inject a correlation-ID into every log message from a request. Tracing and trouble shooting made easy!
-
Ask HN: How do you manage to do FOSS personal projects?
By doing it with friends. We’ve written a bunch of Python packages, such as Django-GUID[1], ASGI-Correlation-ID[2], install-poetry GitHub action[3] etc... We’re a organization on GitHub with friends who do this together. Helps when multiple can answer GitHub issues etc.
I do write some open source for work, but that too is mostly done at my spare time.
No income, but I sponsor others. FOSS is mostly to learn and do something a bit different.
[1] https://github.com/snok/django-guid
[2] https://github.com/snok/django-guid
[3] https://github.com/snok/install-poetry
- Logging in Python Like a Pro
- Ask HN: Good Python projects to read for modern Python?
- Tips for Making a Popular Open-Source Project in 2021 [Ultimate Guide]
Loguru
-
Loguru VS polog - a user suggested alternative
2 projects | 9 Dec 2023
- a few comments and questions about loguru - the most popular 3rd party logging module for Python
- What libraries do you use the most alongside django?
-
Linus is being reasonable and wise and well-mannered once again. Wouldn't mind reading a few juicy expletives, to be honest.
Because you get to see the simultaneous mix of arguments about objective verifiable facts and arguments about yelling at each other. Plus I don't understand how to cook but I do understand Delgan/loguru#563.
-
library to log methods and function calls.
How can we integrate with current logging libraries such as logging, logges, loguru? And how would you compare your library with ic
- Is adding logging to a library good design?
-
Where can I apply logging specifically with loguru?
I found loguru online and was thinking if it's relevant for my code. As far as I understand it would be preferable as opposed to me printing my exceptions with print.
-
Logging in Python Like a Pro
You should try the loguru library. I was able to roll a rolling-upload-to-s3 adapter in under an hour. Switching to json logs is one bool flag away. Plus it's gorgeous
https://github.com/Delgan/loguru
Also iirc s3's "file-like interface" does not actually obey the file protocol, which is obnoxious.
-
NameError: name 'logger' is not defined
If you have a choice, save yourself some heartache and install loguru
-
The Boilerplate for Logging in Python
This? First time to hear about it. Thanks!
What are some alternatives?
asgi-correlation-id - Request ID propagation for ASGI apps
structlog - Simple, powerful, and fast logging for Python.
pydantic - Data validation using Python type hints
Sentry - Developer-first error tracking and performance monitoring
pyWhat - 🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! 🧙♀️
logzero - Robust and effective logging for Python 2 and 3.
python-logfmter - Using the stdlib logging module and without changing a single logging call, logfmter supports global (first and third party) logfmt structured logging.
logbook - A cool logging replacement for Python.
RVS_Spinner - A Fancy "Popup Prize-Wheel Spinner" UIControl
Eliot - Eliot: the logging system that tells you *why* it happened
spleeter - Deezer source separation library including pretrained models.
icecream - 🍦 Never use print() to debug again.