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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: parser201-0.1.9.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.7

File hashes

Hashes for parser201-0.1.9.tar.gz
Algorithm Hash digest
SHA256 29d1d86ee7fa99af31c026058ed5da715bb66f5bfb1216544ec42959c0b215de
MD5 466397ae8a2b31e501c13d63ba6e1412
BLAKE2b-256 a325b9f913d50332361f6682c374693ef7a1ef873560ac062ee365bba2d86fee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: parser201-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.7

File hashes

Hashes for parser201-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c35b25535873fae71bef3f00d21a96c951417129e64211df3261b28a560e5fc7
MD5 ffd069a8003843f6a232f33dea1307c0
BLAKE2b-256 792f3c2027dafbb66aa6bd91d12518d6f6c4d33b85a21a9fbce28c6c440ddc9c

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