semvec/pypi-packages huggingface dataset:
clingy 1.0.0
A tool to save attachments from plain text emails
License: MIT
Keywords: email attachment

Clingy lets you save attachments from plain text emails.

From the command line, you can use it like this:

```
clingy email1.txt email2.txt email3.txt
```

By default, the attachments will be saved into the current directory.
You can specify a different directory using `-d` or `--directory` like so,
and the directory will be created if it does not exist:

```
clingy email.txt -d out
```

You can save specific attachments using glob patterns (`-g` or `--glob`)
and regular expressions (`-r` or `--regex`):

```
clingy email.txt -g "*.txt"
clingy email.txt -r "^.+\.txt$"
```

When you `pip install clingy`, Python will create a platform-appropriate
executable in the Python Scripts directory. Assuming you have that directory
in your path, you can just run `clingy` from the console.

You can also use it as a library:

```python
import clingy

# List all attachments from an email file
clingy.find("email.txt")

# List all attachments from an email string
with open("email.txt") as file:
    clingy.find(file.read())

# Save all attachments by filename
clingy.save("email.txt")

# Save all attachments by string
with open("email.txt") as file:
    clingy.save(file.read())

# Save single attachment from email.message.Message object
attachments = clingy.find("email.txt")
clingy.save(attachments[0])

# Find all TXT files via glob pattern:
clingy.find("email.txt", glob="*.txt")

# Save all TXT files via regular expression:
clingy.save("email.txt", regex=r"^.+\.txt$")
```

The combo glob/regex matcher is also available for good measure:

```python
import clingy

clingy.match("foo.txt", glob="*.txt")
clingy.match("foo.txt", regex="\.txt$")
````
tendril-server-fs 0.2.9
XML-RPC Filesystem Server using Twisted and Pyfilesystems for Tendril
License: MIT
Keywords: tendril

=====================================
XML-RPC Filesystem Server for Tendril
=====================================

.. image:: https://img.shields.io/travis/chintal/tendril-server-fs.svg
        :target: https://travis-ci.org/chintal/tendril-server-fs

.. image:: https://img.shields.io/pypi/v/tendril-server-fs.svg
        :target: https://pypi.python.org/pypi/tendril-server-fs


XML-RPC Filesystem Server using Twisted and Pyfilesystems for Tendril

* License: MIT
* Documentation: http://tendril-server-fs.readthedocs.org

Features
--------

* TODO
datetime-diff 0.0.1
Extension to the datetime module
License: MIT

.. image:: https://travis-ci.org/AraHaan/datetime_diff.svg?branch=master
  :target: https://travis-ci.org/AraHaan/datetime_diff
.. image:: https://ci.appveyor.com/api/projects/status/vaxfcmgq0uusrkd4?svg=true
  :target: https://ci.appveyor.com/project/AraHaan/datetime-diff
.. image:: https://codecov.io/gh/AraHaan/datetime_diff/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/AraHaan/datetime_diff
.. image:: https://img.shields.io/pypi/v/datetime_diff.svg
   :target: https://pypi.python.org/pypi/datetime_diff/
.. image:: https://img.shields.io/pypi/dm/datetime_diff.svg
   :target: https://pypi.python.org/pypi/datetime_diff/
.. image:: https://img.shields.io/pypi/pyversions/datetime_diff.svg
   :target: https://pypi.python.org/pypi/datetime_diff/

The ``datetime_diff`` package provides a useful function for comparing
two different datetime objects and returns the time elapsed since.

for example, a datetime object when turned into a string (being
2015-12-03 03:34:57.281000) when compared with a new datetime object
(equivalent to the current time) one can determine how many years,
months, days, hours, minutes, and seconds ago the prior datetime object
was.

This returns the data as a string readable by humans denoting how much
time has passed since the specified prior datetime object.