Skip to main content

ERUDITE

Tail files, and do things with them.

Installation

Run pip install erudite or if it’s your thing: easy_install erudite. You’ll need to also get argparse if you’re using a Python less than 2.7.

This might work on Python 3+, but I haven’t tested it.

Examples

Send first words of your zsh history to [StatHat](http://www.stathat.com) (currently the default):

erudite –parser=zsh_history –logger=StatHatLogger –stathat-key=test@example.com ~/.zsh_history

If you just want to play around, and see what you can do:

erudite –parser=zsh_history –logger=PrintingLogger ~/.zsh_history

Developing

Parsers (used to parse lines) are in erudite/parsers.py, and loggers (used to do things with parsed lines) are in erudite/loggers.py.

Contributing

It would be totally awesome to have many many more options in this script. I’m totally open to contributions. But there are a few things that will help me:

  • Your fork should have a topic branch with your feature, requesting to pull against develop

  • Please don’t add any requirements for loggers to setup.py - catch ImportError and exit gracefully. (see StatHatLogger for an example)

  • If you’re adding a parser, it would be awesome if you could attach some sample input.

  • Just for fun, you might want to run pylint against your changes.

  • If you’re changing default settings, it’s totally cool. Just ask me first.

  • You should add yourself to Authors in the README.

In particular, here are some things/ideas that would be great to have:

[1]: http://redis.io/ [2]: http://www.mongodb.org/

Authors

  • Brian Hicks

License

See LICENSE.md (hint: it’s Apache 2.0)

Metadata

Release files for Erudite 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for Erudite 1.1.1
File Size Uploaded Provenance Actions
Erudite-1.1.1.zip 7.2 kB Without provenance Details for Erudite-1.1.1.zip
Erudite-1.1.1.tar.gz 4.2 kB Without provenance Details for Erudite-1.1.1.tar.gz

Release files / Erudite-1.1.1.zip

Download URL Erudite-1.1.1.zip
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ef3babdfd824601b43cbcd2d7970a4c390a060cb43516013094c5d7ab599bc99
BLAKE2b-256 checksum
How to use checksums
dfe581e2b6be437fb0780635893fa790d93761d5db4b5348cb5debfc35a74c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Erudite-1.1.1.tar.gz

Download URL Erudite-1.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e9265ebfe9c15a9b72b2adabff3698b6e0e459edbfaa26581f4fdf16bdd95d88
BLAKE2b-256 checksum
How to use checksums
10db526d7cd8cd416ffc40ec05cfbb60779880b74510a7e87a517c39e3e52a17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Erudite 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page