hive-nectar 0.2.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hive_nectar-0.2.9.dist-info/METADATA +194 -0
- hive_nectar-0.2.9.dist-info/RECORD +87 -0
- hive_nectar-0.2.9.dist-info/WHEEL +4 -0
- hive_nectar-0.2.9.dist-info/entry_points.txt +2 -0
- hive_nectar-0.2.9.dist-info/licenses/LICENSE.txt +23 -0
- nectar/__init__.py +37 -0
- nectar/account.py +5076 -0
- nectar/amount.py +553 -0
- nectar/asciichart.py +303 -0
- nectar/asset.py +122 -0
- nectar/block.py +574 -0
- nectar/blockchain.py +1242 -0
- nectar/blockchaininstance.py +2590 -0
- nectar/blockchainobject.py +263 -0
- nectar/cli.py +5937 -0
- nectar/comment.py +1552 -0
- nectar/community.py +854 -0
- nectar/constants.py +95 -0
- nectar/discussions.py +1437 -0
- nectar/exceptions.py +152 -0
- nectar/haf.py +381 -0
- nectar/hive.py +630 -0
- nectar/imageuploader.py +114 -0
- nectar/instance.py +113 -0
- nectar/market.py +876 -0
- nectar/memo.py +542 -0
- nectar/message.py +379 -0
- nectar/nodelist.py +309 -0
- nectar/price.py +603 -0
- nectar/profile.py +74 -0
- nectar/py.typed +0 -0
- nectar/rc.py +333 -0
- nectar/snapshot.py +1024 -0
- nectar/storage.py +62 -0
- nectar/transactionbuilder.py +659 -0
- nectar/utils.py +630 -0
- nectar/version.py +3 -0
- nectar/vote.py +722 -0
- nectar/wallet.py +472 -0
- nectar/witness.py +728 -0
- nectarapi/__init__.py +12 -0
- nectarapi/exceptions.py +126 -0
- nectarapi/graphenerpc.py +596 -0
- nectarapi/node.py +194 -0
- nectarapi/noderpc.py +79 -0
- nectarapi/openapi.py +107 -0
- nectarapi/py.typed +0 -0
- nectarapi/rpcutils.py +98 -0
- nectarapi/version.py +3 -0
- nectarbase/__init__.py +15 -0
- nectarbase/ledgertransactions.py +106 -0
- nectarbase/memo.py +242 -0
- nectarbase/objects.py +521 -0
- nectarbase/objecttypes.py +21 -0
- nectarbase/operationids.py +102 -0
- nectarbase/operations.py +1357 -0
- nectarbase/py.typed +0 -0
- nectarbase/signedtransactions.py +89 -0
- nectarbase/transactions.py +11 -0
- nectarbase/version.py +3 -0
- nectargraphenebase/__init__.py +27 -0
- nectargraphenebase/account.py +1121 -0
- nectargraphenebase/aes.py +49 -0
- nectargraphenebase/base58.py +197 -0
- nectargraphenebase/bip32.py +575 -0
- nectargraphenebase/bip38.py +110 -0
- nectargraphenebase/chains.py +15 -0
- nectargraphenebase/dictionary.py +2 -0
- nectargraphenebase/ecdsasig.py +309 -0
- nectargraphenebase/objects.py +130 -0
- nectargraphenebase/objecttypes.py +8 -0
- nectargraphenebase/operationids.py +5 -0
- nectargraphenebase/operations.py +25 -0
- nectargraphenebase/prefix.py +13 -0
- nectargraphenebase/py.typed +0 -0
- nectargraphenebase/signedtransactions.py +221 -0
- nectargraphenebase/types.py +557 -0
- nectargraphenebase/unsignedtransactions.py +288 -0
- nectargraphenebase/version.py +3 -0
- nectarstorage/__init__.py +57 -0
- nectarstorage/base.py +317 -0
- nectarstorage/exceptions.py +15 -0
- nectarstorage/interfaces.py +244 -0
- nectarstorage/masterpassword.py +237 -0
- nectarstorage/py.typed +0 -0
- nectarstorage/ram.py +27 -0
- nectarstorage/sqlite.py +343 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hive-nectar
|
|
3
|
+
Version: 0.2.9
|
|
4
|
+
Summary: Hive Blockchain Python Library
|
|
5
|
+
Project-URL: Homepage, http://www.github.com/thecrazygm/hive-nectar
|
|
6
|
+
Project-URL: Download, https://github.com/thecrazygm/hive-nectar/tarball/0.1.0b
|
|
7
|
+
Project-URL: Bug Tracker, https://github.com/thecrazygm/hive-nectar/issues
|
|
8
|
+
Author-email: Michael Garcia <thecrazygm@gmail.com>
|
|
9
|
+
Maintainer-email: Michael Garcia <thecrazygm@gmail.com>
|
|
10
|
+
License: The MIT License (MIT)
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2015 Fabian Schuh
|
|
13
|
+
2018, 2019 Holger Nahrstaedt
|
|
14
|
+
2025, Michael Garcia
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in
|
|
24
|
+
all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
32
|
+
THE SOFTWARE.
|
|
33
|
+
License-File: LICENSE.txt
|
|
34
|
+
Keywords: api,hive,library,rpc
|
|
35
|
+
Classifier: Development Status :: 4 - Beta
|
|
36
|
+
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
38
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
39
|
+
Classifier: Operating System :: OS Independent
|
|
40
|
+
Classifier: Programming Language :: Python
|
|
41
|
+
Classifier: Programming Language :: Python :: 3
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
46
|
+
Classifier: Topic :: Office/Business :: Financial
|
|
47
|
+
Requires-Python: >=3.10
|
|
48
|
+
Requires-Dist: appdirs
|
|
49
|
+
Requires-Dist: asn1crypto
|
|
50
|
+
Requires-Dist: click
|
|
51
|
+
Requires-Dist: cryptography
|
|
52
|
+
Requires-Dist: diff-match-patch
|
|
53
|
+
Requires-Dist: ecdsa
|
|
54
|
+
Requires-Dist: httpx>=0.28.1
|
|
55
|
+
Requires-Dist: prettytable
|
|
56
|
+
Requires-Dist: pycryptodomex
|
|
57
|
+
Requires-Dist: requests>=2.32.4
|
|
58
|
+
Requires-Dist: ruamel-yaml
|
|
59
|
+
Requires-Dist: scrypt
|
|
60
|
+
Requires-Dist: types-requests
|
|
61
|
+
Description-Content-Type: text/markdown
|
|
62
|
+
|
|
63
|
+
# nectar - Python Library for HIVE
|
|
64
|
+
|
|
65
|
+
nectar is a python library for HIVE, which is
|
|
66
|
+
created from the remains of [beem](https://github.com/holgern/beem) which was derived from [python-bitshares](https://github.com/xeroc/python-bitshares)
|
|
67
|
+
The library name is derived from a nectar of a flower.
|
|
68
|
+
|
|
69
|
+
nectar includes [python-graphenelib](https://github.com/xeroc/python-graphenelib).
|
|
70
|
+
|
|
71
|
+
[](https://pypi.python.org/pypi/hive-nectar/)
|
|
72
|
+
|
|
73
|
+
[](https://pypi.python.org/pypi/hive-nectar/)
|
|
74
|
+
|
|
75
|
+
[](https://deepwiki.com/TheCrazyGM/hive-nectar)
|
|
76
|
+
|
|
77
|
+
## Current build status
|
|
78
|
+
|
|
79
|
+
# Support & Documentation
|
|
80
|
+
|
|
81
|
+
You may find help in the nectar-discord. The discord channel can also be used to discuss things about nectar.
|
|
82
|
+
|
|
83
|
+
A complete library documentation is available at [ReadTheDocs](https://hive-nectar.readthedocs.io/en/latest/)
|
|
84
|
+
|
|
85
|
+
# RPC surface
|
|
86
|
+
|
|
87
|
+
- Single appbase JSON-RPC path: all calls use the `api.method` shape with defaults from the static `src/nectarapi/openapi.py` map (no condenser/appbase flag or bundled JSON specs).
|
|
88
|
+
- Transport: pooled `httpx` client with retry/backoff handled by the RPC layer and shared across the module-level `shared_blockchain_instance()` helper.
|
|
89
|
+
- Shared instance: constructing `Hive(...)` will reuse the shared transport once initialized; `set_shared_blockchain_instance`/`shared_blockchain_instance` expose a singleton when you want one process-wide instance.
|
|
90
|
+
|
|
91
|
+
# About hive-nectar
|
|
92
|
+
|
|
93
|
+
- Highly opinionated fork of beem
|
|
94
|
+
- High unit test coverage
|
|
95
|
+
- Complete documentation of hive-nectar and all classes including all functions
|
|
96
|
+
- hivesigner integration
|
|
97
|
+
- Works on read-only systems
|
|
98
|
+
- Own BlockchainObject class with cache
|
|
99
|
+
- Contains all broadcast operations
|
|
100
|
+
- Estimation of virtual account operation index from date or block number
|
|
101
|
+
- the command line tool hive-nectar uses click and has more commands
|
|
102
|
+
- NodeRPC can be used to execute even not implemented RPC-Calls
|
|
103
|
+
- More complete implemention
|
|
104
|
+
|
|
105
|
+
# Installation
|
|
106
|
+
|
|
107
|
+
The minimal working Python version is >=3.10
|
|
108
|
+
|
|
109
|
+
nectar can be installed parallel to beem.
|
|
110
|
+
|
|
111
|
+
For Debian and Ubuntu, please ensure that the following packages are installed:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
sudo apt-get install build-essential libssl-dev python3-dev python3-pip python3-setuptools
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
The following package speeds up hive-nectar:
|
|
118
|
+
|
|
119
|
+
> sudo apt-get install python3-gmpy2
|
|
120
|
+
|
|
121
|
+
For Fedora and RHEL-derivatives, please ensure that the following
|
|
122
|
+
packages are installed:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
sudo yum install gcc openssl-devel python-devel
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
For OSX, please do the following:
|
|
129
|
+
|
|
130
|
+
brew install openssl
|
|
131
|
+
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
|
|
132
|
+
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"
|
|
133
|
+
|
|
134
|
+
For Termux on Android, please install the following packages:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
pkg install clang openssl python
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Signing and Verify can be fasten (200 %) by installing cryptography (you
|
|
141
|
+
may need to replace pip3 by pip):
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
pip3 install -U cryptography
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
or (you may need to replace pip3 by pip):
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
pip3 install -U secp256k1prp
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Install or update nectar by pip(you may need to replace pip3 by pip):
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
pip3 install -U hive-nectar
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
You can install nectar from this repository if you want the latest but
|
|
160
|
+
possibly non-compiling version:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
git clone https://github.com/thecrazygm/hive-nectar.git
|
|
164
|
+
cd hive-nectar
|
|
165
|
+
uv sync
|
|
166
|
+
uv sync --dev
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
Run tests after install:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
pytest
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Ledger support
|
|
176
|
+
|
|
177
|
+
For Ledger (Nano S) signing, the following package must be installed:
|
|
178
|
+
|
|
179
|
+
```bash
|
|
180
|
+
pip3 install ledgerblue
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
# Changelog
|
|
184
|
+
|
|
185
|
+
Can be found in CHANGELOG.md.
|
|
186
|
+
|
|
187
|
+
# License
|
|
188
|
+
|
|
189
|
+
This library is licensed under the MIT License.
|
|
190
|
+
|
|
191
|
+
# Acknowledgements
|
|
192
|
+
|
|
193
|
+
[beem](https://github.com/holgern/beem) was created by Holger Nahrstaedt
|
|
194
|
+
[python-bitshares](https://github.com/xeroc/python-bitshares) and [python-graphenelib](https://github.com/xeroc/python-graphenelib) were created by Fabian Schuh (xeroc).
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
nectar/__init__.py,sha256=QZhmlzv5P24gbCIFtDpUNWxV52rVBfc5-Oy7kt5vRtQ,606
|
|
2
|
+
nectar/account.py,sha256=kp1kMeLAHSdSgEyBCvmlJURbfCI8ONytm_7QjV-Ap78,215138
|
|
3
|
+
nectar/amount.py,sha256=-8KrN4G40k_0szDeLr3WJSo8RE5xK8cWVRMxXHf5pAI,23653
|
|
4
|
+
nectar/asciichart.py,sha256=WVMaXaWTEaRvQL9A6-DKE_x8pKekOLSVtyB6_MMxUiI,9996
|
|
5
|
+
nectar/asset.py,sha256=v-1-japXVo8usQxxkglOqWqFZHsJmlr8cn3sSOyBBfM,4989
|
|
6
|
+
nectar/block.py,sha256=KsCH8oakb_zc9zrvwlFQkxN5VqFfNb5q10rVLVDfoOQ,22758
|
|
7
|
+
nectar/blockchain.py,sha256=idHWQn6ivWwUFSfayayKqZ3ToV9nr3vKj1dbJreJ8fM,53636
|
|
8
|
+
nectar/blockchaininstance.py,sha256=aOqusPbIFqkaNK78hdhdZt9B8Oz_NcXrXQgnbnFBl3s,110952
|
|
9
|
+
nectar/blockchainobject.py,sha256=nG2inNAQNm-9YnLr4UMCPvw5KVdFaKUPDQmfFfyWhp8,9437
|
|
10
|
+
nectar/cli.py,sha256=8XMBENCuNN0PjAiCrwivUL-F7_OYdVToz3sjEixvBgo,212522
|
|
11
|
+
nectar/comment.py,sha256=klW_VRVflVqiYP4buEgl8pOBcxj22PraBS4v3uM2is8,66805
|
|
12
|
+
nectar/community.py,sha256=SfmJ9lU8SH5PSvMXIw58TS8ft9el0HFRGJZiqaVoXls,31698
|
|
13
|
+
nectar/constants.py,sha256=vNJJ-5yfxZU11_KM4-HMzIxT-fT_XMF9rx-NkIQbJ-0,4472
|
|
14
|
+
nectar/discussions.py,sha256=6exqzinin1w4lKF5oTDEo_bNul2kaVuKnOVcjXkbLzE,50555
|
|
15
|
+
nectar/exceptions.py,sha256=PgOA_2WZAu3Nbto6TdDUiRzj7SHBTQA0_7u3rp7yWyg,2858
|
|
16
|
+
nectar/haf.py,sha256=3lvaDeukhj-yl3H6d0-EYhbxVKX3AqiNyYT1JB7eF0w,13604
|
|
17
|
+
nectar/hive.py,sha256=mFWp5kTt0Jfg5dDI8R3yYTtObaMvSVF8E2yFZPZWFXs,27788
|
|
18
|
+
nectar/imageuploader.py,sha256=nX5rm2ApVAjD579QH62AD9JTJd3ebTfeCnB9PBlUIJM,4752
|
|
19
|
+
nectar/instance.py,sha256=pYSzpUv5w0x2TvCkVTN08kRnNICdF2okEOcAdVBcb0k,4119
|
|
20
|
+
nectar/market.py,sha256=Jd3k4LFKzzCBkjE91oytbBCPBzUvQy_qLEUbiKOD0d0,39373
|
|
21
|
+
nectar/memo.py,sha256=8KV7IUg0Rt00HcLImVfJssbz8u8BdZ1b0dIDK8t8veQ,22799
|
|
22
|
+
nectar/message.py,sha256=SHm9ImgouzpW2DloLoRw9HV0sDmtD084eEOd7y37x8c,14255
|
|
23
|
+
nectar/nodelist.py,sha256=0h4dVrFDnF2iCeTA4kebvbVo7iqguSnKoZpEzWtaH0g,10635
|
|
24
|
+
nectar/price.py,sha256=KgUVw-tHHOhvC8RGExraLuSMC5EyuxzUFNmpaAovLHA,25077
|
|
25
|
+
nectar/profile.py,sha256=ceNH3PdAMeZ1X2hPvLdxJ3luFoJZ27zhXrAmc-bovJM,2395
|
|
26
|
+
nectar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
+
nectar/rc.py,sha256=pR7A_8PCJBUFwYMfPSSCepfAjR6K4UbHQRKearJfVAg,15113
|
|
28
|
+
nectar/snapshot.py,sha256=5HbDBh8SED5dEjZphavsvAXit6QCwz-Jm3rBBi09abE,49530
|
|
29
|
+
nectar/storage.py,sha256=VmvOUTf4qYZwri33nezQOetENnA1bPw8l5Uu-SVNksc,2504
|
|
30
|
+
nectar/transactionbuilder.py,sha256=vKVzp07IGCu7DyHCQWRiDFN9pGG1GyUArHMLBS57VVY,28540
|
|
31
|
+
nectar/utils.py,sha256=Rwd9HhSMqEEAs9BojZArPQYz0_kwD06oInQRyyulhps,22706
|
|
32
|
+
nectar/version.py,sha256=7BNHOO0b0B6QqMUDMi0PMKBStWCUpfKkGIY-WZJOIT0,76
|
|
33
|
+
nectar/vote.py,sha256=TKFs9vsG7NgT2BB8mzVpqcUoU4X-DuDO73VZbGTKovI,28948
|
|
34
|
+
nectar/wallet.py,sha256=nRY41T2bVxHSAtLrMMxCcNcH1AaPpuWNuf3sOoJpW5w,17204
|
|
35
|
+
nectar/witness.py,sha256=9YMor-JdJ6qU7zxKBLVV7d16UCB0jyXOGUGJZWg--Rg,28766
|
|
36
|
+
nectarapi/__init__.py,sha256=eyiQRdZ8agc_qi9fr8sAvYPfpStEpTN06yBWFxkCTJk,176
|
|
37
|
+
nectarapi/exceptions.py,sha256=M1ZjZXiezX0Nhx70g-pJu8yR80Rb0YsrlzsgjKaELtk,1953
|
|
38
|
+
nectarapi/graphenerpc.py,sha256=l8wOJX0A_4i342dZvWwUI-MQT5Bj4hNt_S57h3L2V7M,26527
|
|
39
|
+
nectarapi/node.py,sha256=BN9FnX6o5izPhMX0prvUE52XYJegkoq3HAexjJXso-w,6139
|
|
40
|
+
nectarapi/noderpc.py,sha256=lykpdJdH_MhR561fiyWaJwmdi6XcmAR0bwUfGu0EB9s,3830
|
|
41
|
+
nectarapi/openapi.py,sha256=WPQTDRWgrZZLe9PptOJIIY2NXdNiYJ-SDWfXEH5aVco,4113
|
|
42
|
+
nectarapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
+
nectarapi/rpcutils.py,sha256=6zVFahOns2c5_Weuz02DHjEaHGGqPjwhDEMbpPO25zs,3311
|
|
44
|
+
nectarapi/version.py,sha256=7BNHOO0b0B6QqMUDMi0PMKBStWCUpfKkGIY-WZJOIT0,76
|
|
45
|
+
nectarbase/__init__.py,sha256=O11coqB-Woq_yp946kA1b8hzqSdDcK9j9gwenx7d6JE,253
|
|
46
|
+
nectarbase/ledgertransactions.py,sha256=P_GqNwalg1GqSQu5W_HlKC1R1u-hzEGif8fM-yN6dZA,4149
|
|
47
|
+
nectarbase/memo.py,sha256=N8PelqmmJR7UvUlwQzmwv_wtPIBcKqA6kB5sZ9PizwM,8065
|
|
48
|
+
nectarbase/objects.py,sha256=Z4fs3AiMkH3Uc2S5PvZ445b_ckgNFwML17y_fp1xzww,18441
|
|
49
|
+
nectarbase/objecttypes.py,sha256=PyjIDroIv3c44h5UZlXBvDZRc_4aaqItzvWaVjDfryM,666
|
|
50
|
+
nectarbase/operationids.py,sha256=HnpjUEHCmzect2EnczXknQ2gWAnx_f2oRknMqFxB4aQ,3680
|
|
51
|
+
nectarbase/operations.py,sha256=6pOD8I5OM8bJ321uoigh0lCqnIKiuqPXE7es0St5DN4,51090
|
|
52
|
+
nectarbase/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
|
+
nectarbase/signedtransactions.py,sha256=bhfmLGHQa4BdJVaIDLgCife4d6JGoaiSIFfAX-vJ6MU,3761
|
|
54
|
+
nectarbase/transactions.py,sha256=Jaup8IRRoivUrm65o2paD7whdh4Ebu86C7-G_NUata8,331
|
|
55
|
+
nectarbase/version.py,sha256=7BNHOO0b0B6QqMUDMi0PMKBStWCUpfKkGIY-WZJOIT0,76
|
|
56
|
+
nectargraphenebase/__init__.py,sha256=66IxULO3eMKcx-nRDFDLz0YfEvXCkty08xjt9M1WgyY,577
|
|
57
|
+
nectargraphenebase/account.py,sha256=znNTRasMzFxWHX-JOF1xItbHHAczAT0-xf_MdNWSF6w,40108
|
|
58
|
+
nectargraphenebase/aes.py,sha256=5-OgasjwWEwZHzE_NPDsoYRpjHmNroWPV32iJ_uBQQQ,1639
|
|
59
|
+
nectargraphenebase/base58.py,sha256=dQrkwG7O-ceerAPXoWcHMB4HFyvKwFd1WBWmWHT9SvA,5987
|
|
60
|
+
nectargraphenebase/bip32.py,sha256=FcOD87Wy1qdsM3x3sFDoo4EkP410GtpIOo71S3brvgw,19698
|
|
61
|
+
nectargraphenebase/bip38.py,sha256=sJI19ESlzZEStR42IIvpBmISIvcSNiKRPZptdCbLsoo,3914
|
|
62
|
+
nectargraphenebase/chains.py,sha256=SH4FxYWmLHQB3PKr3tL9dsMIWtD8laqjgUEmoS_WEIA,551
|
|
63
|
+
nectargraphenebase/dictionary.py,sha256=iDKVOp_lWOu1ymMKBHf_mhQz-xVHFR1FkXY1zcBpb8Y,360694
|
|
64
|
+
nectargraphenebase/ecdsasig.py,sha256=NWnmu6MWPNocGjCzEyIksUzymtcmDuCBGG9hmuLgEPM,13676
|
|
65
|
+
nectargraphenebase/objects.py,sha256=QosGwNkxv4C5FFDZtTJDWFC_vbfFjqaT1xo1lV7JCQU,4537
|
|
66
|
+
nectargraphenebase/objecttypes.py,sha256=JprN1HF-IpfMPwTmdc7eqBUnANfPtF9P2QPO8pWk2hI,201
|
|
67
|
+
nectargraphenebase/operationids.py,sha256=9QliVSDtFSAvgz_XqA2dgXENlKXYWvLKzRJcP1kcgB0,107
|
|
68
|
+
nectargraphenebase/operations.py,sha256=9Za1VwkHCcRlK2hf-Jhrrh39g2omd91CHoYRVCk48ZI,677
|
|
69
|
+
nectargraphenebase/prefix.py,sha256=NCftkCmU_IFTVQThuuBtFeGkvJlVGQvUm9qZsLHjBLI,314
|
|
70
|
+
nectargraphenebase/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
|
+
nectargraphenebase/signedtransactions.py,sha256=LJ4K_glq8Ac45G5IEh1nUU93aGEavFxRm3zatRHJD2s,8251
|
|
72
|
+
nectargraphenebase/types.py,sha256=Q50oqauszqupxjCuztQLBn-LZduR-915UDuHce2nfTI,13727
|
|
73
|
+
nectargraphenebase/unsignedtransactions.py,sha256=DtlLLZtUy-_3LWWPZsZhCJe4kx3TaS3hu3vzwZMOJ_E,9923
|
|
74
|
+
nectargraphenebase/version.py,sha256=7BNHOO0b0B6QqMUDMi0PMKBStWCUpfKkGIY-WZJOIT0,76
|
|
75
|
+
nectarstorage/__init__.py,sha256=XmnE2KLaZRyBXgoGcOU4m7XuRZmD21Ic4NaCczHvBu4,1748
|
|
76
|
+
nectarstorage/base.py,sha256=wxH34ZBuS5_uO6_3dalMXIZ-bkNvAQzs-OiFVWA7IpE,10184
|
|
77
|
+
nectarstorage/exceptions.py,sha256=qNl-avs18DSzrm8q6MAA4XD0v2IQeDA5aU3nJs0cYdU,397
|
|
78
|
+
nectarstorage/interfaces.py,sha256=_181PxzcbcMmzL2Wf-CIs0Mb2wNbd451HZnNLiiVA8E,7139
|
|
79
|
+
nectarstorage/masterpassword.py,sha256=KE7MTPONjjVgDiKaDwoLJu0CEFoicmtQWAddKyV2xOc,8656
|
|
80
|
+
nectarstorage/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
|
+
nectarstorage/ram.py,sha256=TPZrnyp1-hVcxwcbgnHP8XIepS6yq99t9gjc2nccP-4,933
|
|
82
|
+
nectarstorage/sqlite.py,sha256=l9s_ahojDXke8dSOiOWJ-AnQpi0iz4FIltRSkVyPBWg,11295
|
|
83
|
+
hive_nectar-0.2.9.dist-info/METADATA,sha256=hCkSvq9B1dhzy_m2iyIiX94n8nOc83K5DaftQ4X_Slw,6822
|
|
84
|
+
hive_nectar-0.2.9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
85
|
+
hive_nectar-0.2.9.dist-info/entry_points.txt,sha256=DbqiJb5fFpQvGZ0ojvc2w3dXZitTg6FPz09CobKq4m8,47
|
|
86
|
+
hive_nectar-0.2.9.dist-info/licenses/LICENSE.txt,sha256=WjJRNR4r7FuLEO2BTBLGa05T7bBecGGgH47NgKsSY0E,1158
|
|
87
|
+
hive_nectar-0.2.9.dist-info/RECORD,,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Fabian Schuh
|
|
4
|
+
2018, 2019 Holger Nahrstaedt
|
|
5
|
+
2025, Michael Garcia
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in
|
|
15
|
+
all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
+
THE SOFTWARE.
|
nectar/__init__.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""nectar."""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
|
|
5
|
+
# Quiet httpx logging
|
|
6
|
+
logging.getLogger("httpx").setLevel(logging.WARNING)
|
|
7
|
+
logging.getLogger("httpcore").setLevel(logging.WARNING)
|
|
8
|
+
|
|
9
|
+
from .hive import Hive
|
|
10
|
+
from .version import version as __version__
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"__version__",
|
|
14
|
+
"Hive",
|
|
15
|
+
"account",
|
|
16
|
+
"amount",
|
|
17
|
+
"asset",
|
|
18
|
+
"block",
|
|
19
|
+
"blockchain",
|
|
20
|
+
"blockchaininstance",
|
|
21
|
+
"market",
|
|
22
|
+
"storage",
|
|
23
|
+
"price",
|
|
24
|
+
"utils",
|
|
25
|
+
"wallet",
|
|
26
|
+
"vote",
|
|
27
|
+
"message",
|
|
28
|
+
"comment",
|
|
29
|
+
"discussions",
|
|
30
|
+
"witness",
|
|
31
|
+
"profile",
|
|
32
|
+
"nodelist",
|
|
33
|
+
"imageuploader",
|
|
34
|
+
"snapshot",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
export = __all__
|