git-getpkg 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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 mergefriends
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.
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.4
2
+ Name: git-getpkg
3
+ Version: 0.1.0
4
+ Summary: Discover and easily install packages from Git repositories
5
+ Author: mergefriends
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 mergefriends
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Classifier: Development Status :: 3 - Alpha
29
+ Classifier: Environment :: Console
30
+ Classifier: License :: OSI Approved :: MIT License
31
+ Classifier: Programming Language :: Python :: 3
32
+ Classifier: Programming Language :: Python :: 3.10
33
+ Classifier: Programming Language :: Python :: 3.11
34
+ Classifier: Programming Language :: Python :: 3.12
35
+ Requires-Python: >=3.10
36
+ Description-Content-Type: text/markdown
37
+ License-File: LICENSE
38
+ Requires-Dist: bandit[toml]>=1.8
39
+ Requires-Dist: pip-audit>=2.10
40
+ Requires-Dist: rich<14,>=13.5.2
41
+ Requires-Dist: tomli>=2.0; python_version < "3.11"
42
+ Dynamic: license-file
43
+
44
+ # git-getpkg
45
+
46
+ `git getpkg` discovers packages in a local directory or Git repository,
47
+ then installs selected Python packages into isolated managed environments.
48
+
49
+ ## Install
50
+
51
+ ```bash
52
+ brew install pipx && pipx ensurepath && pipx install git+https://github.com/mergefriends/git-getpkg.git
53
+ ```
54
+
55
+ ## Usage
56
+ Find all packages in a repo
57
+ ```bash
58
+ git getpkg list https://github.com/psf/black
59
+ ```
60
+ Find all packages in an organization
61
+ ```bash
62
+ git getpkg list https://github.com/psf
63
+ ```
64
+ Install all packages in a repo
65
+ ```bash
66
+ git getpkg https://github.com/psf/black
67
+ ```
68
+ Install a single package from a repo
69
+ ```bash
70
+ git getpkg https://github.com/psf/black black
71
+ ```
72
+
73
+ ## Development
74
+
75
+ ```bash
76
+ python3 -m unittest discover -s tests -v
77
+ PYTHONPATH=src python3 -m git_getpkg list .
78
+ ```
@@ -0,0 +1,35 @@
1
+ # git-getpkg
2
+
3
+ `git getpkg` discovers packages in a local directory or Git repository,
4
+ then installs selected Python packages into isolated managed environments.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ brew install pipx && pipx ensurepath && pipx install git+https://github.com/mergefriends/git-getpkg.git
10
+ ```
11
+
12
+ ## Usage
13
+ Find all packages in a repo
14
+ ```bash
15
+ git getpkg list https://github.com/psf/black
16
+ ```
17
+ Find all packages in an organization
18
+ ```bash
19
+ git getpkg list https://github.com/psf
20
+ ```
21
+ Install all packages in a repo
22
+ ```bash
23
+ git getpkg https://github.com/psf/black
24
+ ```
25
+ Install a single package from a repo
26
+ ```bash
27
+ git getpkg https://github.com/psf/black black
28
+ ```
29
+
30
+ ## Development
31
+
32
+ ```bash
33
+ python3 -m unittest discover -s tests -v
34
+ PYTHONPATH=src python3 -m git_getpkg list .
35
+ ```
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "git-getpkg"
7
+ version = "0.1.0"
8
+ description = "Discover and easily install packages from Git repositories"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ dependencies = [
12
+ "bandit[toml]>=1.8",
13
+ "pip-audit>=2.10",
14
+ "rich>=13.5.2,<14",
15
+ "tomli>=2.0; python_version < '3.11'",
16
+ ]
17
+ license = { file = "LICENSE" }
18
+ authors = [{ name = "mergefriends" }]
19
+ classifiers = [
20
+ "Development Status :: 3 - Alpha",
21
+ "Environment :: Console",
22
+ "License :: OSI Approved :: MIT License",
23
+ "Programming Language :: Python :: 3",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ ]
28
+
29
+ [project.scripts]
30
+ git-getpkg = "git_getpkg.cli:main"
31
+
32
+ [tool.setuptools.packages.find]
33
+ where = ["src"]
34
+
35
+ [tool.pytest.ini_options]
36
+ testpaths = ["tests"]
37
+
38
+ [tool.ruff]
39
+ line-length = 120
40
+ target-version = "py310"
41
+
42
+ [tool.ruff.lint]
43
+ select = ["E", "F", "I", "UP"]
@@ -0,0 +1,31 @@
1
+ [metadata]
2
+ name = git-getpkg
3
+ version = 0.1.0
4
+ description = Safely discover and install packages from Git repositories
5
+ long_description = file: README.md
6
+ long_description_content_type = text/markdown
7
+ license = MIT
8
+ author = mergefriends
9
+
10
+ [options]
11
+ package_dir =
12
+ = src
13
+ packages = find:
14
+ python_requires = >=3.10
15
+ install_requires =
16
+ bandit[toml]>=1.8
17
+ pip-audit>=2.10
18
+ rich>=13.5.2,<14
19
+ tomli>=2.0; python_version < "3.11"
20
+
21
+ [options.packages.find]
22
+ where = src
23
+
24
+ [options.entry_points]
25
+ console_scripts =
26
+ git-getpkg = git_getpkg.cli:main
27
+
28
+ [egg_info]
29
+ tag_build =
30
+ tag_date = 0
31
+
@@ -0,0 +1,3 @@
1
+ """The git-getpkg package."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,3 @@
1
+ from git_getpkg.cli import main
2
+
3
+ raise SystemExit(main())