semvec/pypi-packages huggingface dataset:
drymail 0.0.6
Drymail is a minimalist wrapper over Python’s existing smtplib and email libraries, designed to be friendly but unrestrictive.
License: MIT
Keywords: smtp email

# drymail
Makes sending emails easy and [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) — For Python 3.  

[![PyPI version](https://badge.fury.io/py/drymail.svg)](https://badge.fury.io/py/drymail)

__Drymail__ is a minimalist wrapper over Python’s existing [smtplib](https://docs.python.org/3/library/smtplib.html) and [email](https://docs.python.org/3/library/email.html) libraries, designed to be friendly but unrestrictive. Here’s how you might send a simple email with an attachment using _drymail_.

```python
from drymail import SMTPMailer, Message

client = SMTPMailer(host='smtp.email.com', user='johndoe', password='password', tls=True)
message = Message(subject='Congrats on the new job!', sender=('John Doe', 'john@email.com'), 
                  receivers=[('Jane Doe', 'jane@message.com'), 'jane.doe@mail.io'], text='When is the party? ;)')
with open('congrats.pdf', 'rb') as pdf_file:
    message.attach(filename='congrats.pdf', data=pdf_file.read(), mimetype='application/pdf')

client.send(message)
```

## Features

- Supports creating email with HTML content, plaintext content, or both!
- Supports mentioning contacts in the `“John Doe" <john@email.com>` format.
- Support standard headers like `CC`, `BCC`, `Reply-To` and `Authors`.
- Supports injecting custom headers.
- Supports adding attachments.
- And most importantly — the library being minimalist, it doesn’t restrict you in any way like some of the most fancier email frameworks do.

## Installation

Install `drymail` by running —

```console
$ pip3 install drymail
```

## Documentation

Documentation is available at https://drymail.readthedocs.io/

## Agenda

- Test suite.
- Restructure the `Message` class to handle dynamic `prepare`.

## Contribute

All kinds of contribution are welcome.

- Issue Tracker — https://github.com/drymail/issues
- Source Code — https://github.com/drymail

## License

This project is licensed under the MIT license.
syndicate 3.0.0
A wrapper for REST APIs
License: MIT

syndicate
===========
_*A wrapper for REST APIs*_

[![Maturity](https://img.shields.io/pypi/status/syndicate.svg)](https://pypi.python.org/pypi/syndicate)
[![License](https://img.shields.io/pypi/l/syndicate.svg)](https://pypi.python.org/pypi/syndicate)
[![Change Log](https://img.shields.io/badge/change-log-blue.svg)](https://github.com/mayfield/syndicate/blob/master/CHANGELOG.md)
[![Build Status](https://semaphoreci.com/api/v1/projects/50fbd264-8014-4fbd-9295-c99c65c8b05a/533670/shields_badge.svg)](https://semaphoreci.com/mayfield/syndicate)
[![Version](https://img.shields.io/pypi/v/syndicate.svg)](https://pypi.python.org/pypi/syndicate)


About
--------

Syndicate is a library for using HTTP based REST APIs.  This provides a means
to generically handle serialization (JSON, XML) and URI mapping as seen in many
of the REST APIs published these days.  Currently Tastypie APIs are the primary
target but the system should be compossible enough to work with other APIs if they
work roughly the same way.


Requirements
--------

* Requests (sync mode)
* aiohttp (async mode)


Installation
--------

    python ./setup.py build
    python ./setup.py install


Compatibility
--------

* Python 3.4+


TODO
--------

* Unified authentication between HTTP adapters.
* Documentation


Getting Started
--------

Syndicate has two basic modes for communicating with an API, sync and async.
The sync mode uses the 'requests' library as the HTTP adapter and the async
mode uses `aiohttp`.  An adapter can be provided by the user if they have
their own backend.

In either mode, your interface is a 'Service' instance, which facilitates
authentication, session management (via an adapter) and serialization.


Synchronous Examples
--------

**Creating a connnection**

Instantiate a service class with some basic descriptions of the remote API
to get a persistent connection.

```python
import syndicate

bakery = syndicate.Service(uri='https://a.bakery.fake', urn='/api/v1/',
                           auth=('mrpresident', '1000xlight_points'))
```


**Simple GET**

Fetch all the resources at https://a.bakery.fake/api/v1/cake/

```python
for x in bakery.get('cake'):
    print("Cake is food:", x)
```


**Adding a new resource**

```python
new_owl = bakery.post('cake', {
    "type": "chuck_norris",
    "name": "Round House",
    "scovilles": 16000000001  # sorry resiniferatoxin
})
```

**Non CRUD methods**

If your service has non CRUD methods, you can ask a service to "do" things
directly. Let's "BAKE /api/v1/cake/100" with some instructions in the content
body.

```python
bakery.do('bake', 'cake', 100, temp=420, time=3600)
```
ecmcli 10
Command Line Interface for Cradlepoint ECM (e.g. NCM)
License: MIT

ecmcli
===========

_*CLI for Cradlepoint ECM*_

[![Maturity](https://img.shields.io/pypi/status/ecmcli.svg)](https://pypi.python.org/pypi/ecmcli)
[![License](https://img.shields.io/pypi/l/ecmcli.svg)](https://pypi.python.org/pypi/ecmcli)
[![Change Log](https://img.shields.io/badge/change-log-blue.svg)](https://github.com/mayfield/ecmcli/blob/master/CHANGELOG.md)
[![Build Status](https://semaphoreci.com/api/v1/mayfield/ecmcli/branches/master/shields_badge.svg)](https://semaphoreci.com/mayfield/ecmcli)
[![Version](https://img.shields.io/pypi/v/ecmcli.svg)](https://pypi.python.org/pypi/ecmcli)
[![Chat](https://img.shields.io/badge/gitter-chat-FF3399.svg)](https://gitter.im/mayfield/ecmcli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

About
--------

Installation provides a command line utility (ecm) which can be used to
interact with Cradlepoint's ECM service.  Commands are subtasks of the
ECM utility.  The full list of subtasks are visible by running 'ecm --help'.


Walkthrough Video
--------
[![Walkthrough Video](http://share.gifyoutube.com/y7nLaZ.gif)](http://www.youtube.com/watch?v=fv4dWL03zPk)


Installation
--------

    python3 ./setup.py build
    python3 ./setup.py install


Compatibility
--------

* Python 3.5+


Example Usage
--------

**Viewing Device Logs**

```shell
$ ecm logs
```


**Monitoring WAN Rates**

```shell
$ ecm wanrate
 Home 2100(24400): [device is offline],          Home Router(138927): 68.1 KiB,                Home 1400(669): 0 Bytes
 Home 2100(24400): [device is offline],          Home Router(138927): 43.6 KiB,                Home 1400(669): 0 Bytes
 Home 2100(24400): [device is offline],          Home Router(138927): 40.6 KiB,                Home 1400(669): 0 Bytes
 Home 2100(24400): [device is offline],          Home Router(138927): 49.7 KiB,                Home 1400(669): 0 Bytes
```


**Rebooting a specific router**

```shell
$ ecm reboot --routers 669
Rebooting:
    Home 1400 (669)
```
githubcutter 0.3.1.dev0
A tool to setup GitHub repositories using simple YAML templates
License: MIT
Keywords: version-control git automation

# githubcutter

Current version: 0.3.1-dev

A tool to setup GitHub repositories using simple YAML templates.

The tool was inspired by [cookiecutter](https://cookiecutter.readthedocs.io/en/latest/), which is heavily used in the lab,
as we needed a tool to automate repositories creation on GitHub.

## Installation

    pip install githubcutter

## Documentation

The official documentation for githubcutter can be found on [readthedocs](https://githubcutter.readthedocs.io/).

## Bugs

Post an issue to report a bug or request new features.

## Developers
- Giovanni Stracquadanio, giovanni.stracquadanio@ed.ac.uk
SynologyAPI 0.0.4
A simple wrapper for some of the functions that the Synology API supports.
License: MIT

# SynologyAPI
A simple wrapper for some of the functions that the Synology API supports.

### Author

**Daniel Gisolfi** - *All current work* - [dgisolfi](https://github.com/dgisolfi)

## Setup

To run the Compyler it must be installed. It can be installed either from pypi or from the source code of the directory.

### From Source

Either in a Python Virtual Environment or just on your machine in the root of the directory run `make install` this will install the SynologyAPI from the source code in the repo using the setup.py file. If you would like to uninstall simply run `make uninstall`

## Usage

There are hundrends of API endpoints for the actual Synology web API, for my purposes I only need the ability to upload. However this API wrapper can be expanded in the future to support futher features. The Offical [Synology API Documentation](https://global.download.synology.com/download/Document/DeveloperGuide/Synology_Download_Station_Web_API.pdf) is underwhelming and is very difficult to implement, this is why this wrapper is needed.

Once installed use the following syntax to upload a file

`SynologyAPI <username> <password> <ip or domain of share drive> <file_source_path> <file_target_path>`