absfuyu 3.2.0__tar.gz → 3.3.3__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.
Potentially problematic release.
This version of absfuyu might be problematic. Click here for more details.
- absfuyu-3.3.3/.gitignore +145 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/LICENSE +1 -1
- absfuyu-3.3.3/PKG-INFO +124 -0
- absfuyu-3.3.3/README.md +68 -0
- absfuyu-3.3.3/dev_requirements.txt +12 -0
- absfuyu-3.3.3/docs/Makefile +20 -0
- absfuyu-3.3.3/docs/conf.py +83 -0
- absfuyu-3.3.3/docs/index.rst +22 -0
- absfuyu-3.3.3/docs/info.md +39 -0
- absfuyu-3.3.3/docs/make.bat +35 -0
- absfuyu-3.3.3/docs/modules.rst +7 -0
- absfuyu-3.3.3/images/repository-image-white.png +0 -0
- absfuyu-3.3.3/images/repository-image.png +0 -0
- absfuyu-3.3.3/pyproject.toml +281 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/__init__.py +3 -10
- absfuyu-3.3.3/src/absfuyu/__main__.py +15 -0
- absfuyu-3.3.3/src/absfuyu/cli/__init__.py +51 -0
- absfuyu-3.3.3/src/absfuyu/cli/color.py +24 -0
- absfuyu-3.3.3/src/absfuyu/cli/config_group.py +56 -0
- absfuyu-3.3.3/src/absfuyu/cli/do_group.py +76 -0
- absfuyu-3.3.3/src/absfuyu/cli/game_group.py +109 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/config/__init__.py +55 -94
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/config/config.json +0 -7
- absfuyu-3.3.3/src/absfuyu/core.py +56 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/everything.py +7 -9
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/beautiful.py +30 -23
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/dev/__init__.py +11 -8
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/dev/password_hash.py +4 -2
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/dev/passwordlib.py +7 -5
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/dev/project_starter.py +4 -2
- absfuyu-3.3.3/src/absfuyu/extensions/dev/shutdownizer.py +156 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/extra/__init__.py +1 -2
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/extra/data_analysis.py +110 -58
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/fun/WGS.py +50 -26
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/fun/__init__.py +6 -7
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/fun/tarot.py +1 -1
- absfuyu-3.3.3/src/absfuyu/game/__init__.py +168 -0
- absfuyu-3.3.3/src/absfuyu/game/game_stat.py +36 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/game/sudoku.py +41 -48
- absfuyu-3.2.0/src/absfuyu/game/tictactoe2.py → absfuyu-3.3.3/src/absfuyu/game/tictactoe.py +37 -39
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/game/wordle.py +56 -47
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/general/__init__.py +17 -7
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/general/content.py +16 -15
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/general/data_extension.py +282 -90
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/general/generator.py +67 -67
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/general/human.py +74 -78
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/logger.py +94 -68
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/pkg_data/__init__.py +29 -25
- absfuyu-3.3.3/src/absfuyu/py.typed +0 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/sort.py +61 -47
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/__init__.py +0 -1
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/converter.py +80 -62
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/keygen.py +62 -67
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/obfuscator.py +57 -53
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/stats.py +24 -24
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/tools/web.py +10 -9
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/__init__.py +38 -40
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/api.py +53 -43
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/json_method.py +25 -27
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/lunar.py +20 -24
- absfuyu-3.3.3/src/absfuyu/util/path.py +563 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/performance.py +36 -98
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/pkl.py +8 -8
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/util/zipped.py +17 -19
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/version.py +137 -148
- absfuyu-3.3.3/tests/__init__.py +3 -0
- absfuyu-3.3.3/tests/conftest.py +14 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_beautiful.py +1 -0
- absfuyu-3.3.3/tests/test_config.py +52 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_data_analysis.py +22 -25
- absfuyu-3.3.3/tests/test_data_extension.py +464 -0
- absfuyu-3.3.3/tests/test_everything.py +115 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_extensions.py +1 -1
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_fun.py +4 -4
- absfuyu-3.3.3/tests/test_game.py +31 -0
- absfuyu-3.3.3/tests/test_generator.py +111 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_logger.py +0 -1
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_passwordlib.py +3 -4
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_pkg_data.py +1 -1
- {absfuyu-3.2.0 → absfuyu-3.3.3}/tests/test_tarot.py +0 -1
- absfuyu-3.3.3/tests/test_tools.py +70 -0
- absfuyu-3.3.3/tests/test_util.py +76 -0
- absfuyu-3.3.3/tests/test_version.py +156 -0
- absfuyu-3.2.0/MANIFEST.in +0 -9
- absfuyu-3.2.0/PKG-INFO +0 -216
- absfuyu-3.2.0/README.md +0 -86
- absfuyu-3.2.0/extra_requirements.txt +0 -57
- absfuyu-3.2.0/pyproject.toml +0 -85
- absfuyu-3.2.0/requirements.txt +0 -8
- absfuyu-3.2.0/setup.cfg +0 -4
- absfuyu-3.2.0/setup.py +0 -34
- absfuyu-3.2.0/src/absfuyu/__main__.py +0 -260
- absfuyu-3.2.0/src/absfuyu/core.py +0 -117
- absfuyu-3.2.0/src/absfuyu/extensions/dev/pkglib.py +0 -98
- absfuyu-3.2.0/src/absfuyu/extensions/dev/shutdownizer.py +0 -8
- absfuyu-3.2.0/src/absfuyu/game/__init__.py +0 -174
- absfuyu-3.2.0/src/absfuyu/game/tictactoe.py +0 -561
- absfuyu-3.2.0/src/absfuyu/util/path.py +0 -442
- absfuyu-3.2.0/src/absfuyu.egg-info/PKG-INFO +0 -216
- absfuyu-3.2.0/src/absfuyu.egg-info/SOURCES.txt +0 -86
- absfuyu-3.2.0/src/absfuyu.egg-info/dependency_links.txt +0 -1
- absfuyu-3.2.0/src/absfuyu.egg-info/entry_points.txt +0 -2
- absfuyu-3.2.0/src/absfuyu.egg-info/requires.txt +0 -102
- absfuyu-3.2.0/src/absfuyu.egg-info/top_level.txt +0 -1
- absfuyu-3.2.0/tests/test_DictExt.py +0 -47
- absfuyu-3.2.0/tests/test_IntNumber.py +0 -171
- absfuyu-3.2.0/tests/test_ListExt.py +0 -118
- absfuyu-3.2.0/tests/test_Text.py +0 -125
- absfuyu-3.2.0/tests/test_api.py +0 -29
- absfuyu-3.2.0/tests/test_config.py +0 -65
- absfuyu-3.2.0/tests/test_converter.py +0 -58
- absfuyu-3.2.0/tests/test_everything.py +0 -105
- absfuyu-3.2.0/tests/test_generator.py +0 -127
- absfuyu-3.2.0/tests/test_json_method.py +0 -26
- absfuyu-3.2.0/tests/test_obfuscator.py +0 -33
- absfuyu-3.2.0/tests/test_path.py +0 -25
- absfuyu-3.2.0/tests/test_util.py +0 -53
- absfuyu-3.2.0/tests/test_version.py +0 -354
- {absfuyu-3.2.0 → absfuyu-3.3.3}/images/repository-image-crop.png +0 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/extensions/__init__.py +0 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/pkg_data/chemistry.pkl +0 -0
- {absfuyu-3.2.0 → absfuyu-3.3.3}/src/absfuyu/pkg_data/tarot.pkl +0 -0
absfuyu-3.3.3/.gitignore
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
pip-wheel-metadata/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
olddist/
|
|
30
|
+
|
|
31
|
+
# PyInstaller
|
|
32
|
+
# Usually these files are written by a python script from a template
|
|
33
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
34
|
+
*.manifest
|
|
35
|
+
*.spec
|
|
36
|
+
|
|
37
|
+
# Installer logs
|
|
38
|
+
pip-log.txt
|
|
39
|
+
pip-delete-this-directory.txt
|
|
40
|
+
|
|
41
|
+
# Unit test / coverage reports
|
|
42
|
+
htmlcov/
|
|
43
|
+
.tox/
|
|
44
|
+
.nox/
|
|
45
|
+
.coverage
|
|
46
|
+
.coverage.*
|
|
47
|
+
.cache
|
|
48
|
+
nosetests.xml
|
|
49
|
+
coverage.xml
|
|
50
|
+
*.cover
|
|
51
|
+
*.py,cover
|
|
52
|
+
.hypothesis/
|
|
53
|
+
.pytest_cache/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
local_settings.py
|
|
62
|
+
db.sqlite3
|
|
63
|
+
db.sqlite3-journal
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
.python-version
|
|
87
|
+
|
|
88
|
+
# pipenv
|
|
89
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
90
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
91
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
92
|
+
# install all needed dependencies.
|
|
93
|
+
#Pipfile.lock
|
|
94
|
+
|
|
95
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
96
|
+
__pypackages__/
|
|
97
|
+
|
|
98
|
+
# Celery stuff
|
|
99
|
+
celerybeat-schedule
|
|
100
|
+
celerybeat.pid
|
|
101
|
+
|
|
102
|
+
# SageMath parsed files
|
|
103
|
+
*.sage.py
|
|
104
|
+
|
|
105
|
+
# Environments
|
|
106
|
+
.env
|
|
107
|
+
.venv
|
|
108
|
+
env*/
|
|
109
|
+
venv/
|
|
110
|
+
ENV/
|
|
111
|
+
env.bak/
|
|
112
|
+
venv.bak/
|
|
113
|
+
|
|
114
|
+
# Spyder project settings
|
|
115
|
+
.spyderproject
|
|
116
|
+
.spyproject
|
|
117
|
+
|
|
118
|
+
# Rope project settings
|
|
119
|
+
.ropeproject
|
|
120
|
+
|
|
121
|
+
# mkdocs documentation
|
|
122
|
+
/site
|
|
123
|
+
|
|
124
|
+
# mypy
|
|
125
|
+
.mypy_cache/
|
|
126
|
+
.dmypy.json
|
|
127
|
+
dmypy.json
|
|
128
|
+
|
|
129
|
+
# Pyre type checker
|
|
130
|
+
.pyre/
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
# PyPI
|
|
134
|
+
.pypirc
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
# docs
|
|
138
|
+
absfuyu*.rst
|
|
139
|
+
|
|
140
|
+
# VS Code
|
|
141
|
+
.vscode
|
|
142
|
+
tempCodeRunnerFile.py
|
|
143
|
+
|
|
144
|
+
testing/
|
|
145
|
+
.bash_profile
|
absfuyu-3.3.3/PKG-INFO
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: absfuyu
|
|
3
|
+
Version: 3.3.3
|
|
4
|
+
Summary: A small collection of code
|
|
5
|
+
Project-URL: Homepage, https://github.com/AbsoluteWinter/absfuyu-public
|
|
6
|
+
Project-URL: Documentation, https://absolutewinter.github.io/absfuyu-docs/
|
|
7
|
+
Project-URL: Repository, https://github.com/AbsoluteWinter/absfuyu-public
|
|
8
|
+
Project-URL: Issues, https://github.com/AbsoluteWinter/absfuyu-public/issues
|
|
9
|
+
Author: somewhatcold (AbsoluteWinter)
|
|
10
|
+
License: MIT License
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: utilities
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Natural Language :: English
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
27
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
28
|
+
Classifier: Topic :: Utilities
|
|
29
|
+
Requires-Python: <4,>=3.8
|
|
30
|
+
Requires-Dist: bs4
|
|
31
|
+
Requires-Dist: click>=8.0.0
|
|
32
|
+
Requires-Dist: colorama
|
|
33
|
+
Requires-Dist: deprecated
|
|
34
|
+
Requires-Dist: importlib-resources; python_version < '3.10'
|
|
35
|
+
Requires-Dist: python-dateutil
|
|
36
|
+
Requires-Dist: requests
|
|
37
|
+
Requires-Dist: tomli>=1.1.0; python_version < '3.11'
|
|
38
|
+
Requires-Dist: typing-extensions>=4.0.1; python_version < '3.11'
|
|
39
|
+
Requires-Dist: unidecode
|
|
40
|
+
Provides-Extra: beautiful
|
|
41
|
+
Requires-Dist: rich; extra == 'beautiful'
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: hatch; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
45
|
+
Provides-Extra: extra
|
|
46
|
+
Requires-Dist: numpy; extra == 'extra'
|
|
47
|
+
Requires-Dist: pandas; extra == 'extra'
|
|
48
|
+
Provides-Extra: full
|
|
49
|
+
Requires-Dist: absfuyu-res; extra == 'full'
|
|
50
|
+
Requires-Dist: numpy; extra == 'full'
|
|
51
|
+
Requires-Dist: pandas; extra == 'full'
|
|
52
|
+
Requires-Dist: rich; extra == 'full'
|
|
53
|
+
Provides-Extra: res
|
|
54
|
+
Requires-Dist: absfuyu-res; extra == 'res'
|
|
55
|
+
Description-Content-Type: text/markdown
|
|
56
|
+
|
|
57
|
+
<div align="center">
|
|
58
|
+
<h1 align="center">
|
|
59
|
+
<img src="https://github.com/AbsoluteWinter/AbsoluteWinter.github.io/blob/main/absfuyu/images/repository-image-crop.png?raw=true" alt="absfuyu"/>
|
|
60
|
+
</h1>
|
|
61
|
+
<p align="center">
|
|
62
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/pyversions/absfuyu?style=flat-square&logo=python" alt="PyPI Supported Versions"/></a>
|
|
63
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/dm/absfuyu?style=flat-square&color=blue" alt="PyPI Downloads"/></a>
|
|
64
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/v/absfuyu?style=flat-square&logo=pypi" /></a>
|
|
65
|
+
<a><img src="https://img.shields.io/pypi/l/absfuyu?style=flat-square&logo=github&color=blue"/></a>
|
|
66
|
+
<a><img src="https://img.shields.io/badge/code%20style-black-black?style=flat-square"/></a>
|
|
67
|
+
<a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&style=flat-square" alt="Ruff" style="max-width:100%;"></a>
|
|
68
|
+
</p>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## **SUMMARY:**
|
|
75
|
+
|
|
76
|
+
*TL;DR: A collection of code*
|
|
77
|
+
|
|
78
|
+
## **INSTALLATION:**
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
$ pip install -U absfuyu
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## **USAGE:**
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
import absfuyu
|
|
88
|
+
help(absfuyu)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## **DOCUMENTATION:**
|
|
92
|
+
|
|
93
|
+
> [here](https://absolutewinter.github.io/absfuyu/)
|
|
94
|
+
|
|
95
|
+
## **DEV SETUP**
|
|
96
|
+
|
|
97
|
+
1. Create virtual environment
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
python -m venv env
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Note: Might need to run this in powershell (windows)
|
|
104
|
+
|
|
105
|
+
```powershell
|
|
106
|
+
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
2. Install required packages
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
python -m pip install -e .[full,dev]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
3. Getting info of dev environment
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
hatch env show
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## **LICENSE:**
|
|
123
|
+
|
|
124
|
+
MIT License
|
absfuyu-3.3.3/README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1 align="center">
|
|
3
|
+
<img src="https://github.com/AbsoluteWinter/AbsoluteWinter.github.io/blob/main/absfuyu/images/repository-image-crop.png?raw=true" alt="absfuyu"/>
|
|
4
|
+
</h1>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/pyversions/absfuyu?style=flat-square&logo=python" alt="PyPI Supported Versions"/></a>
|
|
7
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/dm/absfuyu?style=flat-square&color=blue" alt="PyPI Downloads"/></a>
|
|
8
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/v/absfuyu?style=flat-square&logo=pypi" /></a>
|
|
9
|
+
<a><img src="https://img.shields.io/pypi/l/absfuyu?style=flat-square&logo=github&color=blue"/></a>
|
|
10
|
+
<a><img src="https://img.shields.io/badge/code%20style-black-black?style=flat-square"/></a>
|
|
11
|
+
<a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&style=flat-square" alt="Ruff" style="max-width:100%;"></a>
|
|
12
|
+
</p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## **SUMMARY:**
|
|
19
|
+
|
|
20
|
+
*TL;DR: A collection of code*
|
|
21
|
+
|
|
22
|
+
## **INSTALLATION:**
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
$ pip install -U absfuyu
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## **USAGE:**
|
|
29
|
+
|
|
30
|
+
```python
|
|
31
|
+
import absfuyu
|
|
32
|
+
help(absfuyu)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## **DOCUMENTATION:**
|
|
36
|
+
|
|
37
|
+
> [here](https://absolutewinter.github.io/absfuyu/)
|
|
38
|
+
|
|
39
|
+
## **DEV SETUP**
|
|
40
|
+
|
|
41
|
+
1. Create virtual environment
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
python -m venv env
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Note: Might need to run this in powershell (windows)
|
|
48
|
+
|
|
49
|
+
```powershell
|
|
50
|
+
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
2. Install required packages
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
python -m pip install -e .[full,dev]
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
3. Getting info of dev environment
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
hatch env show
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## **LICENSE:**
|
|
67
|
+
|
|
68
|
+
MIT License
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = .
|
|
9
|
+
BUILDDIR = _build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# For the full list of built-in configuration values, see the documentation:
|
|
4
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
5
|
+
|
|
6
|
+
import os
|
|
7
|
+
import sys
|
|
8
|
+
from datetime import datetime
|
|
9
|
+
|
|
10
|
+
sys.path.insert(0, os.path.abspath(".."))
|
|
11
|
+
|
|
12
|
+
from absfuyu import __author__, __title__, __version__
|
|
13
|
+
|
|
14
|
+
# -- Project information -----------------------------------------------------
|
|
15
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
16
|
+
|
|
17
|
+
project = __title__
|
|
18
|
+
copyright = f"2022-{datetime.now().year}, {__author__}"
|
|
19
|
+
author = __author__
|
|
20
|
+
version = __version__
|
|
21
|
+
release = version
|
|
22
|
+
|
|
23
|
+
# -- General configuration ---------------------------------------------------
|
|
24
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
25
|
+
|
|
26
|
+
extensions = [
|
|
27
|
+
"sphinx.ext.autodoc", # include documentation
|
|
28
|
+
"sphinx.ext.autosummary",
|
|
29
|
+
"sphinx.ext.coverage", # docs coverage
|
|
30
|
+
"sphinx.ext.doctest", # test docs
|
|
31
|
+
"sphinx.ext.duration",
|
|
32
|
+
# "sphinx.ext.extlinks", # short link
|
|
33
|
+
"sphinx.ext.githubpages",
|
|
34
|
+
"sphinx.ext.napoleon",
|
|
35
|
+
# "sphinx.ext.viewcode" # This shows source code
|
|
36
|
+
"sphinx_copybutton",
|
|
37
|
+
"myst_parser", # Markdown support
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
templates_path = [
|
|
41
|
+
"_templates"
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
exclude_patterns = [
|
|
45
|
+
"_build", "Thumbs.db", ".DS_Store"
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
language = "en"
|
|
49
|
+
|
|
50
|
+
source_suffix = {
|
|
51
|
+
".rst": "restructuredtext",
|
|
52
|
+
".txt": "markdown",
|
|
53
|
+
".md": "markdown",
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# -- Options for HTML output -------------------------------------------------
|
|
58
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
# html_title = f"ABSFUYU'S DOCUMENTATION v{__version__}"
|
|
62
|
+
|
|
63
|
+
html_theme = "sphinx_rtd_theme"
|
|
64
|
+
html_static_path = ["_static"]
|
|
65
|
+
|
|
66
|
+
# If true, links to the reST sources are added to the pages.
|
|
67
|
+
html_show_sourcelink = False
|
|
68
|
+
|
|
69
|
+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
|
70
|
+
html_show_sphinx = False
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# -- Extension configuration -------------------------------------------------
|
|
74
|
+
|
|
75
|
+
autodoc_member_order = "bysource"
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# -- sphinx-copybutton configuration ----------------------------------------
|
|
79
|
+
copybutton_prompt_text = (
|
|
80
|
+
r">>> |\.\.\. |> |\$ |\# | In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
|
|
81
|
+
)
|
|
82
|
+
copybutton_prompt_is_regexp = True
|
|
83
|
+
copybutton_remove_prompts = True
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.. absfuyu documentation master file, created by
|
|
2
|
+
sphinx-quickstart on Sun Dec 18 15:34:19 2022.
|
|
3
|
+
You can adapt this file completely to your liking, but it should at least
|
|
4
|
+
contain the root `toctree` directive.
|
|
5
|
+
|
|
6
|
+
Welcome to absfuyu's documentation!
|
|
7
|
+
===================================
|
|
8
|
+
|
|
9
|
+
.. toctree::
|
|
10
|
+
:maxdepth: 3
|
|
11
|
+
:caption: Contents:
|
|
12
|
+
|
|
13
|
+
info
|
|
14
|
+
modules
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Indices and tables
|
|
18
|
+
==================
|
|
19
|
+
|
|
20
|
+
* :ref:`genindex`
|
|
21
|
+
* :ref:`modindex`
|
|
22
|
+
* :ref:`search`
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1 align="center">
|
|
3
|
+
<img src="https://github.com/AbsoluteWinter/AbsoluteWinter.github.io/blob/main/absfuyu/images/repository-image-crop.png?raw=true" alt="absfuyu"/>
|
|
4
|
+
</h1>
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/pyversions/absfuyu?style=flat-square&logo=python" alt="PyPI Supported Versions"/></a>
|
|
7
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/dm/absfuyu?style=flat-square&color=blue" alt="PyPI Downloads"/></a>
|
|
8
|
+
<a href="https://pypi.org/project/absfuyu/"><img src="https://img.shields.io/pypi/v/absfuyu?style=flat-square&logo=pypi" /></a>
|
|
9
|
+
<a><img src="https://img.shields.io/pypi/l/absfuyu?style=flat-square&logo=github&color=blue"/></a>
|
|
10
|
+
<a><img src="https://img.shields.io/badge/code%20style-black-black?style=flat-square"/></a>
|
|
11
|
+
<a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&style=flat-square" alt="Ruff" style="max-width:100%;"></a>
|
|
12
|
+
</p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# **BASIC INFO**
|
|
19
|
+
|
|
20
|
+
## SUMMARY
|
|
21
|
+
|
|
22
|
+
*TL;DR: A collection of code*
|
|
23
|
+
|
|
24
|
+
## INSTALLATION
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
$ pip install -U absfuyu
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## USAGE
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
import absfuyu
|
|
34
|
+
help(absfuyu)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## LICENSE
|
|
38
|
+
|
|
39
|
+
MIT License
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=.
|
|
11
|
+
set BUILDDIR=_build
|
|
12
|
+
|
|
13
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
+
if errorlevel 9009 (
|
|
15
|
+
echo.
|
|
16
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
+
echo.may add the Sphinx directory to PATH.
|
|
20
|
+
echo.
|
|
21
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
+
echo.https://www.sphinx-doc.org/
|
|
23
|
+
exit /b 1
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
if "%1" == "" goto help
|
|
27
|
+
|
|
28
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
+
goto end
|
|
30
|
+
|
|
31
|
+
:help
|
|
32
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
+
|
|
34
|
+
:end
|
|
35
|
+
popd
|
|
Binary file
|
|
Binary file
|