abide 0.0.1__tar.gz
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.
- abide-0.0.1/MANIFEST.in +3 -0
- abide-0.0.1/PKG-INFO +46 -0
- abide-0.0.1/README.md +20 -0
- abide-0.0.1/abide/__init__.py +4 -0
- abide-0.0.1/abide.egg-info/PKG-INFO +46 -0
- abide-0.0.1/abide.egg-info/SOURCES.txt +11 -0
- abide-0.0.1/abide.egg-info/dependency_links.txt +1 -0
- abide-0.0.1/abide.egg-info/entry_points.txt +2 -0
- abide-0.0.1/abide.egg-info/requires.txt +29 -0
- abide-0.0.1/abide.egg-info/top_level.txt +1 -0
- abide-0.0.1/requirements.txt +23 -0
- abide-0.0.1/setup.cfg +4 -0
- abide-0.0.1/setup.py +116 -0
abide-0.0.1/MANIFEST.in
ADDED
abide-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: abide
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A Python package for intelligent information bagging system
|
|
5
|
+
Home-page: https://github.com/lqxnjk/abide
|
|
6
|
+
Author: lqxnjk
|
|
7
|
+
Author-email: lqxnjk@qq.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Bug Reports, https://github.com/lqxnjk/abide/issues
|
|
10
|
+
Project-URL: Source, https://github.com/lqxnjk/abide
|
|
11
|
+
Keywords: rule,tool,data
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering
|
|
20
|
+
Requires-Python: >=3.7
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Provides-Extra: plot
|
|
24
|
+
Provides-Extra: gpu
|
|
25
|
+
Provides-Extra: full
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
pip install -r ./requirements.txt -i https://mirrors.tencent.com/pypi/simple
|
|
29
|
+
pip install wheel setuptools -i https://mirrors.tencent.com/pypi/simple
|
|
30
|
+
python -m pip install twine -i https://mirrors.tencent.com/pypi/simple
|
|
31
|
+
python setup.py sdist bdist_wheel
|
|
32
|
+
python -m build
|
|
33
|
+
pip install .
|
|
34
|
+
pip install -e .
|
|
35
|
+
pip install -e .[dev]
|
|
36
|
+
python -m twine upload dist/*
|
|
37
|
+
```
|
|
38
|
+
```shell
|
|
39
|
+
pip install -e .
|
|
40
|
+
```
|
|
41
|
+
```shell
|
|
42
|
+
python setup.py sdist bdist_wheel
|
|
43
|
+
```
|
|
44
|
+
```shell
|
|
45
|
+
python -m twine upload dist/*
|
|
46
|
+
```
|
abide-0.0.1/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
```
|
|
2
|
+
pip install -r ./requirements.txt -i https://mirrors.tencent.com/pypi/simple
|
|
3
|
+
pip install wheel setuptools -i https://mirrors.tencent.com/pypi/simple
|
|
4
|
+
python -m pip install twine -i https://mirrors.tencent.com/pypi/simple
|
|
5
|
+
python setup.py sdist bdist_wheel
|
|
6
|
+
python -m build
|
|
7
|
+
pip install .
|
|
8
|
+
pip install -e .
|
|
9
|
+
pip install -e .[dev]
|
|
10
|
+
python -m twine upload dist/*
|
|
11
|
+
```
|
|
12
|
+
```shell
|
|
13
|
+
pip install -e .
|
|
14
|
+
```
|
|
15
|
+
```shell
|
|
16
|
+
python setup.py sdist bdist_wheel
|
|
17
|
+
```
|
|
18
|
+
```shell
|
|
19
|
+
python -m twine upload dist/*
|
|
20
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: abide
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A Python package for intelligent information bagging system
|
|
5
|
+
Home-page: https://github.com/lqxnjk/abide
|
|
6
|
+
Author: lqxnjk
|
|
7
|
+
Author-email: lqxnjk@qq.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Bug Reports, https://github.com/lqxnjk/abide/issues
|
|
10
|
+
Project-URL: Source, https://github.com/lqxnjk/abide
|
|
11
|
+
Keywords: rule,tool,data
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering
|
|
20
|
+
Requires-Python: >=3.7
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Provides-Extra: plot
|
|
24
|
+
Provides-Extra: gpu
|
|
25
|
+
Provides-Extra: full
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
pip install -r ./requirements.txt -i https://mirrors.tencent.com/pypi/simple
|
|
29
|
+
pip install wheel setuptools -i https://mirrors.tencent.com/pypi/simple
|
|
30
|
+
python -m pip install twine -i https://mirrors.tencent.com/pypi/simple
|
|
31
|
+
python setup.py sdist bdist_wheel
|
|
32
|
+
python -m build
|
|
33
|
+
pip install .
|
|
34
|
+
pip install -e .
|
|
35
|
+
pip install -e .[dev]
|
|
36
|
+
python -m twine upload dist/*
|
|
37
|
+
```
|
|
38
|
+
```shell
|
|
39
|
+
pip install -e .
|
|
40
|
+
```
|
|
41
|
+
```shell
|
|
42
|
+
python setup.py sdist bdist_wheel
|
|
43
|
+
```
|
|
44
|
+
```shell
|
|
45
|
+
python -m twine upload dist/*
|
|
46
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
MANIFEST.in
|
|
2
|
+
README.md
|
|
3
|
+
requirements.txt
|
|
4
|
+
setup.py
|
|
5
|
+
abide/__init__.py
|
|
6
|
+
abide.egg-info/PKG-INFO
|
|
7
|
+
abide.egg-info/SOURCES.txt
|
|
8
|
+
abide.egg-info/dependency_links.txt
|
|
9
|
+
abide.egg-info/entry_points.txt
|
|
10
|
+
abide.egg-info/requires.txt
|
|
11
|
+
abide.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
typing_extensions
|
|
2
|
+
requests
|
|
3
|
+
deepdiff
|
|
4
|
+
orjson
|
|
5
|
+
pytz
|
|
6
|
+
selenium
|
|
7
|
+
webdriver_manager
|
|
8
|
+
pyyaml
|
|
9
|
+
ruamel.yaml
|
|
10
|
+
cos-python-sdk-v5
|
|
11
|
+
pyroaring
|
|
12
|
+
psycopg2
|
|
13
|
+
pandas
|
|
14
|
+
numpy
|
|
15
|
+
xlrd
|
|
16
|
+
|
|
17
|
+
[:python_version < "3.8"]
|
|
18
|
+
typing-extensions
|
|
19
|
+
|
|
20
|
+
[dev]
|
|
21
|
+
|
|
22
|
+
[full]
|
|
23
|
+
abide[dev]
|
|
24
|
+
abide[plot]
|
|
25
|
+
abide[gpu]
|
|
26
|
+
|
|
27
|
+
[gpu]
|
|
28
|
+
|
|
29
|
+
[plot]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
abide
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
--extra-index-url https://mirrors.tencent.com/pypi/simple
|
|
2
|
+
# pip config set global.index-url https://mirrors.tencent.com/pypi/simple
|
|
3
|
+
# pip config unset global.index-url
|
|
4
|
+
# python -m pip install --upgrade --force-reinstall pip -i https://mirrors.tencent.com/pypi/simple
|
|
5
|
+
# pip install -r ./requirements.txt -i https://mirrors.tencent.com/pypi/simple
|
|
6
|
+
# --default-timeout=100
|
|
7
|
+
#------------------------------------------------------------------------------------------------------------
|
|
8
|
+
typing_extensions
|
|
9
|
+
requests
|
|
10
|
+
deepdiff
|
|
11
|
+
orjson
|
|
12
|
+
pytz
|
|
13
|
+
|
|
14
|
+
selenium
|
|
15
|
+
webdriver_manager
|
|
16
|
+
pyyaml
|
|
17
|
+
ruamel.yaml
|
|
18
|
+
cos-python-sdk-v5
|
|
19
|
+
pyroaring
|
|
20
|
+
psycopg2
|
|
21
|
+
pandas
|
|
22
|
+
numpy
|
|
23
|
+
xlrd
|
abide-0.0.1/setup.cfg
ADDED
abide-0.0.1/setup.py
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
LIBRARY = "abide"
|
|
2
|
+
VERSION = "0.0.1"
|
|
3
|
+
|
|
4
|
+
AUTHOR = "lqxnjk"
|
|
5
|
+
AUTHOR_EMAIL = "lqxnjk@qq.com"
|
|
6
|
+
DESCRIPTION = "A Python package for intelligent information bagging system"
|
|
7
|
+
LICENSE = "MIT"
|
|
8
|
+
PYTHON_REQUIRES = ">=3.7"
|
|
9
|
+
URL = f"https://github.com/lqxnjk/{LIBRARY}"
|
|
10
|
+
|
|
11
|
+
PROJECT_URLS = {
|
|
12
|
+
'Bug Reports': f'{URL}/issues',
|
|
13
|
+
'Source': URL,
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
# Package discovery
|
|
17
|
+
PACKAGE_EXCLUDES = ['tests*', 'docs*', 'examples*']
|
|
18
|
+
|
|
19
|
+
# Classifiers
|
|
20
|
+
CLASSIFIERS = [
|
|
21
|
+
"Development Status :: 3 - Alpha",
|
|
22
|
+
"Intended Audience :: Developers",
|
|
23
|
+
"Intended Audience :: Science/Research",
|
|
24
|
+
"Programming Language :: Python :: 3.7",
|
|
25
|
+
"License :: OSI Approved :: MIT License",
|
|
26
|
+
"Operating System :: OS Independent",
|
|
27
|
+
"Topic :: Software Development :: Libraries",
|
|
28
|
+
"Topic :: Scientific/Engineering",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
# Keywords
|
|
32
|
+
KEYWORDS = ["rule", "tool", "data"]
|
|
33
|
+
|
|
34
|
+
# Package data
|
|
35
|
+
PACKAGE_DATA = {
|
|
36
|
+
LIBRARY: ['data/*.json', 'data/*.csv'],
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
# 定义命令行工具
|
|
40
|
+
ENTRY_POINTS = {
|
|
41
|
+
'console_scripts': [ # 命令行工具,用户安装后可以在终端运行的命令
|
|
42
|
+
f'{LIBRARY}_version = {LIBRARY}.__init__:version',
|
|
43
|
+
],
|
|
44
|
+
'gui_scripts': [ # 让你的 Python 代码可以被其他工具(如桌面应用、IDE)动态调用
|
|
45
|
+
# "my-gui-app = my_package.gui:run_app", # 命令名 = 模块名:函数名
|
|
46
|
+
],
|
|
47
|
+
"flask.blueprints": [ # Flask 蓝图(扩展)
|
|
48
|
+
# "my_bp = my_package.blueprint", # 插件名 = 模块名
|
|
49
|
+
],
|
|
50
|
+
"pytest11": [ # pytest 的插件入口点
|
|
51
|
+
# "my_plugin = my_package.plugin", # 插件名 = 模块名
|
|
52
|
+
],
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
EXTRAS_REQUIRE = {
|
|
56
|
+
':python_version < "3.8"': ['typing-extensions'],
|
|
57
|
+
'dev': [
|
|
58
|
+
# 'pytest>=6.0',
|
|
59
|
+
# 'pytest-cov>=2.0',
|
|
60
|
+
# 'flake8>=3.9',
|
|
61
|
+
# 'mypy>=0.910',
|
|
62
|
+
# 'sphinx>=4.0',
|
|
63
|
+
],
|
|
64
|
+
'plot': [
|
|
65
|
+
# 'matplotlib>=3.0',
|
|
66
|
+
# 'seaborn>=0.11',
|
|
67
|
+
],
|
|
68
|
+
'gpu': [
|
|
69
|
+
# 'cupy>=10.0'
|
|
70
|
+
],
|
|
71
|
+
'full': [f'{LIBRARY}[dev]', f'{LIBRARY}[plot]', f'{LIBRARY}[gpu]']
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def readme_text():
|
|
76
|
+
"""Read README.md content as long description."""
|
|
77
|
+
with open('README.md', 'r', encoding='utf-8') as f:
|
|
78
|
+
return f.read()
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def requirements_list():
|
|
82
|
+
"""Read requirements from requirements.txt."""
|
|
83
|
+
import pathlib
|
|
84
|
+
with open(pathlib.Path(__file__).absolute().parent / 'requirements.txt', 'r', encoding='utf-8') as f:
|
|
85
|
+
return [
|
|
86
|
+
line.strip() for line in f
|
|
87
|
+
if line.strip()
|
|
88
|
+
and not line.startswith('#')
|
|
89
|
+
and not line.startswith('--')
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
# ========== Setup Configuration ==========
|
|
94
|
+
import setuptools
|
|
95
|
+
|
|
96
|
+
setuptools.setup(
|
|
97
|
+
name=LIBRARY,
|
|
98
|
+
version=VERSION,
|
|
99
|
+
packages=setuptools.find_packages(exclude=PACKAGE_EXCLUDES),
|
|
100
|
+
install_requires=requirements_list(),
|
|
101
|
+
extras_require=EXTRAS_REQUIRE,
|
|
102
|
+
include_package_data=True,
|
|
103
|
+
package_data=PACKAGE_DATA,
|
|
104
|
+
author=AUTHOR,
|
|
105
|
+
author_email=AUTHOR_EMAIL,
|
|
106
|
+
description=DESCRIPTION,
|
|
107
|
+
long_description=readme_text(),
|
|
108
|
+
long_description_content_type='text/markdown',
|
|
109
|
+
url=URL,
|
|
110
|
+
project_urls=PROJECT_URLS,
|
|
111
|
+
classifiers=CLASSIFIERS,
|
|
112
|
+
python_requires=PYTHON_REQUIRES,
|
|
113
|
+
entry_points=ENTRY_POINTS,
|
|
114
|
+
license=LICENSE,
|
|
115
|
+
keywords=KEYWORDS,
|
|
116
|
+
)
|