semvec/pypi-packages huggingface dataset:
Stencil 0.2.1
Creates files and directories from templates
License: BSD

Stencil
=======

Stencil creates files and directories from templates. It is inspired by Paste
Templates, but Stencil has no dependencies.

Installation
------------

Install Stencil with pip::

    $ pip install Stencil

It will also install argparse for python < 2.7. There is no python 3 support yet.


Usage example
-------------

To create new file or directory of files and subdirectories from <stencil> use::

    $ stencil [global args] <stencil> [stencil args]

For example, using stencil ``new`` you can create a new project containing a new
stencil::

    $ stencil new mystencil

For creating stencils use ``new`` `stencil`_ as example.
All stencils are collected together using entry points from Distribute.

.. _stencil: https://github.com/trilan/stencil/blob/master/stencil/stencils.py


History
-------

0.2.1 (2011-08-10)
^^^^^^^^^^^^^^^^^^

* Better handling of target directory creation
* Fix stencils order in command output

0.2 (2011-08-05)
^^^^^^^^^^^^^^^^

* Overridable resources
* Use Jinja2 for templates

0.1.2 (2011-08-05)
^^^^^^^^^^^^^^^^^^

* Fix resource target path rendering

0.1.1 (2011-07-28)
^^^^^^^^^^^^^^^^^^

* Add possibility to collect resources from multiple dirs

0.1 (2011-04-14)
^^^^^^^^^^^^^^^^

* Initial release
usa_spending 1.1
Python API for the numerous APIs available through USA Spending.
License: BSD
Keywords: usa_spending,USA Spending,usa api

USA Spending Python API
=======================

