rolling-pin 0.9.3__py3-none-any.whl → 0.9.6__py3-none-any.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.
rolling_pin/command.py CHANGED
@@ -80,8 +80,8 @@ def graph(source, target, include, exclude, orient):
80
80
  SOURCE - repository path
81
81
  TARGET - target filepath
82
82
  '''
83
- include_ = None if include == '' else include
84
- exclude_ = None if exclude == '' else exclude
83
+ include_ = '' if include is None else include
84
+ exclude_ = '' if exclude is None else exclude
85
85
  RepoETL(source, include_, exclude_).write(target, orient=orient)
86
86
 
87
87
 
rolling_pin/repo_etl.py CHANGED
@@ -1,5 +1,5 @@
1
1
  from typing import Any, Dict, Iterator, List, Optional, Union # noqa: F401
2
- from IPython.display import HTML # noqa: F401
2
+ from IPython.display import HTML, Image # noqa: F401
3
3
 
4
4
  from itertools import chain
5
5
  from pathlib import Path
@@ -275,6 +275,8 @@ class RepoETL():
275
275
  '''
276
276
  x = anneal_axis
277
277
  y = pin_axis
278
+ data[x] = data[x].astype(float)
279
+ data[y] = data[y].astype(float)
278
280
  for iteration in range(iterations):
279
281
  # create directed graph from data
280
282
  graph = RepoETL._to_networkx_graph(data)
@@ -484,7 +486,7 @@ class RepoETL():
484
486
  color_scheme=None,
485
487
  as_png=False
486
488
  ):
487
- # type: (str, bool, Optional[Dict[str, str]], bool) -> HTML
489
+ # type: (str, bool, Optional[Dict[str, str]], bool) -> Union[HTML, Image]
488
490
  '''
489
491
  For use in inline rendering of graph data in Jupyter Lab.
490
492
 
rolling_pin/tools.py CHANGED
@@ -340,9 +340,9 @@ def filter_text(
340
340
  '''
341
341
  lines = text.split('\n')
342
342
  if include_regex is not None:
343
- lines = list(filter(lambda x: re.search(include_regex, x), lines)) # type: ignore
343
+ lines = list(filter(lambda x: re.search(include_regex, x), lines))
344
344
  if exclude_regex is not None:
345
- lines = list(filter(lambda x: not re.search(exclude_regex, x), lines)) # type: ignore
345
+ lines = list(filter(lambda x: not re.search(exclude_regex, x), lines))
346
346
  if replace_regex is not None:
347
347
  rep_val = replace_value or ''
348
348
  lines = [re.sub(replace_regex, rep_val, x) for x in lines]
