semvec/pypi-packages huggingface dataset:
django-dde 0.1.6
Asynchronous and Distributed Data Exporter from a Django QuerySet

# Django Distributed Exporter (DDE)
> Asynchronous and Distributed Data Exporter from a Django QuerySet

DDE main goal is to get data from a QuerySet and export to an output format (currently CSV 
only) using Celery for task distribution.

## Installation

```sh
pip install django-dde
```

## Requirements

DDE uses **Celery** to manage its tasks. Currently our broker defaults to **Redis** so be
sure to install the dependencies need, 
[for more information click here.](http://docs.celeryproject.org/en/latest/getting-started/brokers/redis.html)

File management is dealt using Django's Default Storage. [For more information on how to use it
please click here.](https://docs.djangoproject.com/en/2.0/topics/files/#file-storage)

We developed DDE using **Django 1.11** and **Python 3.5**. Other versions are pending tests. Let us know
if works in your virtual environment.


## Usage

First of all:

`pip install django-dde`

Excelent! Now you must ensure that in your `settings.py` you have these configurations:

```python
EXPORTER_FROM_EMAIL = 'sender@email.com'
```

Now you have to configure a periodic task using Celery, [please refere to this link.](http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html)

Now in the code:

```python
from exporter.models import Exporter

exporter = Exporter.objects.create_exporter(
    queryset=Model.objects.queryset, # Change Model to your Model
    email=example@mail.com, # E-mail that will receive the link to the exporter,
    limit_per_task=100, # How many entries each task will proccess
)
```

And that's it! Simple, right?

## Development setup

Installing our dependencies in your virtual environment is pretty straight foward:

`pip install -r requirements/development.txt`

But you can use our Docker to test DDE. This method already install all dependencies
 on a container, creates a Redis container and you ready to go. We already configured some shortcuts to help:

```sh
make build # Builds docker image, be sure to run this first
make build-no-cache # Build/Rebuilds (cleaning cache) docker image

make tests # Run all tests
make bash # Enters Docker's Bash

make help # Shows the available commands
```

## Release History

* 0.1
    * Initial version

## Meta

Stored E-commerce

Distributed under the MIT license. See ``LICENSE`` for more information.

[https://github.com/stored](https://github.com/stored)

## Contributing

1. Fork it (<https://github.com/yourname/yourproject/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request

*Remember: Every feature created or fixed must have a test written and/or fixed.*
setec 0.0.2
Simple, fast, compact encryption and signing.
Requires Python: >=3.5

## Setec Astronomy

Simple, fast, compact encryption and signing.

Based on modern cryptography courtesy of PyNaCl.

__EXPERIMENTAL__: Use at your own risk. While the
underlying cryptography has been well-studied,
many security vulnerabilities arise from implementation
bugs. The setec code is fairly simple, but has
not been fully tested, so no security guarantees
are provided by the project authors, either implicit
or otherwise.

Requires Python 3.5 or better.

Legal
-----

Copyright 2018 by individual and corporate contributors as
noted in the individual source files.

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use any portion of this software except in compliance with
the License. Contributors agree to license their work under the same
License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.