Metadata-Version: 2.1
Name: access-logs-local
Version: 0.0.4
Summary: Functions required by the access-logs-local-driver
Author-email: Cristian Garcia <cristian.garcia@ubiquitypress.com>
Project-URL: Homepage, https://github.com/hirmeos/access_logs_driver
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: hirmeos-clients (>=0.1.6)

# Access Logs Driver

Load the content of gzipped Apache HTTP log files
Exclude bots, scrapers, etc., select URLs matching the provided regex(es), and generate a CSV of the relevant log entries.

Take postprocessed logs and strip out multiple hits in sessions, and
resolve URLs to the chosen `URI_SCHEME` (e.g. info:doi).

We strip out entries where the same (IP address * user agent) pair has accessed
a URL within the last `SESSION_TIMEOUT` (e.g. half-hour)

Additionally, we convert the URLs to ISBNs and collate request data by date,
outputting a CSV for ingest via the stats system.

Release Notes:
[0.0.4] - 2023-07-31

Changed:
    * Update file structure and name of the driver

Release Notes:
[0.0.3] - 2023-07-25

Changed:
    * Update requirements
    * Update using a pyproject.toml file as well as the new deployment structure


[0.0.2] - 2023-07-11

Added:
    * Unittests

Changed:
    * Moved the files out of the package and get the file's data as parameters and return the filtered data.
    * renamed the plugin to access-logs-local
