semvec/pypi-packages huggingface dataset:
wsgi-django-media 1.0.0
WSGI middleware to serve media for faster Django development
License: MIT

=================
WSGI Django Media
=================

Really simple wsgi middleware to serve media files before hitting the Django
app. Only enabled when Django DEBUG is True. This can really speed up your
local development process when a page loads a lot of media files.


Status
------

.. image:: https://readthedocs.org/projects/wsgi-django-media/badge/?version=latest
    :target: https://readthedocs.org/projects/wsgi-django-media/

.. image:: https://travis-ci.org/mvantellingen/wsgi-django-media.svg?branch=master
    :target: https://travis-ci.org/mvantellingen/wsgi-django-media

.. image:: http://codecov.io/github/mvantellingen/wsgi-django-media/coverage.svg?branch=master
    :target: http://codecov.io/github/mvantellingen/wsgi-django-media?branch=master

.. image:: https://img.shields.io/pypi/v/wsgi-django-media.svg
    :target: https://pypi.python.org/pypi/wsgi-django-media/


Getting started
===============

Using this module is really simple.  In Django for example edit the wsgi.py
file and add the following to the end of the file.

.. code-block:: python

  from wsgi_django_media import DjangoMedia
  application = DjangoMedia(application)


Installation
============

You can install the latest version using pip::

    pip install wsgi-django-media
ventraip-vip-client 0.4.0
Client to connect to and manage DNS entries registered with VentraIP
License: MIT

# VentraIP VIP Client

A Python 3.6 compatible library to manage DNS entries registered with VentraIP.

## Installation
### Production

```bash
pip install ventraip-vip-client
```

### Development

```bash
git clone git@github.com:cmbrad/ventraip-vip-client.git
pip install -e .
```

## Usage

### CLI

```bash
# View help for the CLI
ventraip --help

# List all domains
ventraip -u myusername -p mypassword list

# Add a domain
ventraip -u myusername -p mypassword add myhost example.com 127.0.0.1 3600 A

# Delete a domain
ventraip -u myusername -p mypassword rm myhost example.com A
```

### Library
```python
from ventraip import VipClient
vip_client = VipClient()
vip_client.login(email='your email/username', password='your password')

# Fetch all domains associated with the account
domains = vip_client.domains()
for domain in domains:
  # Fetch all records associated with the domain
  dns_records = vip_client.dns_records(domain.internal_id)

  # For each record, delete it (DANGEROUS!!!)
  for dns_record in dns_records:
      vip_client.remove_dns_record(domain_id=domain.internal_id, dns_record_id=dns_record.internal_id)
```

## Deploying

```bash
rm -Recurse -Force dist
python setup.py sdist bdist_wheel
twine upload dist/*
```

## Disclaimer

I have no relation to the VentraIP company and any use of this software is not endorsed by them in any way.