@@ -0,0 +1,443 @@
1
+ Metadata-Version: 2.1
2
+ Name: rolling-pin
3
+ Version: 0.9.6
4
+ Summary: A library of generic tools for ETL work and visualization of JSON blobs and python repositories
5
+ License: MIT
6
+ Keywords: ETL,blob,dependency,graph,svg,networkx,transform,code metrics,dependency diagram,build system
7
+ Author-email: Alex Braun <alexander.g.braun@gmail.com>
8
+ Requires-Python: >=3.8
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Typing :: Typed
17
+ Requires-Dist: click>=8.1.3
18
+ Requires-Dist: cufflinks
19
+ Requires-Dist: graphviz
20
+ Requires-Dist: ipython
21
+ Requires-Dist: lunchbox
22
+ Requires-Dist: networkx
23
+ Requires-Dist: numpy<=1.24.4,>=1.23.4
24
+ Requires-Dist: pandas>=1.1.5
25
+ Requires-Dist: pydot<=1.4.2
26
+ Requires-Dist: pyyaml
27
+ Requires-Dist: radon<6.0.0
28
+ Requires-Dist: schematics
29
+ Requires-Dist: toml>=0.10.2
30
+ Requires-Dist: wrapt
31
+ Project-URL: documentation, https://thenewflesh.github.io/rolling-pin
32
+ Project-URL: repository, https://github.com/theNewFlesh/rolling-pin
33
+ Description-Content-Type: text/markdown
34
+
35
+ <p>
36
+ <a href="https://www.linkedin.com/in/alexandergbraun" rel="nofollow noreferrer">
37
+ <img src="https://www.gomezaparicio.com/wp-content/uploads/2012/03/linkedin-logo-1-150x150.png"
38
+ alt="linkedin" width="30px" height="30px"
39
+ >
40
+ </a>
41
+ <a href="https://github.com/theNewFlesh" rel="nofollow noreferrer">
42
+ <img src="https://tadeuzagallo.com/GithubPulse/assets/img/app-icon-github.png"
43
+ alt="github" width="30px" height="30px"
44
+ >
45
+ </a>
46
+ <a href="https://pypi.org/user/the-new-flesh" rel="nofollow noreferrer">
47
+ <img src="https://cdn.iconscout.com/icon/free/png-256/python-2-226051.png"
48
+ alt="pypi" width="30px" height="30px"
49
+ >
50
+ </a>
51
+ <a href="http://vimeo.com/user3965452" rel="nofollow noreferrer">
52
+ <img src="https://cdn.iconscout.com/icon/free/png-512/movie-52-151107.png?f=avif&w=512"
53
+ alt="vimeo" width="30px" height="30px"
54
+ >
55
+ </a>
56
+ <a href="http://www.alexgbraun.com" rel="nofollow noreferrer">
57
+ <img src="https://i.ibb.co/fvyMkpM/logo.png"
58
+ alt="alexgbraun" width="30px" height="30px"
59
+ >
60
+ </a>
61
+ </p>
62
+
63
+ <!-- <img id="logo" src="resources/logo.png" style="max-width: 717px"> -->
64
+
65
+ [![](https://img.shields.io/badge/License-MIT-F77E70.svg?style=for-the-badge)](https://github.com/theNewFlesh/rolling-pin/blob/master/LICENSE)
66
+ [![](https://img.shields.io/pypi/pyversions/rolling-pin?style=for-the-badge&label=Python&color=A0D17B&logo=python&logoColor=A0D17B)](https://github.com/theNewFlesh/rolling-pin/blob/master/docker/config/pyproject.toml)
67
+ [![](https://img.shields.io/pypi/v/rolling-pin?style=for-the-badge&label=PyPI&color=5F95DE&logo=pypi&logoColor=5F95DE)](https://pypi.org/project/rolling-pin/)
68
+ [![](https://img.shields.io/pypi/dm/rolling-pin?style=for-the-badge&label=Downloads&color=5F95DE)](https://pepy.tech/project/rolling-pin)
69
+
70
+ # Introduction
71
+ Rolling-pin is a library of generic tools for ETL work and visualization of JSON
72
+ blobs and python repositories
73
+
74
+ See [documentation](https://thenewflesh.github.io/rolling-pin/) for details.
75
+
76
+ On the documentation main page, under the *Architecture* section, is a
77
+ dynamically generated dependency graph of rolling-pin's current architecture.
78
+ It is generated using the RepoETL class.
79
+
80
+ If you look under the *Metrics* section you will find Radon code metric plots
81
+ and data of the rolling-pin source code, generated by the RadonETL class.
82
+
83
+ Also have a look at this
84
+ **[Jupyter notebook demo](https://github.com/theNewFlesh/rolling-pin/blob/master/notebooks/prototype_demo.ipynb)**
85
+ for a taste of what rolling-pin can do.
86
+
87
+ ---
88
+
89
+ # Installation for Developers
90
+
91
+ ### Docker
92
+ 1. Install [docker-desktop](https://docs.docker.com/desktop/)
93
+ 2. Ensure docker-desktop has at least 4 GB of memory allocated to it.
94
+ 3. `git clone git@github.com:theNewFlesh/rolling-pin.git`
95
+ 4. `cd rolling-pin`
96
+ 5. `chmod +x bin/rolling-pin`
97
+ 6. `bin/rolling-pin docker-start`
98
+ - If building on a M1 Mac run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` first.
99
+
100
+ The service should take a few minutes to start up.
101
+
102
+ Run `bin/rolling-pin --help` for more help on the command line tool.
103
+
104
+ ### ZSH Setup
105
+ 1. `bin/rolling-pin` must be run from this repository's top level directory.
106
+ 2. Therefore, if using zsh, it is recommended that you paste the following line
107
+ in your ~/.zshrc file:
108
+ - `alias rolling-pin="cd [parent dir]/rolling-pin; bin/rolling-pin"`
109
+ - Replace `[parent dir]` with the parent directory of this repository
110
+ 3. Consider adding the following line to your ~/.zshrc if you are using a M1 Mac:
111
+ - `export DOCKER_DEFAULT_PLATFORM=linux/amd64`
112
+ 4. Running the `zsh-complete` command will enable tab completions of the cli
113
+ commands, in the next shell session.
114
+
115
+ For example:
116
+ - `rolling-pin [tab]` will show you all the cli options, which you can press
117
+ tab to cycle through
118
+ - `rolling-pin docker-[tab]` will show you only the cli options that begin with
119
+ "docker-"
120
+
121
+ # Installation for Production
122
+
123
+ ### Python
124
+ `pip install rolling-pin`
125
+
126
+ ### Docker
127
+ 1. Install [docker-desktop](https://docs.docker.com/desktop/)
128
+ 2. `docker pull theNewFlesh/rolling-pin:[version]`
129
+
130
+
131
+ ---
132
+
133
+ # Quickstart Guide
134
+ This repository contains a suite commands for the whole development process.
135
+ This includes everything from testing, to documentation generation and
136
+ publishing pip packages.
137
+
138
+ These commands can be accessed through:
139
+
140
+ - The VSCode task runner
141
+ - The VSCode task runner side bar
142
+ - A terminal running on the host OS
143
+ - A terminal within this repositories docker container
144
+
145
+ Running the `zsh-complete` command will enable tab completions of the CLI.
146
+ See the zsh setup section for more information.
147
+
148
+ ### Command Groups
149
+
150
+ Development commands are grouped by one of 10 prefixes:
151
+
152
+ | Command | Description |
153
+ | ---------- | ---------------------------------------------------------------------------------- |
154
+ | build | Commands for building packages for testing and pip publishing |
155
+ | docker | Common docker commands such as build, start and stop |
156
+ | docs | Commands for generating documentation and code metrics |
157
+ | library | Commands for managing python package dependencies |
158
+ | session | Commands for starting interactive sessions such as jupyter lab and python |
159
+ | state | Command to display the current state of the repo and container |
160
+ | test | Commands for running tests, linter and type annotations |
161
+ | version | Commands for bumping project versions |
162
+ | quickstart | Display this quickstart guide |
163
+ | zsh | Commands for running a zsh session in the container and generating zsh completions |
164
+
165
+ ### Common Commands
166
+
167
+ Here are some frequently used commands to get you started:
168
+
169
+ | Command | Description |
170
+ | ----------------- | --------------------------------------------------------- |
171
+ | docker-restart | Restart container |
172
+ | docker-start | Start container |
173
+ | docker-stop | Stop container |
174
+ | docs-full | Generate documentation, coverage report, diagram and code |
175
+ | library-add | Add a given package to a given dependency group |
176
+ | library-graph-dev | Graph dependencies in dev environment |
177
+ | library-remove | Remove a given package from a given dependency group |
178
+ | library-search | Search for pip packages |
179
+ | library-update | Update dev dependencies |
180
+ | session-lab | Run jupyter lab server |
181
+ | state | State of |
182
+ | test-dev | Run all tests |
183
+ | test-lint | Run linting and type checking |
184
+ | zsh | Run ZSH session inside container |
185
+ | zsh-complete | Generate ZSH completion script |
186
+
187
+ ---
188
+
189
+ # Development CLI
190
+ bin/rolling-pin is a command line interface (defined in cli.py) that
191
+ works with any version of python 2.7 and above, as it has no dependencies.
192
+ Commands generally do not expect any arguments or flags.
193
+
194
+ Its usage pattern is: `bin/rolling-pin COMMAND [-a --args]=ARGS [-h --help] [--dryrun]`
195
+
196
+ ### Commands
197
+ The following is a complete list of all available development commands:
198
+
199
+ | Command | Description |
200
+ | ----------------------- | ------------------------------------------------------------------- |
201
+ | build-package | Build production version of repo for publishing |
202
+ | build-prod | Publish pip package of repo to PyPi |
203
+ | build-publish | Run production tests first then publish pip package of repo to PyPi |
204
+ | build-test | Build test version of repo for prod testing |
205
+ | docker-build | Build Docker image |
206
+ | docker-build-from-cache | Build Docker image from cached image |
207
+ | docker-build-prod | Build production image |
208
+ | docker-container | Display the Docker container id |
209
+ | docker-destroy | Shutdown container and destroy its image |
210
+ | docker-destroy-prod | Shutdown production container and destroy its image |
211
+ | docker-image | Display the Docker image id |
212
+ | docker-prod | Start production container |
213
+ | docker-pull-dev | Pull development image from Docker registry |
214
+ | docker-pull-prod | Pull production image from Docker registry |
215
+ | docker-push-dev | Push development image to Docker registry |
216
+ | docker-push-dev-latest | Push development image to Docker registry with dev-latest tag |
217
+ | docker-push-prod | Push production image to Docker registry |
218
+ | docker-push-prod-latest | Push production image to Docker registry with prod-latest tag |
219
+ | docker-remove | Remove Docker image |
220
+ | docker-restart | Restart Docker container |
221
+ | docker-start | Start Docker container |
222
+ | docker-stop | Stop Docker container |
223
+ | docs | Generate sphinx documentation |
224
+ | docs-architecture | Generate architecture.svg diagram from all import statements |
225
+ | docs-full | Generate documentation, coverage report, diagram and code |
226
+ | docs-metrics | Generate code metrics report, plots and tables |
227
+ | library-add | Add a given package to a given dependency group |
228
+ | library-graph-dev | Graph dependencies in dev environment |
229
+ | library-graph-prod | Graph dependencies in prod environment |
230
+ | library-install-dev | Install all dependencies into dev environment |
231
+ | library-install-prod | Install all dependencies into prod environment |
232
+ | library-list-dev | List packages in dev environment |
233
+ | library-list-prod | List packages in prod environment |
234
+ | library-lock-dev | Resolve dev.lock file |
235
+ | library-lock-prod | Resolve prod.lock file |
236
+ | library-remove | Remove a given package from a given dependency group |
237
+ | library-search | Search for pip packages |
238
+ | library-sync-dev | Sync dev environment with packages listed in dev.lock |
239
+ | library-sync-prod | Sync prod environment with packages listed in prod.lock |
240
+ | library-update | Update dev dependencies |
241
+ | library-update-pdm | Update PDM |
242
+ | quickstart | Display quickstart guide |
243
+ | session-lab | Run jupyter lab server |
244
+ | session-python | Run python session with dev dependencies |
245
+ | session-server | Runn application server inside Docker container |
246
+ | state | State of repository and Docker container |
247
+ | test-coverage | Generate test coverage report |
248
+ | test-dev | Run all tests |
249
+ | test-fast | Test all code excepts tests marked with SKIP_SLOWS_TESTS decorator |
250
+ | test-lint | Run linting and type checking |
251
+ | test-prod | Run tests across all support python versions |
252
+ | version | Full resolution of repo: dependencies, linting, tests, docs, etc |
253
+ | version-bump-major | Bump pyproject major version |
254
+ | version-bump-minor | Bump pyproject minor version |
255
+ | version-bump-patch | Bump pyproject patch version |
256
+ | version-commit | Tag with version and commit changes to master |
257
+ | zsh | Run ZSH session inside Docker container |
258
+ | zsh-complete | Generate oh-my-zsh completions |
259
+ | zsh-root | Run ZSH session as root inside Docker container |
260
+
261
+ ### Flags
262
+
263
+ | Short | Long | Description |
264
+ | ----- | --------- | ---------------------------------------------------- |
265
+ | -a | --args | Additional arguments, this can generally be ignored |
266
+ | -h | --help | Prints command help message to stdout |
267
+ | | --dryrun | Prints command that would otherwise be run to stdout |
268
+
269
+ ---
270
+
271
+ # Production CLI
272
+
273
+ Rolling-pin comes with a command line interface defined in command.py.
274
+
275
+ Its usage pattern is: `rolling-pin COMMAND [ARGS] [FLAGS] [-h --help]`
276
+
277
+ ## Commands
278
+
279
+ ---
280
+
281
+ ### bash-completion
282
+ Prints BASH completion code to be written to a _rolling-pin completion file
283
+
284
+ Usage: `rolling-pin bash-completion`
285
+
286
+ ---
287
+
288
+ ### zsh-completion
289
+ Prints ZSH completion code to be written to a _rolling-pin completion file
290
+
291
+ Usage: `rolling-pin zsh-completion`
292
+
293
+ ---
294
+
295
+ ### conform
296
+ Copies source files to target filepaths according to given conform file.
297
+
298
+ Usage: `rolling-pin conform [OPTIONS] SOURCE`
299
+
300
+ | Argument | Description |
301
+ | -------- | --------------------- |
302
+ | source | conform YAML filepath |
303
+
304
+ | Flag | Argument | Description | Default |
305
+ | --------- | -------- | ---------------------------------------------- | ------- |
306
+ | --groups | text | comma separated list of groups to be conformed | all |
307
+ | --dryrun | <p></p> | Print out conform table instead of run conform | <p></p> |
308
+ | --help | <p></p> | print help message | <p></p> |
309
+
310
+ ---
311
+
312
+ ### graph
313
+ Generate a dependency graph of a source repository and write it to a given filepath
314
+
315
+ Usage: `rolling-pin graph [OPTIONS] SOURCE TARGET`
316
+
317
+ | Argument | Description |
318
+ | -------- | --------------- |
319
+ | source | repository path |
320
+ | target | target filepath |
321
+
322
+ | Flag | Argument | Description | Default |
323
+ | --------- | -------- | ------------------------------------------- | --------- |
324
+ | --include | text | include files that match this regex pattern | .*\.py$' |
325
+ | --exclude | text | exclude files that match this regex pattern | test|mock |
326
+ | --orient | text | graph orientation | lr |
327
+ | --help | <p></p> | print help message | <p></p> |
328
+
329
+ ---
330
+
331
+ ### plot
332
+ Write radon metrics plots of given repository to given filepath.
333
+
334
+ Usage: `rolling-pin plot [OPTIONS] SOURCE TARGET`
335
+
336
+ | Argument | Description |
337
+ | -------- | --------------- |
338
+ | source | repository path |
339
+ | target | plot filepath |
340
+
341
+ | Flag | Description |
342
+ | ------ | ------------------ |
343
+ | --help | print help message |
344
+
345
+ ---
346
+
347
+ ### table
348
+ Write radon metrics tables of given repository to given directory.
349
+
350
+ Usage: `rolling-pin table [OPTIONS] SOURCE TARGET`
351
+
352
+ | Argument | Description |
353
+ | -------- | --------------- |
354
+ | source | repository path |
355
+ | target | table directory |
356
+
357
+ | Flag | Description |
358
+ | ------ | ------------------ |
359
+ | --help | print help message |
360
+
361
+ ---
362
+
363
+ ### toml
364
+ Generate a copy of a given TOML file with given edits indicated by flags. Flags
365
+ are evalauted in the following order: edit, delete, search. Flags may be
366
+ arbitrarily combined. Edit and delete flags may appear multiple times.
367
+
368
+ Usage: `rolling-pin toml [OPTIONS] SOURCE`
369
+
370
+ | Argument | Description |
371
+ | -------- | ------------- |
372
+ | source | TOML filepath |
373
+
374
+ | Flag | Argument | Description |
375
+ | --------- | -------- | ----------------------------------------------------------------------------------------- |
376
+ | --edit | text | replace key's value with given value, text is "=" separated key value pair in TOML format |
377
+ | --delete | text | delete keys that match this regular expression |
378
+ | --search | text | search for keys that match this regular expression |
379
+ | --target | text | target filepath to write to |
380
+ | --help | <p></p> | print help message |
381
+
382
+ #### *Example Usage*
383
+ **example file**
384
+ ```
385
+ >>>cat example.toml
386
+ [root]
387
+ a = 1
388
+ b = 2
389
+
390
+ [root.foo.bar]
391
+ x = "y"
392
+
393
+ [world]
394
+ hello = true
395
+ ```
396
+
397
+ **edit flag**
398
+ ```
399
+ >>>rolling-pin toml foobar.toml --edit 'root.a=999'
400
+ [root]
401
+ a = 999
402
+ b = 2...
403
+
404
+ >>>rolling-pin toml foobar.toml \
405
+ --edit 'root.a=[1, 2]' \
406
+ --edit 'root.b="xxx"'
407
+ [root]
408
+ a = [
409
+ 1,
410
+ 2,
411
+ ]
412
+ b = "xxx"...
413
+
414
+ >>>rolling-pin toml foobar.toml --edit 'root.foo.bar="baz"'
415
+ ...
416
+ hello = true
417
+
418
+ [root.foo]
419
+ bar = "baz"...
420
+ ```
421
+
422
+ **delete flag**
423
+ ```
424
+ >>>rolling-pin toml foobar.toml \
425
+ --delete 'root.foo.bar' \
426
+ --delete 'root.a'
427
+ [root]
428
+ b = 2
429
+
430
+ [world]
431
+ hello = true
432
+ ```
433
+
434
+ **search flag**
435
+ ```
436
+ >>>rolling-pin toml foobar.toml --search 'root.foo|world'
437
+ [world]
438
+ hello = true
439
+
440
+ [root.foo.bar]
441
+ x = "y"
442
+ ```
443
+
@@ -0,0 +1,15 @@
1
+ rolling_pin/__init__.py,sha256=R_g0FYses--dTmvbZLtFFI-FPn4og6p8zmkEesYmN1A,511
2
+ rolling_pin/blob_etl.py,sha256=79eEeCZwPeJ8XwMlLp9-MywDwC-HlqMK-MJhksLrPdU,20712
3
+ rolling_pin/command.py,sha256=xaM3Zp516sS2iF8RWb6qwGpc_IYmIkwtzJ2vDK9zPZo,6477
4
+ rolling_pin/conform_config.py,sha256=W-Ps6FPuZ7SOxFOfEjIo2MZac1vCRuVky6samSZPQkw,2630
5
+ rolling_pin/conform_etl.py,sha256=VyHAKVvdOtjx6Fy8dWn6XMfNh9OFgBbidyDUnSl3Zl4,9594
6
+ rolling_pin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ rolling_pin/radon_etl.py,sha256=SbGrRQM-exMBXiVmCL1ZThvxwLbZNL6URK6J97Ffdis,17681
8
+ rolling_pin/repo_etl.py,sha256=W3ms6zdK22A6d9kVzHLP3HE1h0fTPMUeXww0c57Nq-k,20479
9
+ rolling_pin/toml_etl.py,sha256=fyioQTfqFW1e15qZ8F64sX379V5JzNlBKBuC5IPIgIo,4350
10
+ rolling_pin/tools.py,sha256=Mt0BsOIhF-CC9mo-6JtNLPYjzJPdk3xgeAing0tZnQc,17498
11
+ rolling_pin-0.9.6.dist-info/entry_points.txt,sha256=nbMiJnGLhp49xrtx1pjK8sJiBrwkpj2kq-ezp8Zfyyk,56
12
+ rolling_pin-0.9.6.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
13
+ rolling_pin-0.9.6.dist-info/METADATA,sha256=0gCe3nfOtEw1Q7LOUI_2ORBfxMZm6LQiMcgcP2YkMDE,20057
14
+ rolling_pin-0.9.6.dist-info/licenses/LICENSE,sha256=Z61vsRc9ZyRu0Tm3TkYgIeKDjUJCR3dT0hJonw9Q3i4,1067
15
+ rolling_pin-0.9.6.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: pdm-pep517 1.1.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Alex Braun
3
+ Copyright (c) 2024 Alex Braun
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,71 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: rolling-pin
3
- Version: 0.9.3
4
- Summary: A library of generic tools for ETL work and visualization of JSON blobs and python repositories
5
- License: MIT
6
- Keywords: ETL,blob,dependency,graph,svg,networkx,transform,code metrics,dependency diagram,build system
7
- Author-email: Alex Braun <alexander.g.braun@gmail.com>
8
- Requires-Python: >=3.8
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Intended Audience :: Developers
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.8
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Typing :: Typed
17
- Requires-Dist: click>=8.1.3
18
- Requires-Dist: cufflinks
19
- Requires-Dist: graphviz
20
- Requires-Dist: ipython
21
- Requires-Dist: lunchbox
22
- Requires-Dist: networkx
23
- Requires-Dist: numpy>=1.23.4
24
- Requires-Dist: pandas>=1.1.5
25
- Requires-Dist: pydot
26
- Requires-Dist: pyyaml
27
- Requires-Dist: radon
28
- Requires-Dist: schematics
29
- Requires-Dist: toml>=0.10.2
30
- Requires-Dist: wrapt
31
- Project-URL: documentation, https://thenewflesh.github.io/rolling-pin
32
- Project-URL: repository, https://github.com/theNewFlesh/rolling-pin
33
- Description-Content-Type: text/markdown
34
-
35
- # Introduction
36
- Rolling-pin is a library of generic tools for ETL work and visualization of JSON
37
- blobs and python repositories
38
-
39
- See [documentation](https://thenewflesh.github.io/rolling-pin/) for details.
40
-
41
- On the documentation main page, under the *Architecture* section, is a
42
- dynamically generated dependency graph of rolling-pin's current architecture.
43
- It is generated using the RepoETL class.
44
-
45
- If you look under the *Metrics* section you will find Radon code metric plots
46
- and data of the rolling-pin source code, generated by the RadonETL class.
47
-
48
- Also have a look at this
49
- **[Jupyter notebook demo](https://github.com/theNewFlesh/rolling-pin/blob/master/notebooks/prototype_demo.ipynb)**
50
- for a taste of what rolling-pin can do.
51
-
52
- # Installation
53
- ### Python
54
- `pip install rolling-pin`
55
-
56
- ### Docker
57
- 1. Install [docker-desktop](https://docs.docker.com/desktop/)
58
- 2. `docker pull thenewflesh/rolling-pin:latest`
59
-
60
- ### Docker For Developers
61
- 1. Install [docker-desktop](https://docs.docker.com/desktop/)
62
- 2. Ensure docker-desktop has at least 4 GB of memory allocated to it.
63
- 3. `git clone git@github.com:theNewFlesh/rolling-pin.git`
64
- 4. `cd rolling-pin`
65
- 6. `chmod +x bin/rolling-pin`
66
- 7. `bin/rolling-pin start`
67
-
68
- The service should take a few minutes to start up.
69
-
70
- Run `bin/rolling-pin --help` for more help on the command line tool.
71
-
@@ -1,15 +0,0 @@
1
- rolling_pin/__init__.py,sha256=R_g0FYses--dTmvbZLtFFI-FPn4og6p8zmkEesYmN1A,511
2
- rolling_pin/blob_etl.py,sha256=79eEeCZwPeJ8XwMlLp9-MywDwC-HlqMK-MJhksLrPdU,20712
3
- rolling_pin/command.py,sha256=YCkAgkDgeSQ1QeLbZ1Xotp7bpAm36i-Iyn_0pCXT3g4,6477
4
- rolling_pin/conform_config.py,sha256=W-Ps6FPuZ7SOxFOfEjIo2MZac1vCRuVky6samSZPQkw,2630
5
- rolling_pin/conform_etl.py,sha256=VyHAKVvdOtjx6Fy8dWn6XMfNh9OFgBbidyDUnSl3Zl4,9594
6
- rolling_pin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- rolling_pin/radon_etl.py,sha256=SbGrRQM-exMBXiVmCL1ZThvxwLbZNL6URK6J97Ffdis,17681
8
- rolling_pin/repo_etl.py,sha256=VDmOhrg14eVxcWaWYdUrDWjR_okhxc8UJDJYVWN12og,20378
9
- rolling_pin/toml_etl.py,sha256=fyioQTfqFW1e15qZ8F64sX379V5JzNlBKBuC5IPIgIo,4350
10
- rolling_pin/tools.py,sha256=OgjfFIrDe5ka7OPUyUC-hCSTXaPkDtxQyrf0jxNB0to,17530
11
- rolling_pin-0.9.3.dist-info/entry_points.txt,sha256=nbMiJnGLhp49xrtx1pjK8sJiBrwkpj2kq-ezp8Zfyyk,56
12
- rolling_pin-0.9.3.dist-info/WHEEL,sha256=_LDBqpgIVFNHZvvFOGbg2pvJOENq6RHAyT5px-HeX0U,87
13
- rolling_pin-0.9.3.dist-info/METADATA,sha256=U68PVpxqbcGG2bJuuvB4BPHtqkbv_iUO8KTxuEtB2iY,2565
14
- rolling_pin-0.9.3.dist-info/licenses/LICENSE,sha256=uP7spBpmtZy9-ruxdJfwB8VVGaOYjxgtUfxwwQ3j0hU,1067
15
- rolling_pin-0.9.3.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- Wheel-Version: 1.0
2
- Generator: pdm-pep517 1.0.6
3
- Root-Is-Purelib: True
4
- Tag: py3-none-any