Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
.. image:: https://secure.travis-ci.org/jkakar/logfmt-python.png?branch=master
Python package for parsing log lines in the logfmt
style. See the
original project by Blake Mizerany and Keith Rarick for information
about logfmt
conventions and use: https://github.com/kr/logfmt
Easily process lines from logfmt
formatted input: ::
from logfmt import parse
input = StringIO('\n'.join(['key1=value1', 'key2=value2']))
for values in parse(input):
print values
This program produces this output: ::
{'key1': 'value1'}
{'key2': 'value2'}
Easily generate lines in logfmt
formatted output ::
from logfmt import format
for line in format({'key1': 'value1'}, {'key2': 'value2'}):
print line
This program produces this output: ::
key1="value1"
key2="value2"
To install it, simply: ::
pip install logfmt
FAQs
Parse and generate log lines in the logfmt style.
We found that logfmt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.