gitpure 0.1.0__cp313-cp313-win32.whl

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.
gitpure/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .gitpure import *
2
+
3
+ __doc__ = gitpure.__doc__
4
+ if hasattr(gitpure, "__all__"):
5
+ __all__ = gitpure.__all__
gitpure/__init__.pyi ADDED
@@ -0,0 +1,37 @@
1
+ """
2
+ Type stubs for gitpure - A pure git Python module implemented in Rust.
3
+ """
4
+
5
+ from pathlib import Path
6
+ from typing import Type
7
+
8
+ class Repo:
9
+ """A git repository wrapper using gix (gitoxide)."""
10
+
11
+ @property
12
+ def git_dir(self) -> Path:
13
+ """
14
+ Path to the .git directory of the repository.
15
+
16
+ Returns:
17
+ The absolute path to the .git directory as a pathlib.Path object
18
+ """
19
+ ...
20
+
21
+ @classmethod
22
+ def clone_from(cls: Type["Repo"], url: str, to_path: str, bare: bool = False) -> "Repo":
23
+ """
24
+ Clone a repository from a URL to a local path.
25
+
26
+ Args:
27
+ url: The URL of the repository to clone
28
+ to_path: The local path where the repository should be cloned
29
+ bare: Whether to create a bare repository (default: False)
30
+
31
+ Returns:
32
+ A new Repo instance representing the cloned repository
33
+
34
+ Raises:
35
+ RuntimeError: If the clone operation fails
36
+ """
37
+ ...
Binary file
gitpure/py.typed ADDED
File without changes
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: gitpure
3
+ Version: 0.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Dist: pytest ; extra == 'test'
8
+ Provides-Extra: test
9
+ Requires-Python: >=3.8
@@ -0,0 +1,7 @@
1
+ gitpure-0.1.0.dist-info/METADATA,sha256=S3Bz704FqDNCEX_9idiKhZq1hSCgu81sBI9EPSApv7A,317
2
+ gitpure-0.1.0.dist-info/WHEEL,sha256=L9CeDSmk2JG28_YW__9h9YKD-W_tuh_gIre6BQtyKm0,92
3
+ gitpure/__init__.py,sha256=pBX_EzrNHWBjqJHS3q15EG7uggKwK8bhi32dp_4klIM,111
4
+ gitpure/__init__.pyi,sha256=lyWTHIJ0LVMT6IDfRQ7_jdaGrpocmBJcufTXSWAH91c,1086
5
+ gitpure/gitpure.cp313-win32.pyd,sha256=yPHBrfPgvcE1Tnj4WilPGYXvrovsBpCG3lBBUVex1H8,7857152
6
+ gitpure/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ gitpure-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.9.4)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32