semvec/pypi-packages huggingface dataset:
bunq 0.0.2
Simple wrapper around the bunq API
License: MIT

bunq
====

Python wrapper for the `bunq API`_.

.. _bunq API: https://doc.bunq.com/

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

This package has been tested with Python 3.6.0, but probably works fine with 3.3 and later.
Python 2.6 and later should also work, but no guarantees.

To install, use ``setuptools``, run:

``python ./setup.py install``

or for installing locally for the user:

``python ./setup.py install --user``

There is no PyPI package as of yet.

Usage
-----

The module is a thin wrapper around the bunq API and takes care of the following:

* setting the required HTTP headers
* signing of the outgoing message
* verification of the response (still very limited)

The code is blissfully unaware of the API endpoints and the data they need and return.
You will need the bunq API documentation to figure out all the endpoints and required parameters and possible responses.

After installation this module is called simply bunq. You will probably want to import it like:

``from bunq import API``

and instantiate and API object like so:

``my_api_instance = API(private_key, token)``

There are several examples in the ``examples`` directory to give you an idea how this module can be used.

Documentation
-------------

The code itself is documented with docstrings.

External documentation will be coming ASAP.

TODO
----

* tests
* better verification of response
* automated session creation
* use a more lightweight crypto library, like https://github.com/sybrenstuvel/python-rsa
* active session awareness
* testing validity of token
* deal with rsa key encryption
* automagically retrieve server public key when not given

Attribution
-----------

All code is licensed under the MIT License. See ``LICENSE``.

`python3-krakenex`_ was a big inspiration.

.. _python3-krakenex: https://github.com/veox/python3-krakenex
patentmodels 0.0.5
Functions and datamodels for patent data.
License: MIT

Patent Models
=============

Functions and datamodels for patent data.

Usage
--------------
``from patentmodels import PatentDoc, Description, Claimset, Claims, Classification``

Getting a bag of words from a patent description.
::
    text = [
        ("Lorem ipsum dolor sit amet, consectetur "
            "adipiscing elit. Integer nec odio. \n"),
        ("Praesent libero 100. Sed cursus 102 ante dapibus diam. "
            "Sed nisi. \n"),
        ("Sed, dignissim lacinia, <nunc>. Curabitur tortor 2."
            "Pellentesque nibh. \n"),
        "Quisque volutpat 554 condimentum velit."
        ]
    desc = Description(text)
    desc.bag_of_words()

Provides:
::
    ['lorem', 'ipsum', 'dolor', 'sit', 'amet', 'consecteturadipisc', 'elit',
    'integ', 'nec', 'odio', 'praesent', 'libero', 'sed', 'cursu', 'ant', 'dapibu',
    'nisi', 'sed', 'dignissim', 'lacinia', 'nunc', 'curabitur', 'tortor', 'nibh',
    'quisqu', 'volutpat', 'condimentum', 'velit']

For a complete patent document:
::
    claims = [
                Claim("Claim {0} has an x.".format(num), num)
                for num in range(1, 10)
                ]
    claimset = Claimset(claims)
    desc = Description(["one", "two", "three"])
    fig = Figures()
    classification = Classification("A")
    pd = PatentDoc(
                claimset,
                desc,
                fig,
                "Title",
                classification,
                "20010101010"
                )
    pd.reading_time()
    pd.claimset.get_claim(5).text
fispip 0.0.3
Python FIS MTM/PIP SQL/RPC Interface
License: MIT
Keywords: database

********
pyfispip
********

.. image:: https://travis-ci.org/fopina/pyfispip.svg?branch=master
    :target: https://travis-ci.org/fopina/pyfispip
    :alt: Build Status

.. image:: https://img.shields.io/pypi/v/fispip.svg
    :target: https://pypi.python.org/pypi/fispip
    :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/fispip.svg
    :target: https://pypi.python.org/pypi/fispip
    :alt: PyPI Python Versions

.. image:: https://coveralls.io/repos/github/fopina/pyfispip/badge.svg?branch=master
    :target: https://coveralls.io/github/fopina/pyfispip?branch=master
    :alt: Coverage Status

Successor to https://github.com/fopina/pygtm


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


Simply use **pip**:

.. code-block:: bash

    $ pip install pyfispip

Or install latest version from github:

.. code-block:: bash

    $ pip install git+https://github.com/fopina/pyfispip/


=====
Usage
=====


Use it in your code (check `examples`_ folder):

.. _examples: examples

.. code-block:: python

    >>> from fispip import PIP
    >>> pip = PIP()
    >>> pip.connect('localhost',61315,'1','XXX')
    >>> pip.executeSQL('SELECT TJD FROM CUVAR')
    (['60960'], ['D'])


Or quickly use the CLI:

.. code-block:: bash

    $ python -m fispip -h
    usage: __main__.py [-h] [-u USER] [-p PWD] [-P PORT] [-S TYPE] [-s]
                       host params [params ...]

    Python FIS MTM/PIP SQL/RPC Interface

    positional arguments:
      host                  Hostname to connect
      params                For RPC: MRPC_ID [MRPC_PARAM1 [MRPC_PARAM...]] For
                            SQL: SQL_STATEMENT

    optional arguments:
      -h, --help            show this help message and exit
      -u USER, --user USER  PIP Username (default: 1)
      -p PWD, --password PWD
                            PIP Password (default: XXX)
      -P PORT, --port PORT  MTM port (default: 61315)
      -S TYPE, --server TYPE
                            PIP server type (default: SCA$IBS)
      -s, --sql             Execute SQL statement (default action is RPC)
    
    $ python -m fispip localhost -s select tjd from cuvar
    60960