semvec/pypi-packages huggingface dataset:
postcard 0.3.2
A POP3/IMAP/SMTP client.
License: MIT
Requires Python: >=3.3.0
Keywords: mail,email,postal,postcard,mailbox,postbox

## Postcard

POP3/IMAP/SMTP client and more!

Thanks for use.


## How to use
### POP3
#### For decorator
```python
from postcard import Pop3

pop = Pop3()

@pop.process(user="xxx", pwd="xxx")
def get_content():
    content = pop.retrieve()["content"]
    print(content)
```


#### For usual
```python
from postcard import Pop3

pop = Pop3()

pop.login(user="xxx", pwd="xxx")
...
pop.close()
```


### SMTP
```python
from postcard import Smtp

smtp = Smtp()

@smtp.process(user="xxx", pwd="xxx")
def send():
    ret = smtp.send_mail(subject="xx", content="xx", receiver="xx")
    print(ret)
```


### IMAP
```python
from postcard import Imap

imap = Imap()

@imap.process(user="xxx", pwd="xxx")
def get_content():
    content = imap.retrieve()["content"]   # If you want to mark as read, please set readonly to False.
    print(content)
```
django-dj-plugin 0.10.0
Django plgooge practice modules.
License: MIT
Keywords: django-dj-plugin

=============================
django-dj-plugin
=============================

.. image:: https://badge.fury.io/py/django-dj-plugin.svg
    :target: https://badge.fury.io/py/django-dj-plugin

.. image:: https://travis-ci.org/daimon99/django-dj-plugin.svg?branch=master
    :target: https://travis-ci.org/daimon99/django-dj-plugin

.. image:: https://codecov.io/gh/daimon99/django-dj-plugin/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/daimon99/django-dj-plugin

Django plgooge practice modules.

Documentation
-------------

The full documentation is at https://django-dj-plugin.readthedocs.io.

Quickstart
----------

Install django-dj-plugin::

    pip install django-dj-plugin

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django_dj_plugin.apps.DjangoDjPluginConfig',
        ...
    )

Add django-dj-plugin's URL patterns:

.. code-block:: python

    from django_dj_plugin import urls as django_dj_plugin_urls


    urlpatterns = [
        ...
        url(r'^', include(django_dj_plugin_urls)),
        ...
    ]

If you want to sort menu or hidden menu, replace 'django.contrib.admin' with 'custadmin' in your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        # 'django.contrib.admin',
        'custadmin',
        ...
    )

Add attribute(menu_hidden/menu_index) to your modelAdmin:

.. code-block:: python

    from django.contrib import admin


    @admin.register(XXXModel)
    class XXXModelAdmin(admin.ModelAdmin):
        menu_hidden = True  # True：hidden the menu
        menu_index = 1 # type is int, The lower the value, the higher the rank

If you want add self-defined menu, Add it to your `INSTALLED_APPS` and execute: python manage.py migrate:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'custmenu',
        ...
    )

    execute: python manage.py migrate

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

0.1.0 (2020-01-22)
++++++++++++++++++

* First release on PyPI.