git-sim 0.3.2__tar.gz → 0.3.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.
- {git-sim-0.3.2/git_sim.egg-info → git-sim-0.3.3}/PKG-INFO +1 -1
- git-sim-0.3.3/git_sim/__init__.py +1 -0
- git-sim-0.3.3/git_sim/settings.py +48 -0
- {git-sim-0.3.2 → git-sim-0.3.3/git_sim.egg-info}/PKG-INFO +1 -1
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim.egg-info/requires.txt +1 -1
- {git-sim-0.3.2 → git-sim-0.3.3}/setup.py +1 -1
- git-sim-0.3.2/git_sim/__init__.py +0 -1
- git-sim-0.3.2/git_sim/settings.py +0 -48
- {git-sim-0.3.2 → git-sim-0.3.3}/LICENSE +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/MANIFEST.in +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/README.md +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/__main__.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/add.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/animations.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/branch.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/checkout.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/cherrypick.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/clean.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/clone.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/commands.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/commit.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/enums.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/fetch.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/git_sim_base_command.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/log.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/logo.png +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/merge.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/mv.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/pull.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/push.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/rebase.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/reset.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/restore.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/revert.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/rm.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/stash.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/status.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/switch.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim/tag.py +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim.egg-info/SOURCES.txt +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim.egg-info/dependency_links.txt +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim.egg-info/entry_points.txt +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/git_sim.egg-info/top_level.txt +0 -0
- {git-sim-0.3.2 → git-sim-0.3.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: git-sim
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Simulate Git commands on your own repos by generating an image (default) or video visualization depicting the command's behavior.
|
|
5
5
|
Home-page: https://initialcommit.com/tools/git-sim
|
|
6
6
|
Author: Jacob Stopak
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.3.3"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import pathlib
|
|
2
|
+
from typing import List, Union
|
|
3
|
+
|
|
4
|
+
from pydantic_settings import BaseSettings
|
|
5
|
+
|
|
6
|
+
from git_sim.enums import StyleOptions, ColorByOptions, ImgFormat, VideoFormat
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Settings(BaseSettings):
|
|
10
|
+
allow_no_commits: bool = False
|
|
11
|
+
animate: bool = False
|
|
12
|
+
auto_open: bool = True
|
|
13
|
+
n_default: int = 5
|
|
14
|
+
n: int = 5
|
|
15
|
+
files: Union[List[pathlib.Path], None] = None
|
|
16
|
+
hide_first_tag: bool = False
|
|
17
|
+
img_format: ImgFormat = ImgFormat.JPG
|
|
18
|
+
INFO_STRING: str = "Simulating: git"
|
|
19
|
+
light_mode: bool = False
|
|
20
|
+
transparent_bg: bool = False
|
|
21
|
+
logo: pathlib.Path = pathlib.Path(__file__).parent.resolve() / "logo.png"
|
|
22
|
+
low_quality: bool = False
|
|
23
|
+
max_branches_per_commit: int = 1
|
|
24
|
+
max_tags_per_commit: int = 1
|
|
25
|
+
media_dir: pathlib.Path = pathlib.Path().cwd()
|
|
26
|
+
outro_bottom_text: str = "Learn more at initialcommit.com"
|
|
27
|
+
outro_top_text: str = "Thanks for using Initial Commit!"
|
|
28
|
+
reverse: bool = False
|
|
29
|
+
show_intro: bool = False
|
|
30
|
+
show_outro: bool = False
|
|
31
|
+
speed: float = 1.5
|
|
32
|
+
title: str = "Git-Sim, by initialcommit.com"
|
|
33
|
+
video_format: VideoFormat = VideoFormat.MP4
|
|
34
|
+
stdout: bool = False
|
|
35
|
+
output_only_path: bool = False
|
|
36
|
+
quiet: bool = False
|
|
37
|
+
invert_branches: bool = False
|
|
38
|
+
hide_merged_branches: bool = False
|
|
39
|
+
all: bool = False
|
|
40
|
+
color_by: Union[ColorByOptions, None] = None
|
|
41
|
+
highlight_commit_messages: bool = False
|
|
42
|
+
style: Union[StyleOptions, None] = StyleOptions.CLEAN
|
|
43
|
+
|
|
44
|
+
class Config:
|
|
45
|
+
env_prefix = "git_sim_"
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
settings = Settings()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: git-sim
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Simulate Git commands on your own repos by generating an image (default) or video visualization depicting the command's behavior.
|
|
5
5
|
Home-page: https://initialcommit.com/tools/git-sim
|
|
6
6
|
Author: Jacob Stopak
|
|
@@ -26,7 +26,7 @@ setuptools.setup(
|
|
|
26
26
|
"manim",
|
|
27
27
|
"opencv-python-headless",
|
|
28
28
|
"typer",
|
|
29
|
-
"
|
|
29
|
+
"pydantic_settings",
|
|
30
30
|
"git-dummy",
|
|
31
31
|
],
|
|
32
32
|
keywords="git sim simulation simulate git-simulate git-simulation git-sim manim animation gitanimation image video dryrun dry-run",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.3.2"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import pathlib
|
|
2
|
-
from typing import List, Union
|
|
3
|
-
|
|
4
|
-
from pydantic import BaseSettings
|
|
5
|
-
|
|
6
|
-
from git_sim.enums import StyleOptions, ColorByOptions, ImgFormat, VideoFormat
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class Settings(BaseSettings):
|
|
10
|
-
allow_no_commits = False
|
|
11
|
-
animate = False
|
|
12
|
-
auto_open = True
|
|
13
|
-
n_default = 5
|
|
14
|
-
n = 5
|
|
15
|
-
files: Union[List[pathlib.Path], None] = None
|
|
16
|
-
hide_first_tag = False
|
|
17
|
-
img_format: ImgFormat = ImgFormat.JPG
|
|
18
|
-
INFO_STRING = "Simulating: git"
|
|
19
|
-
light_mode = False
|
|
20
|
-
transparent_bg = False
|
|
21
|
-
logo = pathlib.Path(__file__).parent.resolve() / "logo.png"
|
|
22
|
-
low_quality = False
|
|
23
|
-
max_branches_per_commit = 1
|
|
24
|
-
max_tags_per_commit = 1
|
|
25
|
-
media_dir = pathlib.Path().cwd()
|
|
26
|
-
outro_bottom_text = "Learn more at initialcommit.com"
|
|
27
|
-
outro_top_text = "Thanks for using Initial Commit!"
|
|
28
|
-
reverse = False
|
|
29
|
-
show_intro = False
|
|
30
|
-
show_outro = False
|
|
31
|
-
speed = 1.5
|
|
32
|
-
title = "Git-Sim, by initialcommit.com"
|
|
33
|
-
video_format: VideoFormat = VideoFormat.MP4
|
|
34
|
-
stdout = False
|
|
35
|
-
output_only_path = False
|
|
36
|
-
quiet = False
|
|
37
|
-
invert_branches = False
|
|
38
|
-
hide_merged_branches = False
|
|
39
|
-
all = False
|
|
40
|
-
color_by: Union[ColorByOptions, None] = None
|
|
41
|
-
highlight_commit_messages = False
|
|
42
|
-
style: Union[StyleOptions, None] = StyleOptions.CLEAN
|
|
43
|
-
|
|
44
|
-
class Config:
|
|
45
|
-
env_prefix = "git_sim_"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
settings = Settings()
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|