semvec/pypi-packages huggingface dataset:
idq-geo 0.2.0
iDigQuality Georeference Validation Module
License: MIT

idq-geo
=======

iDigQuality Georeference Validation Module

Production Setup
================

.. code-block::
    
    pip install idq-geo

Development Setup
=================

.. code-block::

    git clone https://github.com/iDigBio/idq-geo.git
    cd idq
    pip install -r requirements.txt
    python -m idq_geo
myyoutube 0.4
Upload videos to youtube using OAuth2.0 and the youtube API
License: MIT
Keywords: youtube upload uploader

borrow from great pyoutube
--------
Requirements:

* Python 2.7 or higher

* Install the Google API's Client Library for python (https://developers.google.com/api-client-library/python/start/installation)

* A registered application with google (https://developers.google.com/youtube/registering_an_application)

* A populated client_secret.json file in the directory you will be uploading the file from.

To install::

>>> pip install myyoutube


Sample usage::

>>>from myyoutube import uploader
>>>uploader.upload("File.mp4", title="Video Title", description="Video Description", tags=["video", "tags"], categoryId="20",privacy_status="Public")

Returns a dictionary response containing information about the uploaded video.

This function is of the form uploader.upload(file,**kwargs).

Only the file parameter is required for the upload to occur, as all other parameters have defaults which will be used should the argument not be passed, however it is recommended to pass the arguments in order to upload an attractive youtube video.

List of optional arguments and their uses:

* title: string, becomes the title of the youtube video. 

* description: string, becomes the description of the youtube video.

* tags: list of strings, becomes the keyword tags of the youtube video.

* categoryId: string or an int, the numerical category id that categorizes the youtube video accordingly. These category ids can be obtained from the youtube web API via the link https://www.googleapis.com/youtube/v3/videoCategories?part=snippet&regionCode={two-character-region}&key={YOUR_API_KEY}. You will need to enable a browser API key as part of your project to discover different categoryId's.

* privacy_status: string, must be one of "public", "unlisted", or "private". Defaults to "public".
pycuda-arm-linux 2015.1.3
pyCUDA for ARM (armv7l) Linux GNUroot Debian on NVIDIA Shield Tablet [Tegra K1] - EXPERIMENTAL: much of cuda driver API works but no cuda runtime API. REQUIRES: Linux for Tegra cuda-6.5-toolkit [.deb package] and libcuda.so.1.1 in /usr/lib (from Jetson TK1 Driver Package) @ https://developer.nvidia.com/linux-tegra-rel-21 
License: MIT

PyCUDA lets you access `Nvidia <http://nvidia.com>`_'s `CUDA
<http://nvidia.com/cuda/>`_ parallel computation API from Python.
Several wrappers of the CUDA API already exist-so what's so special
about PyCUDA?

.. image:: https://badge.fury.io/py/pycuda.png
    :target: http://pypi.python.org/pypi/pycuda

* Object cleanup tied to lifetime of objects. This idiom, often
  called
  `RAII <http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization>`_
  in C++, makes it much easier to write correct, leak- and
  crash-free code. PyCUDA knows about dependencies, too, so (for
  example) it won't detach from a context before all memory
  allocated in it is also freed.

* Convenience. Abstractions like pycuda.driver.SourceModule and
  pycuda.gpuarray.GPUArray make CUDA programming even more
  convenient than with Nvidia's C-based runtime.

* Completeness. PyCUDA puts the full power of CUDA's driver API at
  your disposal, if you wish. It also includes code for
  interoperability with OpenGL.

* Automatic Error Checking. All CUDA errors are automatically
  translated into Python exceptions.

* Speed. PyCUDA's base layer is written in C++, so all the niceties
  above are virtually free.

* Helpful `Documentation <http://documen.tician.de/pycuda>`_ and a
  `Wiki <http://wiki.tiker.net/PyCuda>`_.

Relatedly, like-minded computing goodness for `OpenCL <http://khronos.org>`_
is provided by PyCUDA's sister project `PyOpenCL <http://pypi.python.org/pypi/pyopencl>`_.
valigator 0.1.6
Validate your backups !
License: MIT
Keywords: database backup docker

valigator
=========

.. epigraph::
    *Check your backups before you wreck yourself !*

|

.. image:: https://www.quantifiedcode.com/api/v1/project/6b2de325c287407aaf4998cf49c1c09e/badge.svg
  :target: https://www.quantifiedcode.com/app/project/6b2de325c287407aaf4998cf49c1c09e
  :alt: Code issues

|

| ``valigator`` helps you automate backup validation. It uses *Docker* to create ephemeral environments in which a backup restoration can occur.

| It aims to be a generic tool used to test **ANY** backup type:
| - Database backup (*mysql*, *mongodb*...)
| - ...


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

Requirements
------------

WIP

Setup
-----

Use ``pip`` to install it::

   $ pip install valigator

Usage
=====

WIP

Configuration
=============

WIP

Extensions
==========

WIP

Limitations
===========

This tool has been tested on the following OSes:

* Ubuntu 14.04

It has been tested against the following Python versions:

* Python 2.7
django_hipster_api 1.7.3
wrapper django rest framework
License: MIT
Keywords: django rest framework

# hipster_api
wrapper django rest framework

## Применение
Для удобства использования restapi в вашем проекте

Подключение
```python
INSTALLED_APPS = (
...
'rest_framework',
'hipster_api',
)
TEMPLATE_DIRS = (
    os.path.join(os.path.dirname(__file__), '..', 'templates').replace('\\', '/'),
)
```


## Пример views
```python
from hipster_api import fields as hfields
from hipster_api.views import HView


class QuestsView(HView):
    """
    Работа с постами
    """

    class Fields(object):
        fields = hfields.FieldsListResponse(verbose_name=u'Список полей через запятую', methods=['get'])
        offset = hfields.IntegerLarger(default=0, larger=0, glt=True, methods=['get'])
        limit = hfields.IntegerLarger(default=20, larger=0, methods=['get'])
        active = hfields.IntegerList(default=u'0,1', methods=['get'])
        
        name = hfields.String(verbose_name=u'Название поста', default=u'', methods=['put'])
        description = hfields.String(verbose_name=u'Название поста', default=u'', methods=['put'])

    def get(self, request, format=None):
        """
        Получение постов
        :public:
        """
        fields = ['id'] + self.objects.fields
        posts = Post.objects.values(*fields).filter(active__in=self.objects.active)[self.objects.offset:self.objects.limit]
        
        return Response(quests)
        
    def put(self, request, format=None):
        """
        Создание поста
        :private только админа:
        """
        
        Post(name=self.objects.name, description=self.objects.description).save()
        return Response(status=202)
        
```

### запросы
```
GET /api/v1/posts.json?fields=name
GET /api/v1/posts.json?fields=name,description

PUT /api/v1/posts.json
name = 'тест'
description = 'тес тест'

```

## Собираем документацию 
`python manage.py hipster_api_doc`

### вывод в шаблоне 

```html
{% block container %}
    <div class="row">
        <div class="col-md-9" role="main">
            {% if file_name %}
                {% include file_name %}
            {% endif %}
        </div>
        <div class="col-md-3" role="complementary">
            <nav class="affix">
                <ul class="nav">
                    {% include 'docs/menu2.html' %}
                </ul>

            </nav>
        </div>
    </div>
{% endblock %}
```

`file_name` - должен путь к доке `docs/files/...`

# реализованные поля

* [x] String
* [x] StringList
* [x] FieldsListResponse
* [x] Integer
* [x] IntegerLarger
* [x] IntegerList
* [x] IntegerLess
* [x] Float
* [x] FloatLess
* [x] FloatLarger
* [x] FloatList
* [x] Boolean
* [x] DateTime
* [x] Date
* [x] JsonField