semvec/pypi-packages huggingface dataset:
simple-helpers 0.1.1
A collection of helper functions
License: MIT
Keywords: parallel-progress-bar parallel-computing progress-bar parallel

Simple Helpers
--------------

This is a collection of helper functions that I frequently use and hope that others
will also find useful.

Currently there is only one fuction inside that is to track the progress of a
parallelized function given an iterable of arguments.

To use:

    >>> import simple_helpers
    >>> def my_func(args):
    ... 	""" an arbitrary function """
    ... 	arg1_int, arg2_int = args
    ... 	return arg1_int + arg2_int
    >>> arguments = [[i, i ** 2] for i in range(10)] # an arbitrary list of arguments
    >>> print(results = simple_helpers.parallel_progress(my_func, arguments))
django-minio 2.0
Django app to use Minio Server as file storage.
License: MIT
Keywords: minio storage files

Django Minio Storage
====================
Django app to use [Minio Server](https://github.com/minio/minio) as file storage.

Intallation
-----------
At first, you need to have working minio server. How to do that you can found at [Minio Quickstart Guide](http://docs.minio.io/docs/minio-quickstart-guide).

Install Django Minio Storage from pip:
```
pip install django-minio
```

Add following keys to your projects settings file:
```
MINIO_SERVER = 'your_minio_server_address'
MINIO_ACCESSKEY = 'your_minio_server_access_key'
MINIO_SECRET = 'your_minio_server_secret_key'
MINIO_BUCKET = 'my_bucket'
MINIO_SECURE = True
DEFAULT_FILE_STORAGE = 'django_minio.storage.MinioStorage'
```
Demo minio server and it's credentials can be found at [Python Client Quickstart Guide](https://docs.minio.io/docs/python-client-api-reference).

If you want to use this module only at production server, include above settings only in production settings.
So at local developer machine you will use django's default file storage.

More information about file storages can be found at [Django Docs](https://docs.djangoproject.com/en/1.8/ref/files/storage/).

Currently tested only at Django 2.0.