Skip to main content

Python SDK for XN-Twist's API

Project description

MIT License

Copyright (c) 2017, Floyd Hightower

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Description: ===============================
XN-Twist Python SDK
===============================

.. image:: https://img.shields.io/pypi/v/xn-twist-python-sdk.svg
:target: https://pypi.python.org/pypi/xn-twist-python-sdk

.. image:: https://img.shields.io/travis/xn-twist/xn-twist-python-sdk.svg
:target: https://travis-ci.org/xn-twist/xn-twist-python-sdk

.. image:: https://api.codacy.com/project/badge/Grade/6927955d30df40f395aa8adbd7b8bfe4
:alt: Codacy Badge
:target: https://www.codacy.com/app/fhightower/xn-twist-python-sdk

.. image:: https://codecov.io/gh/xn-twist/xn-twist-python-sdk/branch/master/graph/badge.svg
:target: https://codecov.io/gh/xn-twist/xn-twist-python-sdk

.. image:: https://readthedocs.org/projects/xn-twist-python-sdk/badge/?version=latest
:target: https://xn-twist-python-sdk.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/xn-twist/xn-twist-python-sdk/shield.svg
:target: https://pyup.io/repos/github/xn-twist/xn-twist-python-sdk/
:alt: Updates

Python SDK for talking with `XN-Twist's API <https://github.com/xn-twist/xn-twist-api>`_ . **Note:** this package is not designed to be your primary interaction with the XN-Twist API. This is simply a package to aid the management of the API and is used behind the scenes in the `xn-twist package <https://github.com/xn-twist/xn-twist>`_.

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

Stable release
++++++++++++++

To install the XN-Twist Python SDK, run this command in your terminal:

.. code-block:: console

$ pip install xn_twist_python_sdk

This is the preferred method to install the XN-Twist Python SDK, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process.

.. _pip: https://pip.pypa.io
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/

From sources
++++++++++++

The sources for the XN-Twist Python SDK can be downloaded from the `Github repo`_.

You can either clone the public repository:

.. code-block:: console

$ git clone git://github.com/xn-twist/xn-twist-python-sdk

Or download the `tarball`_:

.. code-block:: console

$ curl -OL https://github.com/xn-twist/xn-twist-python-sdk/tarball/master

Once you have a copy of the source, you can install it with:

.. code-block:: console

$ python setup.py install


.. _Github repo: https://github.com/xn-twist/xn-twist-python-sdk
.. _tarball: https://github.com/xn-twist/xn-twist-python-sdk/tarball/master

Usage
-----

.. code-block:: python

from xn_twist_python_sdk import xn_twist_python

# instantiate an instance of the XN-Twist Python SDK
xn_sdk = xn_twist_python.XnTwistSDK()

Credits
-------

This package was created with Cookiecutter_ and the `fhightower/python-project-template`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`xn-twist/python-project-template`: https://github.com/fhightower/python-project-template


=======
History
=======

1.0.0 (2017-06-24)
------------------

* First release on PyPI.

0.1.0 - 0.2.1 (2017-06)
------------------

* Initial development
Keywords: xn_twist_python_sdk
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xn-twist-python-sdk-5.0.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

xn_twist_python_sdk-5.0.0-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xn-twist-python-sdk-5.0.0.tar.gz.

File metadata

File hashes

Hashes for xn-twist-python-sdk-5.0.0.tar.gz
Algorithm Hash digest
SHA256 7a0f9a4b40b3a384f7b6b7015be996a2feee774c06058b9fe5f31aa88868eb3b
MD5 0f374dba2848a5e09661b5a19fa8774b
BLAKE2b-256 eb19639c3ecf3b822ca166b47e5d4f521e386a1a18004ee627ec032144db4952

See more details on using hashes here.

File details

Details for the file xn_twist_python_sdk-5.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xn_twist_python_sdk-5.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e217befdb62f77b399cc390438bc56b6800b9b32a0225277525efe838767f814
MD5 dc3489695bf35018ad8fed0eca616c5c
BLAKE2b-256 538ec13ff2d9a59cd358e19cc21b01dba8acb48c33d13bfe57a2cbdba67741e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page