semvec/pypi-packages huggingface dataset:
iscool_e.bellman 0.4.1
A library to support the REST API ofmobile push notification server Pushd
License: MIT
Keywords: pushd sdk api python

IsCool Entertainment Bellman SDK (Pushd Python SDK)
===================================================
.. image:: https://badge.fury.io/py/iscool_e.bellman.png
    :target: http://badge.fury.io/py/iscool_e.bellman

This client library is designed to support the `Pushd API`_.

Pushd is an unified pushd server for server-side notification to mobile native apps, web apps etc. You can read more about Pushd on the link above.


Requirements
------------
This library relies on Requests_ since version 0.3.


Why Bellman ?
-------------
The alert sound when receiving a mobile notification is reminiscent to the officer of the court who made public announcements in the streets, back to the Middle Ages.


Usage
-----

Import the library and instanciate the API class::

    from iscool_e.bellman import pushd
    
    api = pushd.API('127.0.0.1')
    api.create_subscriber('apns', 'token')
    api.subscribe('id', 'event_name')
    api.send_message('event_name', 'Hello World!')


License
-------

This package is released under the MIT License.
Please see LICENSE document for a full description.

.. _`Pushd API`: http://github.com/rs/pushd
.. _Requests: http://github.com/kennethreitz/requests


.. Please see the README.rst for more details

News
====

0.1
---

*Release date: 27-Jan-2014*

* First release

0.2
---

*Release date: 28-Jan-2014*

* Remove custom method getStats and fix github url

0.2.1
-----

*Release date: 28-Jan-2014*

* Add missing socket import

0.3
---

*Release date: 29-Jan-2014*

* Use python Requests
* Fix batch event subscriptions

0.4
---

*Release date: 3-Mar-2014*

* This release breaks compatibility with previous versions:
* Remove ugly camelcase function names

0.4.1
-----

*Release date: 3-Mar-2014*

* Update usage on README file
ca-certs-locater 1.0
a ca-certs file locater for httplib2
License: MIT

$ uname -a
Linux miku 3.11.7-hardened-r1 #5 SMP Thu Feb 27 18:27:34 CST 2014 x86_64 Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz GenuineIntel GNU/Linux

|=----------------------------------------------------------------------------=|
|=---------------------------=| ca-certs-locater |=---------------------------=|
|=----------------------------------------------------------------------------=|
|=-------------------------=| aleiphoenix@gmail.com |=------------------------=|
|=----------------------------------------------------------------------------=|

--[ 0x00 How to use

This is used with httplib2[1], which help locate CA certification files.


    import ca_certs_locater
    ca_certs_locater.get = lambda : '/path/to/cacerts.txt'

    import httplib2
    # ...


[1]: https://github.com/jcgregorio/httplib2

--[ 0x01 License

MIT
cosmid 0.4.9.1
A genomics resource manager
License: MIT
Keywords: bioinformatics resource manager database genomics

Cosmid - A genomics resource manager
=====================================
There's a wealth of publicly available genomics resources; assemblies, database dumps, sample data etc. Problem is, they are spread across various FTP servers all over the world. Cosmid can help you find, clone and manage resources, including a quick way to keep up-to-date on the latest releases.

::

  # Clone dependencies from './cosmid.yaml'
  $ cosmid clone
  # Clone a specific resource + target verion (optional)
  $ cosmid clone <package>#<version>

  # Walk through setting up a new 'cosmid.yaml' file
  $ cosmid init
tod 0.2.3
A simple dotfiles manager.  Uses symlinks and a git repo.
License: MIT

Tod
============

Central management of your personal configs using a git repository and symlinks.


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

Install the client::

    pip install tod


Point to your configuration repo::

    # Environment variables will be expanded.
    export TOD_FILE_REPO='/path/to/your/repo'


Config Repo Layout
==================

The Config Repo format is as follows::

    Root Config Directory
    ├── files
    │   ├── file_a
    │   ├── ...
    │   └── file_z
    └── mapping.ini

The `mapping.ini` file maps configs from the ``files`` directory to their installation path.
Currently everything lives under a `default` section, and all mappings are of the form ``CONFIG_FILE: INSTALL_PATH``.
An example config is shown below.  It would map ``$REPO/files/vimrc`` to ``~/.vimrc``, and ``REPO/files/tmux.conf`` to ``~/.tmux.conf``::

    [default]
    vimrc: ~/.vimrc
    tmux.conf: ~/.tmux.conf

    [git]
    gitconfig: ~/.gitconfig


Usage
=====


See the current status of the of all sections::

    tod status


See the current status of a single section::

    tod status -s SECTION


Link a single config into the system::

    tod link -S SECTION -n NAME


Link a single section into the system::

    tod link -s SECTION -a


Link all sections into the system::

    tod link -a


Unlink a single config from the system::

    tod unlink -s SECTION -n NAME


Unlink a all sections from the system::

    tod unlink -a


TODO
====
* Add section inheritance
   * example:  ``[osx]`` inherits all of ``[vim]``, ``[git]``, and ``[zsh]``
* Add more helpers to initiliaze a system quickly
   * ``tod init -g GIT_URI -s SECTION`` would clone the specified git repo then link the specified section into the system.
* Force linking.
   * move the conflicting files to a backup location, then link as needed.
voyeur 0.1.1
Dead simple library for object serialization
License: MIT

.. Voyeur documentation master file, created by
   sphinx-quickstart on Mon Feb 24 13:55:51 2014.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Voyeur
======

.. image:: https://api.travis-ci.org/gilles/voyeur.png?branch=master
        :target: https://api.travis-ci.org/gilles/voyeur


Voyeur is an simple library to serialize an object into another object.

The goal is to create a representation that is easily `json.dumps()` friendly.

I've made it while working with datastore such as Riak, MongoDB or CouchBase where the response is a dict and
I wanted to transform it into another dict for API output.

Quickstart
----------

It's as easy as this:

.. code-block:: python

    from voyeur import view

    definition = {
        'id': int
    }

    data = {
        'id': '1'
    }

    result = view(data, definition)
    assert result = {'id' : 1}

The definition is a dictionary with key/callable pairs. Voyeur will use the key to get the value from the data then apply the callable.

Using objects
-------------

That works too:

.. code-block:: python

    from voyeur import view

    definition = {
        'id': int
        'prop': int
    }

    class Data(object):
        id = 1

        @property
        def prop(self):
            return "12"

    result = view(Data(), definition)
    assert result = {'id' : 1, 'prop' : 12}


Using runtime parameters
------------------------

A callable can take any kwargs and use them

.. code-block:: python

    from voyeur import view

    def mycallable(value, test=None):
        return "foo:%s:%s" % (value, test)

    definition = {
        'id': int
        'prop': mycallable
    }

    class Data(object):
        id = 1

        @property
        def prop(self):
            return "12"

    result = view(Data(), definition, test='bar')
    assert result = {'id' : 1, 'prop' : 'foo:12:bar'}

More complex types
------------------

Voyeur can take a class as a callable if it inherits from :py:class:`voyeur.types.Type`. This allows building more complex serializer.

A good example is the :py:class:`voyeur.types.Type` that reads the value from a different field.

.. code-block:: python

    from voyeur import view
    definition = {
        'field': DeferredType('anotherfield', int),
    }

    data = {'anotherfield': '2'}
    result = view(data, definition)
    assert result == {'field':2}


Indices and tables
==================

.. toctree::
   :maxdepth: 2

   api

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`