comb-utils 0.2.6__tar.gz → 0.2.7__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.
- {comb_utils-0.2.6/src/comb_utils.egg-info → comb_utils-0.2.7}/PKG-INFO +19 -3
- {comb_utils-0.2.6 → comb_utils-0.2.7}/README.md +18 -2
- {comb_utils-0.2.6 → comb_utils-0.2.7}/setup.cfg +1 -1
- {comb_utils-0.2.6 → comb_utils-0.2.7/src/comb_utils.egg-info}/PKG-INFO +19 -3
- {comb_utils-0.2.6 → comb_utils-0.2.7}/LICENSE +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/pyproject.toml +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils/__init__.py +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils/lib/__init__.py +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils/lib/api_callers.py +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils/lib/constants.py +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils/lib/docs.py +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils.egg-info/SOURCES.txt +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils.egg-info/dependency_links.txt +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils.egg-info/requires.txt +0 -0
- {comb_utils-0.2.6 → comb_utils-0.2.7}/src/comb_utils.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comb_utils
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: Handy utils for Python projects.
|
|
5
5
|
Author: Kaleb Coberly
|
|
6
6
|
Maintainer-email: kaleb.coberly@gmail.com
|
|
@@ -51,7 +51,7 @@ This is a [Crickets and Comb](https://cricketsandcomb.org) resource.
|
|
|
51
51
|
|
|
52
52
|
## Structure
|
|
53
53
|
|
|
54
|
-
```
|
|
54
|
+
```
|
|
55
55
|
.github/workflows GitHub Actions CI/CD workflows.
|
|
56
56
|
docs RST docs and doc build staging.
|
|
57
57
|
Makefile Dev tools and params. (includes shared/Makefile)
|
|
@@ -71,9 +71,11 @@ See https://pypi.org/project/comb-utils/.
|
|
|
71
71
|
|
|
72
72
|
## Dev workflow
|
|
73
73
|
|
|
74
|
-
There are a number of dev tools in the `Makefile`.
|
|
74
|
+
There are a number of dev tools in the `Makefile`. Once you set up the shared tools Git submodule (below), you can list all the make tools you might want to use:
|
|
75
75
|
|
|
76
|
+
```bash
|
|
76
77
|
$ make list-targets
|
|
78
|
+
```
|
|
77
79
|
|
|
78
80
|
Go check them out in `Makefile`.
|
|
79
81
|
|
|
@@ -87,7 +89,9 @@ When you first clone this repo, you'll need to set up the shared tools Git submo
|
|
|
87
89
|
|
|
88
90
|
Once you've set up the shared dev tools submodule, you'll want to periodically update it to get updates to the shared tools:
|
|
89
91
|
|
|
92
|
+
```bash
|
|
90
93
|
$ make update-shared
|
|
94
|
+
```
|
|
91
95
|
|
|
92
96
|
Note that, while you'll be able to run with this updated shared submodule, you'll still want to commit that update to your consuming repo to track that update.
|
|
93
97
|
|
|
@@ -103,14 +107,18 @@ You'll want this package's site-package files to be the source files in this rep
|
|
|
103
107
|
|
|
104
108
|
First build and activate the env before installing this package:
|
|
105
109
|
|
|
110
|
+
```bash
|
|
106
111
|
$ make build-env
|
|
107
112
|
$ conda activate comb_utils_py3.12
|
|
113
|
+
```
|
|
108
114
|
|
|
109
115
|
Note, if you don't have Python installed, you need to pass the package name directly when you build the env: `make build-env PACKAGE_NAME=comb_utils`. If you have Python installed (e.g., this conda env already activated), then you don't need to because it uses Python to grab the package name from the `setup.cfg` file.
|
|
110
116
|
|
|
111
117
|
Then, install this package and its dev dependencies:
|
|
112
118
|
|
|
119
|
+
```bash
|
|
113
120
|
$ make install
|
|
121
|
+
```
|
|
114
122
|
|
|
115
123
|
This installs all the dependencies in your conda env site-packages, but the files for this package's installation are now your source files in this repo.
|
|
116
124
|
|
|
@@ -118,22 +126,30 @@ This installs all the dependencies in your conda env site-packages, but the file
|
|
|
118
126
|
|
|
119
127
|
Before pushing commits, you'll usually want to rebuild the env and run all the QC and testing:
|
|
120
128
|
|
|
129
|
+
```bash
|
|
121
130
|
$ make clean format full
|
|
131
|
+
```
|
|
122
132
|
|
|
123
133
|
When making smaller commits, you might just want to run some of the smaller commands:
|
|
124
134
|
|
|
135
|
+
```bash
|
|
125
136
|
$ make clean format full-qc full-test
|
|
137
|
+
```
|
|
126
138
|
|
|
127
139
|
#### Using act
|
|
128
140
|
|
|
129
141
|
As a final step, it's good practice to test run the workflow before opening a PR or pushing to an open PR. We don't want to waste GitHub runtime on a glitch that we could have caught before. You can use a make target for that:
|
|
130
142
|
|
|
143
|
+
```bash
|
|
131
144
|
$ make run-act
|
|
145
|
+
```
|
|
132
146
|
|
|
133
147
|
That will run `.github/workflows/CI_CD.yml`. But, you can also run any workflow you'd like by using `act` directly. See https://nektosact.com.
|
|
134
148
|
|
|
135
149
|
To use this tool, you'll need to have Docker installed and running on your machine: https://www.docker.com/. You'll also need to install `act` in your terminal:
|
|
136
150
|
|
|
151
|
+
```bash
|
|
137
152
|
$ brew install act
|
|
153
|
+
```
|
|
138
154
|
|
|
139
155
|
NOTE: To be more accurate, we've overridden `set-CI-CD-file` to create a local `CI_CD_act.yml` (which we ignore with Git) as a copy of `CI_CD.yml` and replace one of the workflow call URLs with a relative path. We use a relative path because otherwise `act` will not honor the overridden `full-test` make target and will run the shared version. That will fail because the shared `full-test` target includes running integration and e2e tests, which this repo does not include.
|
|
@@ -6,7 +6,7 @@ This is a [Crickets and Comb](https://cricketsandcomb.org) resource.
|
|
|
6
6
|
|
|
7
7
|
## Structure
|
|
8
8
|
|
|
9
|
-
```
|
|
9
|
+
```
|
|
10
10
|
.github/workflows GitHub Actions CI/CD workflows.
|
|
11
11
|
docs RST docs and doc build staging.
|
|
12
12
|
Makefile Dev tools and params. (includes shared/Makefile)
|
|
@@ -26,9 +26,11 @@ See https://pypi.org/project/comb-utils/.
|
|
|
26
26
|
|
|
27
27
|
## Dev workflow
|
|
28
28
|
|
|
29
|
-
There are a number of dev tools in the `Makefile`.
|
|
29
|
+
There are a number of dev tools in the `Makefile`. Once you set up the shared tools Git submodule (below), you can list all the make tools you might want to use:
|
|
30
30
|
|
|
31
|
+
```bash
|
|
31
32
|
$ make list-targets
|
|
33
|
+
```
|
|
32
34
|
|
|
33
35
|
Go check them out in `Makefile`.
|
|
34
36
|
|
|
@@ -42,7 +44,9 @@ When you first clone this repo, you'll need to set up the shared tools Git submo
|
|
|
42
44
|
|
|
43
45
|
Once you've set up the shared dev tools submodule, you'll want to periodically update it to get updates to the shared tools:
|
|
44
46
|
|
|
47
|
+
```bash
|
|
45
48
|
$ make update-shared
|
|
49
|
+
```
|
|
46
50
|
|
|
47
51
|
Note that, while you'll be able to run with this updated shared submodule, you'll still want to commit that update to your consuming repo to track that update.
|
|
48
52
|
|
|
@@ -58,14 +62,18 @@ You'll want this package's site-package files to be the source files in this rep
|
|
|
58
62
|
|
|
59
63
|
First build and activate the env before installing this package:
|
|
60
64
|
|
|
65
|
+
```bash
|
|
61
66
|
$ make build-env
|
|
62
67
|
$ conda activate comb_utils_py3.12
|
|
68
|
+
```
|
|
63
69
|
|
|
64
70
|
Note, if you don't have Python installed, you need to pass the package name directly when you build the env: `make build-env PACKAGE_NAME=comb_utils`. If you have Python installed (e.g., this conda env already activated), then you don't need to because it uses Python to grab the package name from the `setup.cfg` file.
|
|
65
71
|
|
|
66
72
|
Then, install this package and its dev dependencies:
|
|
67
73
|
|
|
74
|
+
```bash
|
|
68
75
|
$ make install
|
|
76
|
+
```
|
|
69
77
|
|
|
70
78
|
This installs all the dependencies in your conda env site-packages, but the files for this package's installation are now your source files in this repo.
|
|
71
79
|
|
|
@@ -73,22 +81,30 @@ This installs all the dependencies in your conda env site-packages, but the file
|
|
|
73
81
|
|
|
74
82
|
Before pushing commits, you'll usually want to rebuild the env and run all the QC and testing:
|
|
75
83
|
|
|
84
|
+
```bash
|
|
76
85
|
$ make clean format full
|
|
86
|
+
```
|
|
77
87
|
|
|
78
88
|
When making smaller commits, you might just want to run some of the smaller commands:
|
|
79
89
|
|
|
90
|
+
```bash
|
|
80
91
|
$ make clean format full-qc full-test
|
|
92
|
+
```
|
|
81
93
|
|
|
82
94
|
#### Using act
|
|
83
95
|
|
|
84
96
|
As a final step, it's good practice to test run the workflow before opening a PR or pushing to an open PR. We don't want to waste GitHub runtime on a glitch that we could have caught before. You can use a make target for that:
|
|
85
97
|
|
|
98
|
+
```bash
|
|
86
99
|
$ make run-act
|
|
100
|
+
```
|
|
87
101
|
|
|
88
102
|
That will run `.github/workflows/CI_CD.yml`. But, you can also run any workflow you'd like by using `act` directly. See https://nektosact.com.
|
|
89
103
|
|
|
90
104
|
To use this tool, you'll need to have Docker installed and running on your machine: https://www.docker.com/. You'll also need to install `act` in your terminal:
|
|
91
105
|
|
|
106
|
+
```bash
|
|
92
107
|
$ brew install act
|
|
108
|
+
```
|
|
93
109
|
|
|
94
110
|
NOTE: To be more accurate, we've overridden `set-CI-CD-file` to create a local `CI_CD_act.yml` (which we ignore with Git) as a copy of `CI_CD.yml` and replace one of the workflow call URLs with a relative path. We use a relative path because otherwise `act` will not honor the overridden `full-test` make target and will run the shared version. That will fail because the shared `full-test` target includes running integration and e2e tests, which this repo does not include.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comb_utils
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: Handy utils for Python projects.
|
|
5
5
|
Author: Kaleb Coberly
|
|
6
6
|
Maintainer-email: kaleb.coberly@gmail.com
|
|
@@ -51,7 +51,7 @@ This is a [Crickets and Comb](https://cricketsandcomb.org) resource.
|
|
|
51
51
|
|
|
52
52
|
## Structure
|
|
53
53
|
|
|
54
|
-
```
|
|
54
|
+
```
|
|
55
55
|
.github/workflows GitHub Actions CI/CD workflows.
|
|
56
56
|
docs RST docs and doc build staging.
|
|
57
57
|
Makefile Dev tools and params. (includes shared/Makefile)
|
|
@@ -71,9 +71,11 @@ See https://pypi.org/project/comb-utils/.
|
|
|
71
71
|
|
|
72
72
|
## Dev workflow
|
|
73
73
|
|
|
74
|
-
There are a number of dev tools in the `Makefile`.
|
|
74
|
+
There are a number of dev tools in the `Makefile`. Once you set up the shared tools Git submodule (below), you can list all the make tools you might want to use:
|
|
75
75
|
|
|
76
|
+
```bash
|
|
76
77
|
$ make list-targets
|
|
78
|
+
```
|
|
77
79
|
|
|
78
80
|
Go check them out in `Makefile`.
|
|
79
81
|
|
|
@@ -87,7 +89,9 @@ When you first clone this repo, you'll need to set up the shared tools Git submo
|
|
|
87
89
|
|
|
88
90
|
Once you've set up the shared dev tools submodule, you'll want to periodically update it to get updates to the shared tools:
|
|
89
91
|
|
|
92
|
+
```bash
|
|
90
93
|
$ make update-shared
|
|
94
|
+
```
|
|
91
95
|
|
|
92
96
|
Note that, while you'll be able to run with this updated shared submodule, you'll still want to commit that update to your consuming repo to track that update.
|
|
93
97
|
|
|
@@ -103,14 +107,18 @@ You'll want this package's site-package files to be the source files in this rep
|
|
|
103
107
|
|
|
104
108
|
First build and activate the env before installing this package:
|
|
105
109
|
|
|
110
|
+
```bash
|
|
106
111
|
$ make build-env
|
|
107
112
|
$ conda activate comb_utils_py3.12
|
|
113
|
+
```
|
|
108
114
|
|
|
109
115
|
Note, if you don't have Python installed, you need to pass the package name directly when you build the env: `make build-env PACKAGE_NAME=comb_utils`. If you have Python installed (e.g., this conda env already activated), then you don't need to because it uses Python to grab the package name from the `setup.cfg` file.
|
|
110
116
|
|
|
111
117
|
Then, install this package and its dev dependencies:
|
|
112
118
|
|
|
119
|
+
```bash
|
|
113
120
|
$ make install
|
|
121
|
+
```
|
|
114
122
|
|
|
115
123
|
This installs all the dependencies in your conda env site-packages, but the files for this package's installation are now your source files in this repo.
|
|
116
124
|
|
|
@@ -118,22 +126,30 @@ This installs all the dependencies in your conda env site-packages, but the file
|
|
|
118
126
|
|
|
119
127
|
Before pushing commits, you'll usually want to rebuild the env and run all the QC and testing:
|
|
120
128
|
|
|
129
|
+
```bash
|
|
121
130
|
$ make clean format full
|
|
131
|
+
```
|
|
122
132
|
|
|
123
133
|
When making smaller commits, you might just want to run some of the smaller commands:
|
|
124
134
|
|
|
135
|
+
```bash
|
|
125
136
|
$ make clean format full-qc full-test
|
|
137
|
+
```
|
|
126
138
|
|
|
127
139
|
#### Using act
|
|
128
140
|
|
|
129
141
|
As a final step, it's good practice to test run the workflow before opening a PR or pushing to an open PR. We don't want to waste GitHub runtime on a glitch that we could have caught before. You can use a make target for that:
|
|
130
142
|
|
|
143
|
+
```bash
|
|
131
144
|
$ make run-act
|
|
145
|
+
```
|
|
132
146
|
|
|
133
147
|
That will run `.github/workflows/CI_CD.yml`. But, you can also run any workflow you'd like by using `act` directly. See https://nektosact.com.
|
|
134
148
|
|
|
135
149
|
To use this tool, you'll need to have Docker installed and running on your machine: https://www.docker.com/. You'll also need to install `act` in your terminal:
|
|
136
150
|
|
|
151
|
+
```bash
|
|
137
152
|
$ brew install act
|
|
153
|
+
```
|
|
138
154
|
|
|
139
155
|
NOTE: To be more accurate, we've overridden `set-CI-CD-file` to create a local `CI_CD_act.yml` (which we ignore with Git) as a copy of `CI_CD.yml` and replace one of the workflow call URLs with a relative path. We use a relative path because otherwise `act` will not honor the overridden `full-test` make target and will run the shared version. That will fail because the shared `full-test` target includes running integration and e2e tests, which this repo does not include.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|