docstub 0.1.0__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.
- docstub-0.1.0/.gitignore +87 -0
- docstub-0.1.0/.pre-commit-config.yaml +46 -0
- docstub-0.1.0/LICENSE +29 -0
- docstub-0.1.0/PKG-INFO +83 -0
- docstub-0.1.0/README.md +29 -0
- docstub-0.1.0/pyproject.toml +73 -0
- docstub-0.1.0/setup.cfg +4 -0
- docstub-0.1.0/src/docstub/__init__.py +9 -0
- docstub-0.1.0/src/docstub/_version.py +16 -0
- docstub-0.1.0/src/docstub.egg-info/PKG-INFO +83 -0
- docstub-0.1.0/src/docstub.egg-info/SOURCES.txt +12 -0
- docstub-0.1.0/src/docstub.egg-info/dependency_links.txt +1 -0
- docstub-0.1.0/src/docstub.egg-info/requires.txt +3 -0
- docstub-0.1.0/src/docstub.egg-info/top_level.txt +1 -0
docstub-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# Distribution / packaging
|
|
7
|
+
.Python
|
|
8
|
+
build/
|
|
9
|
+
develop-eggs/
|
|
10
|
+
dist/
|
|
11
|
+
downloads/
|
|
12
|
+
eggs/
|
|
13
|
+
.eggs/
|
|
14
|
+
lib/
|
|
15
|
+
lib64/
|
|
16
|
+
parts/
|
|
17
|
+
sdist/
|
|
18
|
+
var/
|
|
19
|
+
wheels/
|
|
20
|
+
share/python-wheels/
|
|
21
|
+
*.egg-info/
|
|
22
|
+
.installed.cfg
|
|
23
|
+
*.egg
|
|
24
|
+
MANIFEST
|
|
25
|
+
|
|
26
|
+
# Installer logs
|
|
27
|
+
pip-log.txt
|
|
28
|
+
pip-delete-this-directory.txt
|
|
29
|
+
|
|
30
|
+
# Unit test / coverage reports
|
|
31
|
+
htmlcov/
|
|
32
|
+
.tox/
|
|
33
|
+
.nox/
|
|
34
|
+
.coverage
|
|
35
|
+
.coverage.*
|
|
36
|
+
.cache
|
|
37
|
+
nosetests.xml
|
|
38
|
+
coverage.xml
|
|
39
|
+
*.cover
|
|
40
|
+
*.py,cover
|
|
41
|
+
.hypothesis/
|
|
42
|
+
.pytest_cache/
|
|
43
|
+
cover/
|
|
44
|
+
|
|
45
|
+
# Jupyter Notebook
|
|
46
|
+
.ipynb_checkpoints
|
|
47
|
+
|
|
48
|
+
# IPython
|
|
49
|
+
profile_default/
|
|
50
|
+
ipython_config.py
|
|
51
|
+
|
|
52
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
53
|
+
__pypackages__/
|
|
54
|
+
|
|
55
|
+
# Environments
|
|
56
|
+
.env
|
|
57
|
+
.venv
|
|
58
|
+
env/
|
|
59
|
+
venv/
|
|
60
|
+
ENV/
|
|
61
|
+
env.bak/
|
|
62
|
+
venv.bak/
|
|
63
|
+
|
|
64
|
+
# Common IDEs
|
|
65
|
+
.idea
|
|
66
|
+
.vscode
|
|
67
|
+
.spyderproject
|
|
68
|
+
.spyproject
|
|
69
|
+
|
|
70
|
+
# setuptools_scm
|
|
71
|
+
src/*/_version.py
|
|
72
|
+
|
|
73
|
+
# ruff
|
|
74
|
+
.ruff_cache/
|
|
75
|
+
|
|
76
|
+
# OS specific stuff
|
|
77
|
+
.DS_Store
|
|
78
|
+
.DS_Store?
|
|
79
|
+
._*
|
|
80
|
+
.Spotlight-V100
|
|
81
|
+
.Trashes
|
|
82
|
+
ehthumbs.db
|
|
83
|
+
Thumbs.db
|
|
84
|
+
|
|
85
|
+
# Common editor files
|
|
86
|
+
*~
|
|
87
|
+
*.swp
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Install pre-commit hooks via "pre-commit install"
|
|
2
|
+
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: "2c9f875913ee60ca25ce70243dc24d5b6415598c" # frozen: v4.6.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: check-added-large-files
|
|
8
|
+
- id: check-ast
|
|
9
|
+
- id: check-builtin-literals
|
|
10
|
+
- id: check-case-conflict
|
|
11
|
+
- id: check-merge-conflict
|
|
12
|
+
- id: check-symlinks
|
|
13
|
+
- id: check-yaml
|
|
14
|
+
args: [--allow-multiple-documents]
|
|
15
|
+
- id: check-json
|
|
16
|
+
- id: check-toml
|
|
17
|
+
- id: debug-statements
|
|
18
|
+
- id: end-of-file-fixer
|
|
19
|
+
- id: mixed-line-ending
|
|
20
|
+
- id: name-tests-test
|
|
21
|
+
args: ["--pytest-test-first"]
|
|
22
|
+
- id: requirements-txt-fixer
|
|
23
|
+
- id: trailing-whitespace
|
|
24
|
+
|
|
25
|
+
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
26
|
+
rev: "3a6eb0fadf60b3cccfd80bad9dbb6fae7e47b316" # frozen: v1.10.0
|
|
27
|
+
hooks:
|
|
28
|
+
- id: rst-backticks
|
|
29
|
+
- id: rst-directive-colons
|
|
30
|
+
- id: rst-inline-touching-normal
|
|
31
|
+
|
|
32
|
+
- repo: https://github.com/psf/black
|
|
33
|
+
rev: "3702ba224ecffbcec30af640c149f231d90aebdb" # frozen: 24.4.2
|
|
34
|
+
hooks:
|
|
35
|
+
- id: black
|
|
36
|
+
|
|
37
|
+
- repo: https://github.com/adamchainz/blacken-docs
|
|
38
|
+
rev: "960ead214cd1184149d366c6d27ca6c369ce46b6" # frozen: 1.16.0
|
|
39
|
+
hooks:
|
|
40
|
+
- id: blacken-docs
|
|
41
|
+
|
|
42
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
43
|
+
rev: "596470fba20d04adc68ec7903ff69a12e5e1a8d3" # frozen: v0.4.2
|
|
44
|
+
hooks:
|
|
45
|
+
- id: ruff
|
|
46
|
+
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
|
docstub-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, Lars Grüter.
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
* Neither the name of the vector package developers nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
docstub-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: docstub
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generate Python stub files (PYI) from docstrings
|
|
5
|
+
Author: Lars Grüter
|
|
6
|
+
License: BSD 3-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2024, Lars Grüter.
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer in the documentation
|
|
19
|
+
and/or other materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
* Neither the name of the vector package developers nor the names of its
|
|
22
|
+
contributors may be used to endorse or promote products derived from
|
|
23
|
+
this software without specific prior written permission.
|
|
24
|
+
|
|
25
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
28
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
29
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
31
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
32
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
33
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
+
|
|
36
|
+
Project-URL: Home, https://github.com/lagru/docstub
|
|
37
|
+
Classifier: Development Status :: 1 - Planning
|
|
38
|
+
Classifier: Intended Audience :: Developers
|
|
39
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
40
|
+
Classifier: Operating System :: OS Independent
|
|
41
|
+
Classifier: Programming Language :: Python
|
|
42
|
+
Classifier: Programming Language :: Python :: 3
|
|
43
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
46
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
47
|
+
Classifier: Topic :: Scientific/Engineering
|
|
48
|
+
Classifier: Typing :: Typed
|
|
49
|
+
Requires-Python: >=3.10
|
|
50
|
+
Description-Content-Type: text/markdown
|
|
51
|
+
License-File: LICENSE
|
|
52
|
+
Provides-Extra: dev
|
|
53
|
+
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
54
|
+
|
|
55
|
+
# docstub
|
|
56
|
+
|
|
57
|
+
> [!NOTE]
|
|
58
|
+
> In early development!
|
|
59
|
+
|
|
60
|
+
A command line tool to generate Python stub files (PYI) from type descriptions
|
|
61
|
+
in NumPyDoc style docstrings.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
```shell
|
|
67
|
+
pip install git+https://github.com/lagru/docstub
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Usage & configuration
|
|
72
|
+
|
|
73
|
+
TBD
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## Contributing
|
|
77
|
+
|
|
78
|
+
TBD
|
|
79
|
+
|
|
80
|
+
## Acknowledgements
|
|
81
|
+
|
|
82
|
+
Thanks to [docs2stubs](https://github.com/gramster/docs2stubs) by which this
|
|
83
|
+
project was heavily inspired and influenced.
|
docstub-0.1.0/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# docstub
|
|
2
|
+
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> In early development!
|
|
5
|
+
|
|
6
|
+
A command line tool to generate Python stub files (PYI) from type descriptions
|
|
7
|
+
in NumPyDoc style docstrings.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```shell
|
|
13
|
+
pip install git+https://github.com/lagru/docstub
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## Usage & configuration
|
|
18
|
+
|
|
19
|
+
TBD
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## Contributing
|
|
23
|
+
|
|
24
|
+
TBD
|
|
25
|
+
|
|
26
|
+
## Acknowledgements
|
|
27
|
+
|
|
28
|
+
Thanks to [docs2stubs](https://github.com/gramster/docs2stubs) by which this
|
|
29
|
+
project was heavily inspired and influenced.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "docstub"
|
|
7
|
+
authors = [
|
|
8
|
+
{name = "Lars Grüter"},
|
|
9
|
+
]
|
|
10
|
+
description = "Generate Python stub files (PYI) from docstrings"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
license.file = "LICENSE"
|
|
13
|
+
requires-python = ">=3.10"
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 1 - Planning",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: BSD License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Topic :: Scientific/Engineering",
|
|
26
|
+
"Typing :: Typed",
|
|
27
|
+
]
|
|
28
|
+
dynamic = ["version"]
|
|
29
|
+
dependencies = []
|
|
30
|
+
|
|
31
|
+
[project.optional-dependencies]
|
|
32
|
+
dev = [
|
|
33
|
+
"pre-commit >=3.7",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Home = "https://github.com/lagru/docstub"
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
[tool.setuptools_scm]
|
|
41
|
+
write_to = "src/docstub/_version.py"
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
[tool.ruff]
|
|
45
|
+
src = ["src"]
|
|
46
|
+
|
|
47
|
+
[tool.ruff.lint]
|
|
48
|
+
extend-select = [
|
|
49
|
+
"B", # flake8-bugbear
|
|
50
|
+
"I", # isort
|
|
51
|
+
"ARG", # flake8-unused-arguments
|
|
52
|
+
"C4", # flake8-comprehensions
|
|
53
|
+
"EM", # flake8-errmsg
|
|
54
|
+
"ICN", # flake8-import-conventions
|
|
55
|
+
"G", # flake8-logging-format
|
|
56
|
+
"PGH", # pygrep-hooks
|
|
57
|
+
"PIE", # flake8-pie
|
|
58
|
+
"PL", # pylint
|
|
59
|
+
"PT", # flake8-pytest-style
|
|
60
|
+
"PTH", # flake8-use-pathlib
|
|
61
|
+
"RET", # flake8-return
|
|
62
|
+
"RUF", # Ruff-specific
|
|
63
|
+
"SIM", # flake8-simplify
|
|
64
|
+
"T20", # flake8-print
|
|
65
|
+
"UP", # pyupgrade
|
|
66
|
+
"YTT", # flake8-2020
|
|
67
|
+
"EXE", # flake8-executable
|
|
68
|
+
]
|
|
69
|
+
ignore = [
|
|
70
|
+
"PLR09", # Too many <...>
|
|
71
|
+
"PLR2004", # Magic value used in comparison
|
|
72
|
+
"ISC001", # Conflicts with formatter
|
|
73
|
+
]
|
docstub-0.1.0/setup.cfg
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# file generated by setuptools_scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
TYPE_CHECKING = False
|
|
4
|
+
if TYPE_CHECKING:
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
+
else:
|
|
8
|
+
VERSION_TUPLE = object
|
|
9
|
+
|
|
10
|
+
version: str
|
|
11
|
+
__version__: str
|
|
12
|
+
__version_tuple__: VERSION_TUPLE
|
|
13
|
+
version_tuple: VERSION_TUPLE
|
|
14
|
+
|
|
15
|
+
__version__ = version = '0.1.0'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 1, 0)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: docstub
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generate Python stub files (PYI) from docstrings
|
|
5
|
+
Author: Lars Grüter
|
|
6
|
+
License: BSD 3-Clause License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2024, Lars Grüter.
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
|
13
|
+
|
|
14
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
15
|
+
list of conditions and the following disclaimer.
|
|
16
|
+
|
|
17
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
18
|
+
this list of conditions and the following disclaimer in the documentation
|
|
19
|
+
and/or other materials provided with the distribution.
|
|
20
|
+
|
|
21
|
+
* Neither the name of the vector package developers nor the names of its
|
|
22
|
+
contributors may be used to endorse or promote products derived from
|
|
23
|
+
this software without specific prior written permission.
|
|
24
|
+
|
|
25
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
28
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
29
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
31
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
32
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
33
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35
|
+
|
|
36
|
+
Project-URL: Home, https://github.com/lagru/docstub
|
|
37
|
+
Classifier: Development Status :: 1 - Planning
|
|
38
|
+
Classifier: Intended Audience :: Developers
|
|
39
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
40
|
+
Classifier: Operating System :: OS Independent
|
|
41
|
+
Classifier: Programming Language :: Python
|
|
42
|
+
Classifier: Programming Language :: Python :: 3
|
|
43
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
46
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
47
|
+
Classifier: Topic :: Scientific/Engineering
|
|
48
|
+
Classifier: Typing :: Typed
|
|
49
|
+
Requires-Python: >=3.10
|
|
50
|
+
Description-Content-Type: text/markdown
|
|
51
|
+
License-File: LICENSE
|
|
52
|
+
Provides-Extra: dev
|
|
53
|
+
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
54
|
+
|
|
55
|
+
# docstub
|
|
56
|
+
|
|
57
|
+
> [!NOTE]
|
|
58
|
+
> In early development!
|
|
59
|
+
|
|
60
|
+
A command line tool to generate Python stub files (PYI) from type descriptions
|
|
61
|
+
in NumPyDoc style docstrings.
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
```shell
|
|
67
|
+
pip install git+https://github.com/lagru/docstub
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Usage & configuration
|
|
72
|
+
|
|
73
|
+
TBD
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## Contributing
|
|
77
|
+
|
|
78
|
+
TBD
|
|
79
|
+
|
|
80
|
+
## Acknowledgements
|
|
81
|
+
|
|
82
|
+
Thanks to [docs2stubs](https://github.com/gramster/docs2stubs) by which this
|
|
83
|
+
project was heavily inspired and influenced.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.pre-commit-config.yaml
|
|
3
|
+
LICENSE
|
|
4
|
+
README.md
|
|
5
|
+
pyproject.toml
|
|
6
|
+
src/docstub/__init__.py
|
|
7
|
+
src/docstub/_version.py
|
|
8
|
+
src/docstub.egg-info/PKG-INFO
|
|
9
|
+
src/docstub.egg-info/SOURCES.txt
|
|
10
|
+
src/docstub.egg-info/dependency_links.txt
|
|
11
|
+
src/docstub.egg-info/requires.txt
|
|
12
|
+
src/docstub.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
docstub
|