pycraftide-lib 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.
- pycraftide_lib-0.1.0/LICENSE.txt +21 -0
- pycraftide_lib-0.1.0/PKG-INFO +92 -0
- pycraftide_lib-0.1.0/README.md +39 -0
- pycraftide_lib-0.1.0/pyproject.toml +72 -0
- pycraftide_lib-0.1.0/setup.cfg +4 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib/__init__.py +10 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib/craftcode_api.py +1205 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib/package_data.dat +1 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib/simple.py +2 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/PKG-INFO +92 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/SOURCES.txt +14 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/dependency_links.txt +1 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/entry_points.txt +2 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/requires.txt +7 -0
- pycraftide_lib-0.1.0/src/pycraftide_lib.egg-info/top_level.txt +1 -0
- pycraftide_lib-0.1.0/tests/test_simple.py +13 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Gonkat
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
+
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.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pycraftide-lib
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Core library for PyCraftIDE
|
|
5
|
+
Author-email: Goncat200 <gonkat200@mail.ru>
|
|
6
|
+
Maintainer-email: Goncat200 <gonkat200@mail.ru>
|
|
7
|
+
License: MIT License
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2026 Gonkat
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
12
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
13
|
+
the Software without restriction, including without limitation the rights to
|
|
14
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
15
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
16
|
+
so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://github.com/Gonkat/PyCraftIDE_Lib
|
|
30
|
+
Project-URL: Bug Reports, https://github.com/Gonkat/PyCraftIDE_Lib/issues
|
|
31
|
+
Project-URL: Source, https://github.com/Gonkat/PyCraftIDE_Lib
|
|
32
|
+
Keywords: pycraftide,ide,library
|
|
33
|
+
Classifier: Development Status :: 3 - Alpha
|
|
34
|
+
Classifier: Intended Audience :: Developers
|
|
35
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
36
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
37
|
+
Classifier: Programming Language :: Python :: 3
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
43
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
44
|
+
Requires-Python: >=3.9
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
License-File: LICENSE.txt
|
|
47
|
+
Provides-Extra: dev
|
|
48
|
+
Requires-Dist: check-manifest; extra == "dev"
|
|
49
|
+
Provides-Extra: test
|
|
50
|
+
Requires-Dist: coverage; extra == "test"
|
|
51
|
+
Requires-Dist: pytest; extra == "test"
|
|
52
|
+
Dynamic: license-file
|
|
53
|
+
|
|
54
|
+
# PyCraftIDE_Lib
|
|
55
|
+
|
|
56
|
+
Core library for **PyCraftIDE**.
|
|
57
|
+
|
|
58
|
+
## Установка
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install pycraftide-lib
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Для разработки (из клона репозитория):
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
git clone https://github.com/Gonkat/PyCraftIDE_Lib.git
|
|
68
|
+
cd PyCraftIDE_Lib
|
|
69
|
+
pip install -e .[test]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Использование
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
import pycraftide_lib
|
|
76
|
+
|
|
77
|
+
pycraftide_lib.main()
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Разработка
|
|
81
|
+
|
|
82
|
+
Запуск тестов и линтера через [nox](https://nox.thea.codes/):
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
pip install nox
|
|
86
|
+
python -m nox -s tests # тесты на всех поддерживаемых версиях Python
|
|
87
|
+
python -m nox -s lint # линт
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Лицензия
|
|
91
|
+
|
|
92
|
+
Проект распространяется под лицензией MIT — см. [LICENSE.txt](LICENSE.txt).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# PyCraftIDE_Lib
|
|
2
|
+
|
|
3
|
+
Core library for **PyCraftIDE**.
|
|
4
|
+
|
|
5
|
+
## Установка
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install pycraftide-lib
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Для разработки (из клона репозитория):
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
git clone https://github.com/Gonkat/PyCraftIDE_Lib.git
|
|
15
|
+
cd PyCraftIDE_Lib
|
|
16
|
+
pip install -e .[test]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Использование
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
import pycraftide_lib
|
|
23
|
+
|
|
24
|
+
pycraftide_lib.main()
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Разработка
|
|
28
|
+
|
|
29
|
+
Запуск тестов и линтера через [nox](https://nox.thea.codes/):
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pip install nox
|
|
33
|
+
python -m nox -s tests # тесты на всех поддерживаемых версиях Python
|
|
34
|
+
python -m nox -s lint # линт
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Лицензия
|
|
38
|
+
|
|
39
|
+
Проект распространяется под лицензией MIT — см. [LICENSE.txt](LICENSE.txt).
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Guide (user-friendly):
|
|
2
|
+
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
3
|
+
|
|
4
|
+
# Specification (technical, formal):
|
|
5
|
+
# https://packaging.python.org/en/latest/specifications/pyproject-toml/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
[build-system]
|
|
9
|
+
requires = ["setuptools>=68"]
|
|
10
|
+
build-backend = "setuptools.build_meta"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
[project]
|
|
14
|
+
# Имя дистрибутива на PyPI: pip install pycraftide-lib
|
|
15
|
+
# (PyPI нормализует регистр и подчёркивания, поэтому PyCraftIDE_Lib == pycraftide-lib)
|
|
16
|
+
name = "pycraftide-lib"
|
|
17
|
+
|
|
18
|
+
# Версии должны соответствовать PEP 440. Схема — SemVer: MAJOR.MINOR.PATCH
|
|
19
|
+
version = "0.1.0"
|
|
20
|
+
|
|
21
|
+
description = "Core library for PyCraftIDE"
|
|
22
|
+
|
|
23
|
+
readme = "README.md"
|
|
24
|
+
|
|
25
|
+
requires-python = ">=3.9"
|
|
26
|
+
|
|
27
|
+
license = { file = "LICENSE.txt" }
|
|
28
|
+
|
|
29
|
+
keywords = ["pycraftide", "ide", "library"]
|
|
30
|
+
|
|
31
|
+
authors = [{ name = "Goncat200", email = "gonkat200@mail.ru" }]
|
|
32
|
+
|
|
33
|
+
maintainers = [{ name = "Goncat200", email = "gonkat200@mail.ru" }]
|
|
34
|
+
|
|
35
|
+
# Список допустимых классификаторов: https://pypi.org/classifiers/
|
|
36
|
+
classifiers = [
|
|
37
|
+
"Development Status :: 3 - Alpha",
|
|
38
|
+
|
|
39
|
+
"Intended Audience :: Developers",
|
|
40
|
+
"Topic :: Software Development :: Libraries",
|
|
41
|
+
|
|
42
|
+
"License :: OSI Approved :: MIT License",
|
|
43
|
+
|
|
44
|
+
"Programming Language :: Python :: 3",
|
|
45
|
+
"Programming Language :: Python :: 3.9",
|
|
46
|
+
"Programming Language :: Python :: 3.10",
|
|
47
|
+
"Programming Language :: Python :: 3.11",
|
|
48
|
+
"Programming Language :: Python :: 3.12",
|
|
49
|
+
"Programming Language :: Python :: 3.13",
|
|
50
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
# Зависимости, которые pip установит вместе с вашей библиотекой
|
|
54
|
+
dependencies = []
|
|
55
|
+
|
|
56
|
+
[project.optional-dependencies]
|
|
57
|
+
dev = ["check-manifest"]
|
|
58
|
+
test = ["coverage", "pytest"]
|
|
59
|
+
|
|
60
|
+
[project.urls]
|
|
61
|
+
"Homepage" = "https://github.com/Gonkat/PyCraftIDE_Lib"
|
|
62
|
+
"Bug Reports" = "https://github.com/Gonkat/PyCraftIDE_Lib/issues"
|
|
63
|
+
"Source" = "https://github.com/Gonkat/PyCraftIDE_Lib"
|
|
64
|
+
|
|
65
|
+
# Консольная команда `pycraftide`, вызывающая функцию main из пакета
|
|
66
|
+
[project.scripts]
|
|
67
|
+
pycraftide = "pycraftide_lib:main"
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
[tool.setuptools]
|
|
71
|
+
# Data-файлы, включаемые в пакет
|
|
72
|
+
package-data = { "pycraftide_lib" = ["*.dat"] }
|