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.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.6.tar.gz (59.2 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.6-py2.py3-none-any.whl (7.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: parser201-0.1.6.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for parser201-0.1.6.tar.gz
Algorithm Hash digest
SHA256 388b4a3badafd556c6bd911c3f38b0fc51edafff8a03e2d57cc42560b21a9c81
MD5 8db92994ad08e8ee77f2ba25aff159c6
BLAKE2b-256 5dc246db9c0f245937fc4525a5194628ba4980302bc215dac2dd721ac83c3306

See more details on using hashes here.

File details

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

File metadata

  • Download URL: parser201-0.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

File hashes

Hashes for parser201-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8fcf589e4892b9ff82f38d920eff8f600ca8ff2fda70a22863d4696fb7ad6307
MD5 2dcd8ad892f01e7ac995686dd3283eff
BLAKE2b-256 e39420757b44db3c41029db9bf086a8ad2b27dbf0ce04f1e0c75be99f6974770

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