re1sid-lib 0.1.2__tar.gz → 0.1.3__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.
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/PKG-INFO +6 -22
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/README.md +5 -21
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/pyproject.toml +1 -1
- re1sid_lib-0.1.3/src/re1sid_lib/__init__.py +4 -0
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/src/re1sid_lib/downloader.py +1 -1
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/src/re1sid_lib/patcher.py +1 -1
- re1sid_lib-0.1.2/src/re1sid_lib/__init__.py +0 -4
- {re1sid_lib-0.1.2 → re1sid_lib-0.1.3}/src/re1sid_lib/common.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: re1sid-lib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Author: 09u2h4n
|
|
6
6
|
Author-email: 09u2h4n <09u2h4n.y1lm42@gmail.com>
|
|
@@ -36,18 +36,8 @@ A small Python library for working with ReVanced CLI and patch bundles. It provi
|
|
|
36
36
|
|
|
37
37
|
## Installation
|
|
38
38
|
|
|
39
|
-
1. Clone the repository.
|
|
40
|
-
2. Install Python dependencies:
|
|
41
|
-
|
|
42
39
|
```bash
|
|
43
|
-
pip install
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
3. Configure paths in `src/re1sid_lib/common.py`:
|
|
47
|
-
|
|
48
|
-
```python
|
|
49
|
-
PATCHES_PATH = ".revanced_res/patches.rvp"
|
|
50
|
-
CLI_PATH = ".revanced_res/revanced-cli.jar"
|
|
40
|
+
pip install re1sid-lib
|
|
51
41
|
```
|
|
52
42
|
|
|
53
43
|
## Usage
|
|
@@ -57,7 +47,7 @@ CLI_PATH = ".revanced_res/revanced-cli.jar"
|
|
|
57
47
|
Use the downloader helper to fetch the latest CLI jar and patches bundle.
|
|
58
48
|
|
|
59
49
|
```python
|
|
60
|
-
from re1sid_lib
|
|
50
|
+
from re1sid_lib import Downloader
|
|
61
51
|
|
|
62
52
|
downloader = Downloader()
|
|
63
53
|
downloader.download_all()
|
|
@@ -66,7 +56,7 @@ downloader.download_all()
|
|
|
66
56
|
Or download individual assets:
|
|
67
57
|
|
|
68
58
|
```python
|
|
69
|
-
from re1sid_lib
|
|
59
|
+
from re1sid_lib import Downloader
|
|
70
60
|
|
|
71
61
|
downloader = Downloader()
|
|
72
62
|
downloader.download_cli()
|
|
@@ -78,7 +68,7 @@ downloader.download_patches_rvp()
|
|
|
78
68
|
Use the patcher helper to parse the patch list and inspect options.
|
|
79
69
|
|
|
80
70
|
```python
|
|
81
|
-
from re1sid_lib
|
|
71
|
+
from re1sid_lib import Patcher
|
|
82
72
|
|
|
83
73
|
patcher = Patcher()
|
|
84
74
|
patches = patcher.list_patches(package_name="com.spotify.music")
|
|
@@ -91,7 +81,7 @@ for patch in patches:
|
|
|
91
81
|
Patch an APK file with specific enabled/disabled patches and options.
|
|
92
82
|
|
|
93
83
|
```python
|
|
94
|
-
from re1sid_lib
|
|
84
|
+
from re1sid_lib import Patcher
|
|
95
85
|
|
|
96
86
|
patcher = Patcher()
|
|
97
87
|
output = patcher.patch_apk(
|
|
@@ -114,12 +104,6 @@ print(output)
|
|
|
114
104
|
- `Patcher.list_patches()` can also accept an APK path and will read its package name automatically.
|
|
115
105
|
- The library expects the ReVanced CLI jar and patches bundle to exist at the configured paths.
|
|
116
106
|
|
|
117
|
-
## Project structure
|
|
118
|
-
|
|
119
|
-
- `src/re1sid_lib/downloader.py` - Download helper for ReVanced CLI and patches.
|
|
120
|
-
- `src/re1sid_lib/patcher.py` - Patch helper and CLI output parser.
|
|
121
|
-
- `src/re1sid_lib/common.py` - Common path configuration.
|
|
122
|
-
|
|
123
107
|
## License
|
|
124
108
|
|
|
125
109
|
Use this project according to the appropriate license terms for ReVanced and its dependencies.
|
|
@@ -20,18 +20,8 @@ A small Python library for working with ReVanced CLI and patch bundles. It provi
|
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
|
-
1. Clone the repository.
|
|
24
|
-
2. Install Python dependencies:
|
|
25
|
-
|
|
26
23
|
```bash
|
|
27
|
-
pip install
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
3. Configure paths in `src/re1sid_lib/common.py`:
|
|
31
|
-
|
|
32
|
-
```python
|
|
33
|
-
PATCHES_PATH = ".revanced_res/patches.rvp"
|
|
34
|
-
CLI_PATH = ".revanced_res/revanced-cli.jar"
|
|
24
|
+
pip install re1sid-lib
|
|
35
25
|
```
|
|
36
26
|
|
|
37
27
|
## Usage
|
|
@@ -41,7 +31,7 @@ CLI_PATH = ".revanced_res/revanced-cli.jar"
|
|
|
41
31
|
Use the downloader helper to fetch the latest CLI jar and patches bundle.
|
|
42
32
|
|
|
43
33
|
```python
|
|
44
|
-
from re1sid_lib
|
|
34
|
+
from re1sid_lib import Downloader
|
|
45
35
|
|
|
46
36
|
downloader = Downloader()
|
|
47
37
|
downloader.download_all()
|
|
@@ -50,7 +40,7 @@ downloader.download_all()
|
|
|
50
40
|
Or download individual assets:
|
|
51
41
|
|
|
52
42
|
```python
|
|
53
|
-
from re1sid_lib
|
|
43
|
+
from re1sid_lib import Downloader
|
|
54
44
|
|
|
55
45
|
downloader = Downloader()
|
|
56
46
|
downloader.download_cli()
|
|
@@ -62,7 +52,7 @@ downloader.download_patches_rvp()
|
|
|
62
52
|
Use the patcher helper to parse the patch list and inspect options.
|
|
63
53
|
|
|
64
54
|
```python
|
|
65
|
-
from re1sid_lib
|
|
55
|
+
from re1sid_lib import Patcher
|
|
66
56
|
|
|
67
57
|
patcher = Patcher()
|
|
68
58
|
patches = patcher.list_patches(package_name="com.spotify.music")
|
|
@@ -75,7 +65,7 @@ for patch in patches:
|
|
|
75
65
|
Patch an APK file with specific enabled/disabled patches and options.
|
|
76
66
|
|
|
77
67
|
```python
|
|
78
|
-
from re1sid_lib
|
|
68
|
+
from re1sid_lib import Patcher
|
|
79
69
|
|
|
80
70
|
patcher = Patcher()
|
|
81
71
|
output = patcher.patch_apk(
|
|
@@ -98,12 +88,6 @@ print(output)
|
|
|
98
88
|
- `Patcher.list_patches()` can also accept an APK path and will read its package name automatically.
|
|
99
89
|
- The library expects the ReVanced CLI jar and patches bundle to exist at the configured paths.
|
|
100
90
|
|
|
101
|
-
## Project structure
|
|
102
|
-
|
|
103
|
-
- `src/re1sid_lib/downloader.py` - Download helper for ReVanced CLI and patches.
|
|
104
|
-
- `src/re1sid_lib/patcher.py` - Patch helper and CLI output parser.
|
|
105
|
-
- `src/re1sid_lib/common.py` - Common path configuration.
|
|
106
|
-
|
|
107
91
|
## License
|
|
108
92
|
|
|
109
93
|
Use this project according to the appropriate license terms for ReVanced and its dependencies.
|
|
File without changes
|