Skip to main content

Extract individual fields from lines in Apache logs.

Project description

About

https://img.shields.io/pypi/v/parser201.svg https://img.shields.io/github/v/tag/geozeke/parser201.svg https://img.shields.io/travis/geozeke/parser201.svg Documentation Status https://img.shields.io/pypi/status/parser201.svg https://img.shields.io/pypi/pyversions/parser201.svg https://img.shields.io/github/last-commit/geozeke/parser201.svg https://img.shields.io/github/license/geozeke/parser201.svg

Free software: MIT license

Features

The centerpiece of the parser201 module is the LogParser class. The class initializer takes a line from an Apache log file and extracts the individual fields into properties within an object.

  • Parses entries (lines) from Apache log files into objects with a separate property for each field in the log entry.

  • Prints log objects as strings in a presentation format.

Documentation

https://parser201.readthedocs.io

Development Lead

Peter Nardi <pete@nardi.com>

Source Code

Available on github: parser201.

Package Framework

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.9 (2021-09-15)

  • Code cleanup for pep8 compliance.

  • Cleaned up Makefiles and scripts to remove references to python (meaning python2) and replace it with python3.

0.1.8 (2021-09-15)

  • Internal build.

0.1.7 (2021-06-05)

  • Re-tooled testing scripts to use parameterized test data, and conduct more robust testing.

0.1.6 (2020-12-19)

  • Addressed exception handling for initializer input not being a valid string data type.

  • Documentation cleanup.

0.1.5 (2020-10-26)

  • Enabled automatic deployment of tagged releases to pypi from travis using encrypted token.

  • Converted references to the master branch in the git repository to main across the documentation set.

  • Documentation cleanup.

0.1.4 (2020-10-24)

  • Initial pypi release.

  • Fixed test file filtering issue in .gitignore.

  • Dependency fix for travis tests.

0.1.1 (2020-10-22)

  • Follow-on testing on test.pypi.org.

0.1.0 (2020-10-18)

  • Initial testing on test.pypi.org.

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

parser201-0.1.9.tar.gz (43.9 kB view hashes)

Uploaded Source

Built Distribution

parser201-0.1.9-py2.py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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