-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
95 lines (65 loc) · 2.67 KB
/
setup.py
File metadata and controls
95 lines (65 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# coding: utf-8
"""
Harmony Connect
An easy to use API that helps you access the Factom blockchain. # noqa: E501
OpenAPI spec version: 1.0.17
Contact: harmony-support@factom.com
Generated by: https://openapi-generator.tech
"""
from setuptools import setup, find_packages # noqa: H301
NAME = "harmony-connect-client"
VERSION = "1.0.7"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
setup(
name=NAME,
version=VERSION,
description="Harmony Connect",
author_email="harmony-support@factom.com",
url="https://github.com/FactomProject/factom-harmony-connect-python-client",
keywords=["factom", "factom-blockchain", "blockchain", "blockchain-as-a-service", "client-library", "Harmony Connect"],
install_requires=REQUIRES,
packages=find_packages(),
include_package_data=True,
long_description="""\
=============================
Harmony Connect Client
=============================
Harmony Connect is your fast lane to the blockchain. Add blockchain capabilities to any software without needing to wrestle with currencies, wallets, or blockchain nodes. Instead, you get easy read and write access to the Factom blockchain. Connect will also track your data's path to immutability and will notify you along the way.
============
Requirements
============
Python 2.7 and 3.4+
====================
Installation & Usage
====================
***********
pip install
***********
You can install the package hosted on PyPi by using pip:
``pip install harmony_connect_client``
Then import the package:
``import harmony_connect_client``
You can also install the Harmony Connect client directly from Github
``pip install git+https://github.com/FactomProject/factom-harmony-connect-python-client.git``
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/FactomProject/factom-harmony-connect-python-client.git`)
**********
Setuptools
**********
Install via `Setuptools <http://pypi.python.org/pypi/setuptools>`_.
``python setup.py install --user``
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
``import harmony_connect_client``
=============================
Harmony Connect Documentation
=============================
This client is built to communicate with Factom Harmony Connect. For more information about using this API, please visit the Harmony Connect `documentation <https://docs.harmony.factom.com>`_.
You can create a free account at `Factom.com <https://account.factom.com>`_.
"""
)