• R/O
  • HTTP
  • SSH
  • HTTPS

pybtm: 提交

Python3 implementation of the Bytom protocol. https://pypi.org/project/pybtm/


Commit MetaInfo

修订版b0835da2e041955d0d93c5118dcacfa8c177ae27 (tree)
时间2019-03-27 12:20:04
作者Chengcheng Zhang <943420582@qq.c...>
CommiterChengcheng Zhang

Log Message

add install_requires

更改概述

差异

--- a/README.md
+++ b/README.md
@@ -31,14 +31,19 @@ get_entropy() create 128 bits entropy.
3131
3232 ### 2.2 Create mnemonics
3333
34-get_mnemonic create 12 new mnemonics, if no paramater is specified, it will return 12 new random mnemonics.
34+get_mnemonic create 12 new mnemonics.
35+
36+```python
37+>>> key.get_mnemonic('089fe9bf0cac76760bc4b131d938669e')
38+'ancient young hurt bone shuffle deposit congress normal crack six boost despair'
39+```
40+
41+If no paramater is specified, it will return 12 new random mnemonics.
3542
3643 ```python
3744 >>> from pybtm import key
3845 >>> key.get_mnemonic()
3946 'nothing gate perfect glide wink lizard journey negative load quote wrong reason'
40->>> key.get_mnemonic('089fe9bf0cac76760bc4b131d938669e')
41-'ancient young hurt bone shuffle deposit congress normal crack six boost despair'
4247 ```
4348
4449 ### 2.3 Create seed
--- a/pybtm/__init__.py
+++ b/pybtm/__init__.py
@@ -1,2 +1,2 @@
11 name = "pybtm"
2-version = "0.0.14"
\ No newline at end of file
2+version = "0.0.15"
\ No newline at end of file
--- a/setup.py
+++ b/setup.py
@@ -5,16 +5,21 @@ with open("README.md", "r") as fh:
55
66 setuptools.setup(
77 name="pybtm",
8- version="0.0.14",
8+ version="0.0.15",
99 author="zcc0721",
1010 author_email="zcc0721@foxmail.com",
1111 description="Python3 implementation of the Bytom protocol.",
1212 long_description=long_description,
1313 long_description_content_type="text/markdown",
1414 url="https://github.com/Bytom/pybtm",
15- packages=[
16- "ed25519",
17- "pybase64"
15+ packages=setuptools.find_packages(),
16+ install_requires=[
17+ "ed25519>=1.4",
18+ "pbkdf2>=1.3",
19+ "pybase64>=0.5.0",
20+ "qrcode>=6.1",
21+ "sha3>=0.2.1",
22+ "six>=1.12.0"
1823 ],
1924 classifiers=[
2025 "Programming Language :: Python :: 3",
Show on old repository browser