Python API for the numerous APIs available through [USA
Spending](http://usaspending.gov/data?carryfilters=on).


Usage
-----

    >>> from usa_spending import Contracts
    >>> c = Contracts()
    >>> c.search(state='TX', count=500)

    >>> # Search for contracts for a specific year.
    ... c.search(zipcode=12345, year=2010)

    >>> # Search for contracts within a date range.
    ... c.search(state='CA', first_year=2008, last_year=2010)

    >>> # Search for contracts not competed on.
    ... c.search(state='NY', competition='not competed')

    >>> # Search for contracts not available for competition.
    ... c.search(state='NY', competition='N/A')

    >>> # Find the number of contracts matching your criteria.
    ... data = c.search(zipcode=12345)
    >>> found = data.response.result.numFound
    >>> print found
    6789


Copyright
---------

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.
open311 1.1
A Python API wrapper for the Open311 API v2.
License: BSD
Keywords: open311,Open311

Open311 API Python Wrapper
==========================

A Python API wrapper for the Open311 API v2.


Usage
-----

The Python wrapper follows closely with the structure of the [Ruby
Open311 API wrapper](https://github.com/codeforamerica/open311).

    >>> from open311 import Open311
    >>> o = Open311()

    >>> # If you forgot to configure your instance.
    ... o.configure(endpoint='http://open311.endpoint.com',
    ...             api_key='my_api_key', jurisdiction='endpoint.com')

    >>> # You can also reset your instance to its original state.
    ... o.reset()

    >>> # Receive a list of services available -- in dictionary form.
    ... o.service_list()

    >>> # Specific service definition.
    ... o.service_definition('033')

    >>> # Service requests.
    ... o.service_requests()

    >>> # Get a specific service request.
    ... o.get_service_request('638344')

    >>> # Post a service request.
    ... o.post_service_request(
    ...     service_code='001', address_string='123 Any Street',
    ...     first_name='John', last_name='Smith',
    ...     phone='111-111-1111', email='me@email.com',
    ...     description='A large sinkhole is destroying the street',
    ...     media_url='http://imgur.com/123_street_sinkhole.png')

    >>> # Get a request id from a token.
    ... o.request_id_from_token('123456')

Copyright
---------

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.
open_data 1.0
Python wrapper for the Microsoft Open Data APIs.
License: BSD
Keywords: open data,microsoft open data,microsoft

Microsoft Open Data Python API
==============================

A Python wrapper for the Microsoft Open Data API.


Usage
-----

    >>> from open_data import OpenData
    >>> od = OpenData()
    >>> od.catalog()
    ['bls', 'dc', ... ]

    >>> od.catalog('dc')
    ['BankLocations', 'TrafficCameras', 'ZoningPermits', ... ]

    >>> data = od.query('dc', 'BankLocations')
    >>> print data
    {'all': ['of', 'your', 'data']}

    >>> # Data returned in XML format.
    ... od.query('dc', 'BankLocations', format='xml')

    >>> # JSON-P data is also available.
    ... od.query('dc', 'BankLocations', callback='my_callback')


Copyright
---------

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.
aidsinfo 1.1
A Python wrapper for the AIDSinfo drug information API.
License: BSD
Keywords: aids,aids info,AIDSinfo,aidsinfo

AIDSinfo Python API Wrapper
===========================

A Python wrapper for the AIDSinfo drug information API.

AIDSinfo Documentation:  http://www.aidsinfo.nih.gov/Other/rss.aspx


Usage
-----

    >>> from aidsinfo import DrugInfo
    >>> info = DrugInfo()
    >>> info.search('abacavir')
    {'abacavir': {'data': 'here'}}

    >>> info.search('combivir')
    {'combivir': {'data': 'here'}}

    >>> # You can also get back just the XML data.
    ... xml_data = info.search('combivir', output_format=None)


Copyright
---------

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.
faa 1.1
Python wrapper for the FAA flight APIs.
License: BSD
Keywords: FAA,faa,flight api,faa api

FAA Python
==========

A Python wrapper for the Federal Aviation Administration's API.


Usage
-----


    >>> from faa import FAA

    >>> # Find all current delays in the US.
    ... FAA().delays()
    {'lots': {'and': {'lots': 'of delay data'}}}

    >>> # Search for the status of a specific airport.
    ... FAA().status('SFO')
    {'data': {'specific to': 'SFO'}}

    >>> # Get back a list of all ground delays.
    ... FAA().ground_delays()
    [{'ground': 'delay'}, {'ground': 'delay'}, ...]

    >>> # Get back a list of all ground stops.
    ... FAA().ground_stops()
    [{'ground': 'stop'}, {'ground': 'stop'}, ...]

    >>> # Get back a list of all arrival and depature delays.
    ... FAA().delay_list()
    [{'arrival': 'delay'}, {'departure': 'delay'}, ...]


Copyright
---------

Copyright (c) 2011 Code for America Laboratories.

See LICENSE for details.
usa_today 1.0
Python wrapper for the USA Today Census API.
License: BSD
Keywords: usa_today,USA Today,census,usa today census,census api

USA Today Python API Wrapper
============================

This is a Python wrapper for [USA Today's Census
API](http://developer.usatoday.com/docs/read/Census).

Note that usage of the USA Today Census API requires a developer key,
and that usage is contingent upon agreement with USA Today's [Terms of
Use](http://developer.usatoday.com/API_Terms_of_Use).

Also, note that this library is in no way associated or endorsed by [USA
Today](http://www.usatoday.com/).


Usage
-----

It's recommended that you save your USA Today Census API Key to the
`usa_today_api_key.py` file.

Without your API Key saved:

    >>> from usa_today import Census
    >>> Census('my_api_key').population()


With your API Key saved:

    >>> from usa_today import Census
    >>> Census().population()


### Methods ###

* `locations` -- Returns all available ethnicity, housing, population and race information for specified area.
<pre><code>
    >>> Census().locations()

    >>> Census().locations('NY')
</code></pre>

* `ethnicity` -- Returns an area's ethnic data. Information includes how much of the population identifies as Hispanic or non-Hispanic white, and the USA TODAY Diversity Index.
<pre><code>
    >>> Census().ethnicity()

    >>> # California ethnicity by county
    ... Census().ethnicity('CA', sumlevid=3)
</code></pre>

* `housing` -- Returns an area's housing data. Information includes the number of housing units, and the percentage of those that are vacant.
<pre><code>
    >>> c = Census()

    >>> c.housing()

    >>> c.housing('TX')

    >>> # Lookup Texas housing by FIPS for counties
    ... c.housing('48~', keyname='FIPS', sumlevid=3)
</code></pre>


* `population` -- Returns an area's population data. Information includes the total population of an area, average population per square mile, and the percent by which that population has changed since the last census.
<pre><code>
    >>> c = Census()

    >>> c.population()

    >>> # Texas population by town level.
    ... c.population('TX', sumlevid=6)
</code></pre>

* `race` -- Returns an area's racial data. Information includes the percentage of an area's population that identifies as White, Black, American Indian, Asian, native Hawaiian/Pacific Islander, or mixed race.
<pre><code>
    >>> c = Census()

    >>> c.race()

    >>> c.race('RI')

    >>> # Race data for Rhode Island by county.
    ... c.race('RI', sumlevid=3)
</code></pre>


Copyright
---------

Copyright (c) 2011 Code for America Laboratories

See LICENSE for details.
cheese-freezer 0.0.3
Upload helper for your local PyPI mirror
License: BSD
Keywords: pypi chishop upload mirror

==============
Cheese Freezer
==============

About
----------

Cheese Freezer helps you freeze your project's requirements by fetching them (through PIP) 
and uploading back to a cheese shop of your choice (see http://github.com/disqus/chishop).

Install
---------

::

    $ pip install cheese-freezer

Usage
---------

First you need to define an alternative shop in your .pypirc. For example::

    # ~/.pypirc
    [distutils]
    index-servers = myshop

    [myshop]
    repository = http://example.chishop.me/
    username = my_username
    passsword = my_password

Then just run::

    $ cheese-freezer myshop requirements.pip

and watch :)

Author
----------

Lukasz "lqc" Rekucki (<lrekucki+github@gmail.com>)
django-template-server 0.3.1
Makes it easy to test Django templates
License: BSD
Keywords: django templates

######################
django-template-server
######################


Runs a server that renders Django templates.

This is intended for frontend developers and designers to be able to work with
Django templates before a backend developer/sysadmin sets up the Django project
properly.


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

* ``sudo pip install django-template-server``


=====
Usage
=====

* ``maketemplateserver``
* ``./runserver.py 8000``
* Open http://127.0.0.1:8000


======================
``maketemplateserver``
======================

Creates a runserver executable

Available options:

* ``-t``/``--templatedir``: Folder with your templates, defaults to ``./templates``
* ``-m``/``--mediadir``: Folder with your media (css/js) files, defaults to ``./media``
* ``-s``/``--staticdir``: Folder with your static (css/js) files, defaults to ``./static``
* ``-d``/``--django``: Django version to use, defaults to 1.3
* ``-r``/``--runserverpath``: Location where to put the runserver executable, defaults to ``./runserver.py``


================
``runserver.py``
================

Runs a server that serves templates

Available options:

* ``-l``/``--local``: Make the server only listen locally.
* A port number can be given as positional argument, defaults to the lowest open port number above 8000.