Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honza/email-parsing
Email parsing in Clojure
https://github.com/honza/email-parsing
Last synced: about 5 hours ago
JSON representation
Email parsing in Clojure
- Host: GitHub
- URL: https://github.com/honza/email-parsing
- Owner: honza
- License: bsd-2-clause
- Created: 2012-07-17T00:24:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-17T00:27:34.000Z (over 12 years ago)
- Last Synced: 2024-07-10T08:32:32.692Z (4 months ago)
- Language: Clojure
- Size: 90.8 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Email-message parsing in Clojure
================================This small library can transform an email message into a Clojure data
structure. It uses the `javax.mail` library to perform the parsing.Installation
============This library hasn't been published to Clojars yet. Stay tuned. In the
meantime, you can clone the git repository and play with it.Usage
=====This library exposes three functions: `parse-from-string`, `parse-from-file`
and `parse-from-directory`. While the first two are obvious, the last one is
just a simple convenience function to run `parse-from-file` over each file in a
directory.``` clojure
(parse-from-filename "/some/path/message")
(parse-from-string (slurp "message"))
```Warning
=======This library is in its very early stages. Also, I'm not exactly an experienced
Clojure developer. Please be careful.License
=======BSD, short and sweet