Python Boilerplate contains all the boilerplate you need to create a Python package.
Project description
|banner|
.. raw:: html
<h1 align="center">
oceandb-bigchaindb-driver
.. raw:: html
</h1>
..
🐳 Ocean DB BigchainDB driver (Python).
.. |banner| image:: doc/img/repo-banner@2x.png
:target: https://oceanprotocol.com
.. image:: https://img.shields.io/pypi/v/oceandb-bigchaindb-driver.svg
:target: https://pypi.python.org/pypi/oceandb-bigchaindb-driver
.. image:: https://img.shields.io/travis/oceanprotocol/oceandb-bigchaindb-driver.svg
:target: https://travis-ci.com/oceanprotocol/oceandb-bigchaindb-driver
.. image:: https://readthedocs.org/projects/oceandb-plugin-system/badge/?version=latest
:target: https://oceandb-plugin-system.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/oceanprotocol/oceandb-bigchaindb-driver/shield.svg
:target: https://pyup.io/repos/github/oceanprotocol/oceandb-bigchaindb-driver/
:alt: Updates
BigchainDB driver to connect implementing OceanDB.
* Free software: Apache Software License 2.0
* Documentation: https://oceandb-plugin-system.readthedocs.io.
How to use it
-------------
First of all we have to specify where is allocated our config.
To do that we have to pass the following argument:
.. code-block:: python
--config=/path/of/my/config
..
If you do not provide a configuration path, by default the config is expected in the config folder.
In the configuration we are going to specify the following parameters to
.. code-block:: python
[oceandb]
enabled=true
#location of plugin class
module=bdb
module.path=./oceandb_bigchaindb_driver/plugin.py
db.hostname=localhost
db.port=9984
db.namespace=name
db.app_id=
db.app_key=
..
Once you have defined this the only thing that you have to do it is use it:
.. code-block:: python
oceandb = OceanDb(conf)
oceandb.write({"value": "test"})
..
=======
History
=======
0.1.0 (2018-05-31)
------------------
* First release on PyPI.
.. raw:: html
<h1 align="center">
oceandb-bigchaindb-driver
.. raw:: html
</h1>
..
🐳 Ocean DB BigchainDB driver (Python).
.. |banner| image:: doc/img/repo-banner@2x.png
:target: https://oceanprotocol.com
.. image:: https://img.shields.io/pypi/v/oceandb-bigchaindb-driver.svg
:target: https://pypi.python.org/pypi/oceandb-bigchaindb-driver
.. image:: https://img.shields.io/travis/oceanprotocol/oceandb-bigchaindb-driver.svg
:target: https://travis-ci.com/oceanprotocol/oceandb-bigchaindb-driver
.. image:: https://readthedocs.org/projects/oceandb-plugin-system/badge/?version=latest
:target: https://oceandb-plugin-system.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/oceanprotocol/oceandb-bigchaindb-driver/shield.svg
:target: https://pyup.io/repos/github/oceanprotocol/oceandb-bigchaindb-driver/
:alt: Updates
BigchainDB driver to connect implementing OceanDB.
* Free software: Apache Software License 2.0
* Documentation: https://oceandb-plugin-system.readthedocs.io.
How to use it
-------------
First of all we have to specify where is allocated our config.
To do that we have to pass the following argument:
.. code-block:: python
--config=/path/of/my/config
..
If you do not provide a configuration path, by default the config is expected in the config folder.
In the configuration we are going to specify the following parameters to
.. code-block:: python
[oceandb]
enabled=true
#location of plugin class
module=bdb
module.path=./oceandb_bigchaindb_driver/plugin.py
db.hostname=localhost
db.port=9984
db.namespace=name
db.app_id=
db.app_key=
..
Once you have defined this the only thing that you have to do it is use it:
.. code-block:: python
oceandb = OceanDb(conf)
oceandb.write({"value": "test"})
..
=======
History
=======
0.1.0 (2018-05-31)
------------------
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for oceandb_bigchaindb_driver-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9306c83dcdd2cdc69696c0ee8b32f3400e9624b7e7f34c9fda9c273dc375413 |
|
MD5 | 5034e9172672fe559eff82b8bb9d1f87 |
|
BLAKE2b-256 | 17b775bfe2e38a2f760ea01b9ae46741d311ef47e24b3838e840547f088dcaa5 |
Close
Hashes for oceandb_bigchaindb_driver-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be3c1b2ccb46fdf6a4a6ea3af4da403e647d25a1a7444c80a71eae7b77e9f24f |
|
MD5 | a94e40d5fc2c8ff6a634be480493d242 |
|
BLAKE2b-256 | 3958eef7739f9cf81aaa0b0e51e4ee388a3226e27aca121b50184c2daed24774 |