Skip to main content

An absctract representation of ARF messages.

Project description

arf-mime provides simple abstract classes for representing and inspecting Abuse Reporting Format (ARF) messages as defined in http://www.faqs.org/rfcs/rfc5965.html

Overview

There are two main classes included in this module; ARFMessage and FeedbackReport.

ARFMessage

Objects derived from ARFMessage represent a full feedback report as defined in Section 2 of RFC 5965. Convenience methods are provided for accessing the various sub-parts of the full message.

FeedbackReport

Objects derived from FeedbackReport represent the message/feedback-report part of the full message as defined in Section 3 of RFC 5965. Convenience methods are provided to access the required and optional fields.

Installation

arf-mime is provided through PyPi and can be install with pip. Run

$ pip install arf-mime

Usage

import arf
arf.ARFMessage(string representing the message)

or

import arf
arf.load_arf("/path/to/arf.file")

Contributing and Reporting Issues

Bug reports, feature requests, and contributions are all welcome. Please open issues ans PRs as needed.

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

arf-mime-1.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

arf_mime-1.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file arf-mime-1.1.0.tar.gz.

File metadata

  • Download URL: arf-mime-1.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for arf-mime-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4566598ba129e5b228f90b43e59ac70e0f5f3388df59cf30024878a7c19dd781
MD5 c7e6e52a942dac8507e714b9a8cfa406
BLAKE2b-256 d2816bcbfb89d9bbc15e7495c26b2ce4b61813a3753e6cf531446d8a658fe91c

See more details on using hashes here.

File details

Details for the file arf_mime-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: arf_mime-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for arf_mime-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5829bf5f335ca10b51e2efa0acace229447b5cab5269a2178fd0206794218e37
MD5 4c2d1d1c11f64b83396b156fce9d5be6
BLAKE2b-256 83ff635ab603ab9b59fb8b5d4d36ba4e8e37ab0f4a8a99916f1c4a9ddec02f1d

See more details on using hashes here.

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