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.7 (2021-06-05)

  • Re-tooled testing scripts to use parametrized 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.7.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

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

parser201-0.1.7-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file parser201-0.1.7.tar.gz.

File metadata

  • Download URL: parser201-0.1.7.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7

File hashes

Hashes for parser201-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9aff6352ce512bbbe077225b05a22a03c445932632bc10789e6b5a8563f1271d
MD5 c34e8b9beb3342fb748e1e107810bcef
BLAKE2b-256 9162f36a09b1a14ea0043c715f35acf64ce3b0985848bc342d104f3adf848e39

See more details on using hashes here.

File details

Details for the file parser201-0.1.7-py2.py3-none-any.whl.

File metadata

  • Download URL: parser201-0.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7

File hashes

Hashes for parser201-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b2b84f58b61dbd1dec04dc988d96bbaad9db4f281d924423db082c541c902285
MD5 a6466fa24c9fc9c36b047a7fda891140
BLAKE2b-256 21b8a93fd85f653649fc0441158bbde09875845c7fbca5457175f9d331cb7253

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