kinfer 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.
- kinfer-0.0.1/LICENSE +21 -0
- kinfer-0.0.1/MANIFEST.in +1 -0
- kinfer-0.0.1/PKG-INFO +19 -0
- kinfer-0.0.1/README.md +3 -0
- kinfer-0.0.1/kinfer/__init__.py +1 -0
- kinfer-0.0.1/kinfer/py.typed +0 -0
- kinfer-0.0.1/kinfer/requirements-dev.txt +7 -0
- kinfer-0.0.1/kinfer/requirements.txt +1 -0
- kinfer-0.0.1/kinfer.egg-info/PKG-INFO +19 -0
- kinfer-0.0.1/kinfer.egg-info/SOURCES.txt +15 -0
- kinfer-0.0.1/kinfer.egg-info/dependency_links.txt +1 -0
- kinfer-0.0.1/kinfer.egg-info/requires.txt +7 -0
- kinfer-0.0.1/kinfer.egg-info/top_level.txt +1 -0
- kinfer-0.0.1/pyproject.toml +72 -0
- kinfer-0.0.1/setup.cfg +4 -0
- kinfer-0.0.1/setup.py +45 -0
- kinfer-0.0.1/tests/test_dummy.py +12 -0
kinfer-0.0.1/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2023 WT-MM
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
kinfer-0.0.1/MANIFEST.in
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
recursive-include kinfer/ *.py *.txt py.typed MANIFEST.in
|
kinfer-0.0.1/PKG-INFO
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: kinfer
|
3
|
+
Version: 0.0.1
|
4
|
+
Summary: The kinfer project
|
5
|
+
Home-page: https://github.com/kscalelabs/kinfer.git
|
6
|
+
Author: WT-MM
|
7
|
+
Requires-Python: >=3.11
|
8
|
+
Description-Content-Type: text/markdown
|
9
|
+
License-File: LICENSE
|
10
|
+
Provides-Extra: dev
|
11
|
+
Requires-Dist: black; extra == "dev"
|
12
|
+
Requires-Dist: darglint; extra == "dev"
|
13
|
+
Requires-Dist: mypy; extra == "dev"
|
14
|
+
Requires-Dist: pytest; extra == "dev"
|
15
|
+
Requires-Dist: ruff; extra == "dev"
|
16
|
+
|
17
|
+
# kinfer
|
18
|
+
|
19
|
+
Welcome to the kinfer project!
|
kinfer-0.0.1/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.0.1"
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
# requirements.txt
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: kinfer
|
3
|
+
Version: 0.0.1
|
4
|
+
Summary: The kinfer project
|
5
|
+
Home-page: https://github.com/kscalelabs/kinfer.git
|
6
|
+
Author: WT-MM
|
7
|
+
Requires-Python: >=3.11
|
8
|
+
Description-Content-Type: text/markdown
|
9
|
+
License-File: LICENSE
|
10
|
+
Provides-Extra: dev
|
11
|
+
Requires-Dist: black; extra == "dev"
|
12
|
+
Requires-Dist: darglint; extra == "dev"
|
13
|
+
Requires-Dist: mypy; extra == "dev"
|
14
|
+
Requires-Dist: pytest; extra == "dev"
|
15
|
+
Requires-Dist: ruff; extra == "dev"
|
16
|
+
|
17
|
+
# kinfer
|
18
|
+
|
19
|
+
Welcome to the kinfer project!
|
@@ -0,0 +1,15 @@
|
|
1
|
+
LICENSE
|
2
|
+
MANIFEST.in
|
3
|
+
README.md
|
4
|
+
pyproject.toml
|
5
|
+
setup.py
|
6
|
+
kinfer/__init__.py
|
7
|
+
kinfer/py.typed
|
8
|
+
kinfer/requirements-dev.txt
|
9
|
+
kinfer/requirements.txt
|
10
|
+
kinfer.egg-info/PKG-INFO
|
11
|
+
kinfer.egg-info/SOURCES.txt
|
12
|
+
kinfer.egg-info/dependency_links.txt
|
13
|
+
kinfer.egg-info/requires.txt
|
14
|
+
kinfer.egg-info/top_level.txt
|
15
|
+
tests/test_dummy.py
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
kinfer
|
@@ -0,0 +1,72 @@
|
|
1
|
+
[tool.black]
|
2
|
+
|
3
|
+
line-length = 120
|
4
|
+
target-version = ["py311"]
|
5
|
+
include = '\.pyi?$'
|
6
|
+
|
7
|
+
[tool.pytest.ini_options]
|
8
|
+
|
9
|
+
addopts = "-rx -rf -x -q --full-trace"
|
10
|
+
testpaths = ["tests"]
|
11
|
+
|
12
|
+
markers = [
|
13
|
+
"slow: Marks test as being slow",
|
14
|
+
]
|
15
|
+
|
16
|
+
[tool.mypy]
|
17
|
+
|
18
|
+
pretty = true
|
19
|
+
show_column_numbers = true
|
20
|
+
show_error_context = true
|
21
|
+
show_error_codes = true
|
22
|
+
show_traceback = true
|
23
|
+
disallow_untyped_defs = true
|
24
|
+
strict_equality = true
|
25
|
+
allow_redefinition = true
|
26
|
+
|
27
|
+
warn_unused_ignores = true
|
28
|
+
warn_redundant_casts = true
|
29
|
+
|
30
|
+
incremental = true
|
31
|
+
namespace_packages = false
|
32
|
+
|
33
|
+
# Uncomment to exclude modules from Mypy.
|
34
|
+
# [[tool.mypy.overrides]]
|
35
|
+
# module = []
|
36
|
+
# ignore_missing_imports = true
|
37
|
+
|
38
|
+
[tool.isort]
|
39
|
+
|
40
|
+
profile = "black"
|
41
|
+
|
42
|
+
[tool.ruff]
|
43
|
+
|
44
|
+
line-length = 120
|
45
|
+
target-version = "py310"
|
46
|
+
|
47
|
+
[tool.ruff.lint]
|
48
|
+
|
49
|
+
select = ["ANN", "D", "E", "F", "I", "N", "PGH", "PLC", "PLE", "PLR", "PLW", "W"]
|
50
|
+
|
51
|
+
ignore = [
|
52
|
+
"ANN101", "ANN102",
|
53
|
+
"D101", "D102", "D103", "D104", "D105", "D106", "D107",
|
54
|
+
"N812", "N817",
|
55
|
+
"PLR0911", "PLR0912", "PLR0913", "PLR0915", "PLR2004",
|
56
|
+
"PLW0603", "PLW2901",
|
57
|
+
]
|
58
|
+
|
59
|
+
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
60
|
+
|
61
|
+
[tool.ruff.lint.per-file-ignores]
|
62
|
+
|
63
|
+
"__init__.py" = ["E402", "F401", "F403", "F811"]
|
64
|
+
|
65
|
+
[tool.ruff.lint.isort]
|
66
|
+
|
67
|
+
known-first-party = ["kinfer", "tests"]
|
68
|
+
combine-as-imports = true
|
69
|
+
|
70
|
+
[tool.ruff.lint.pydocstyle]
|
71
|
+
|
72
|
+
convention = "google"
|
kinfer-0.0.1/setup.cfg
ADDED
kinfer-0.0.1/setup.py
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# mypy: disable-error-code="import-untyped"
|
2
|
+
#!/usr/bin/env python
|
3
|
+
"""Setup script for the project."""
|
4
|
+
|
5
|
+
import re
|
6
|
+
|
7
|
+
from setuptools import setup
|
8
|
+
|
9
|
+
with open("README.md", "r", encoding="utf-8") as f:
|
10
|
+
long_description: str = f.read()
|
11
|
+
|
12
|
+
|
13
|
+
with open("kinfer/requirements.txt", "r", encoding="utf-8") as f:
|
14
|
+
requirements: list[str] = f.read().splitlines()
|
15
|
+
|
16
|
+
|
17
|
+
with open("kinfer/requirements-dev.txt", "r", encoding="utf-8") as f:
|
18
|
+
requirements_dev: list[str] = f.read().splitlines()
|
19
|
+
|
20
|
+
|
21
|
+
with open("kinfer/__init__.py", "r", encoding="utf-8") as fh:
|
22
|
+
version_re = re.search(r"^__version__ = \"([^\"]*)\"", fh.read(), re.MULTILINE)
|
23
|
+
assert version_re is not None, "Could not find version in kinfer/__init__.py"
|
24
|
+
version: str = version_re.group(1)
|
25
|
+
|
26
|
+
|
27
|
+
setup(
|
28
|
+
name="kinfer",
|
29
|
+
version=version,
|
30
|
+
description="The kinfer project",
|
31
|
+
author="WT-MM",
|
32
|
+
url="https://github.com/kscalelabs/kinfer.git",
|
33
|
+
long_description=long_description,
|
34
|
+
long_description_content_type="text/markdown",
|
35
|
+
python_requires=">=3.11",
|
36
|
+
install_requires=requirements,
|
37
|
+
tests_require=requirements_dev,
|
38
|
+
extras_require={"dev": requirements_dev},
|
39
|
+
packages=["kinfer"],
|
40
|
+
# entry_points={
|
41
|
+
# "console_scripts": [
|
42
|
+
# "kinfer.cli:main",
|
43
|
+
# ],
|
44
|
+
# },
|
45
|
+
)
|