semvec/pypi-packages huggingface dataset:
restish 0.12.1
WSGI framework/library for building resource- and rest- oriented web sites
License: BSD
Keywords: web wsgi rest framework

Restish is a simple to use, lightweight WSGI web framework and library with a
strong focus on resources, request/response, URLs and content negotiation.
Restish has very few dependencies and does not assume any particular templating
or database engine.

      Changlog at `http://github.com/ish/restish/raw/master/CHANGELOG <http://github.com/ish/restish/raw/master/CHANGELOG>`_
openmeta 0.1.1dev
Trivial wrapper providing tidy python access to the openmeta command-line client to set OS X openmeta tags on files
License: BSD
Keywords: metadata

pythonic file tagging
==========================

Simple-to-trivial wrapper for OpenMeta_. Rather than re-implementing OpenMeta
using, say, Bob Ippolito's excellent xattr_, I decided to do it by wrapping
the already-functional CLI binary, on advice from those more experienced than
myself who suggested that the pain in getting OpenMeta working as advertised
from the direct xattr business was great and terrible.

Warning - this thing does rely on parsing the output of CLI apps, with the
flakiness and performance troubles that implies. However, it's working
reliably for me.

Usage
-----
    
    >>> import openmeta
    >>> open('./test.txt', 'w').close()
    >>> openmeta.set_tags('./test.txt', ['foo', 'bar'])
    >>> openmeta.get_meta('./test.txt')['tags']
    ['foo', 'bar']
    
TODO
-----

  * more graceful error message when the openmeta CLI binary is not installed
  

Credits
-------

- OpenMeta_
- xattr_

.. _OpenMeta: http://code.google.com/p/openmeta/
.. _xattr: http://undefined.org/python/#xattr


News
====

0.1.1dev
------

*Release date: 16-March-2011*

* update email to allow upload, and bump version accordingly


0.1dev
------

*Release date: 16-March-2011*

* I spin this package off https://bitbucket.org/howthebodyworks/possumpalace_kit/src/23e924ba53e8/_lib/citeulike/
citeulike_api 0.1.3dev
a python api for http://citeulike.org/
License: BSD

========================
CiteULike Client
========================

a python client for Citeulike.

This project has just been spun off `possumpalace_kit <https://bitbucket.org/howthebodyworks/possumpalace_kit/src/23e924ba53e8/_lib/citeulike/>`_, my blog engine.

If you notice any problems with paths or dependencies, please file a patch. Or
just fork it. I'll make you maintainer in all likelihood, as I'm no longer
using CiteULike so very much, having banned myself from spending too much time working around its foibles.

The CUL "API" was pieced together from forum comments made by the CUL staff over time.

e.g. how to

  * `do JSON searches <http://www.citeulike.org/groupforum/2253>`_
  * `edit records by HTML form submission <http://www.citeulike.org/groupforum/700>`_
  * `Edit URLs and JSON fields <http://www.citeulike.org/groupforum/2312>`_
  
usage
======

Here is an example of how i use this from my pavement.py file to write out a bibtex file of all records and download all PDFs:

    if options is None: options=globals()['options']
    from citeulike.citeulike_api import CiteULike
    
    outjsonpath = path(options.docroot)/options.bibtex_json_file
    if os.path.isabs(options.attachment_path):
        outpdfpath = path(options.attachment_path)
    else:
        outpdfpath = path(options.docroot)/options.attachment_path

    cul = CiteULike(username=options.cul_username,
      password=options.cul_pass,
      json_cache=outjsonpath,
      attachment_path=outpdfpath
    )
    cul.cache_records()
    bibtex_string = cul.render('bibtex')
      with codecs.open(outbibtexpath, 'w', 'utf-8') as bf:
          bf.write(bibtex_string)

TODO
=====

.. include: TODO.rst

News
====

0.1.3dev
--------

*Release date: 16-March-2011*

* update email to allow upload, and bump version accordingly


0.1.2dev
--------

*Release date: 16-Mar-2011*

* correct URL to https://bitbucket.org/howthebodyworks/citeulike_api/src



0.1dev
-------

*Release date: 16-Mar-2011*

* initial release of the version from https://bitbucket.org/howthebodyworks/possumpalace_kit/src/23e924ba53e8/_lib/citeulike/
nimsp 0.3.4
Library for interacting with the National Institute on Money in State Politics API
License: BSD

============
python-nimsp
============

A Python library for interacting with the `National Institute on Money in State Politics API <http://www.followthemoney.org/services/index.phtml>`_.

Released under a BSD-style license (see the LICENSE files for details).

python-nimsp is a project of Sunlight Labs (c) 2011.
Written by Michael Stephens <mstephens@sunlightfoundation.com>.

Source: http://github.com/sunlightlabs/python-nimsp

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

To install from PyPI run

   ``pip install nimsp``

or

   ``easy_install nimsp``

To install from a source package run

    ``python setup.py install``

Example Usage
=============

   >>> from nimsp import nimsp
   >>> nimsp.apikey = 'YOUR_API_KEY'
   >>> corte = nimsp.candidates.list(state='tx', year=2008, candidate_name='Corte Jr, Frank')[0]
   >>> print "$%d" % corte.total_dollars
   $287372
   >>> print corte.candidate_status
   Won