pysfi 0.1.4__tar.gz → 0.1.6__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.
Files changed (29) hide show
  1. {pysfi-0.1.4 → pysfi-0.1.6}/.gitignore +19 -19
  2. {pysfi-0.1.4 → pysfi-0.1.6}/PKG-INFO +5 -1
  3. {pysfi-0.1.4 → pysfi-0.1.6}/pyproject.toml +20 -1
  4. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/__init__.py +1 -1
  5. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/alarmclock/alarmclock.py +367 -367
  6. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/bumpversion/__init__.py +1 -1
  7. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/bumpversion/bumpversion.py +535 -535
  8. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/embedinstall/embedinstall.py +418 -418
  9. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/makepython/makepython.py +310 -310
  10. pysfi-0.1.6/sfi/pdfsplit/pdfsplit.py +173 -0
  11. pysfi-0.1.6/sfi/pdfsplit/tests/test_pdfsplit.py +333 -0
  12. pysfi-0.1.6/sfi/pyloadergen/__init__.py +0 -0
  13. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/pyloadergen/pyloadergen.py +995 -995
  14. pysfi-0.1.6/sfi/pyloadergen/tests/__init__.py +0 -0
  15. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/pyloadergen/tests/test_pyloadergen.py +294 -294
  16. pysfi-0.1.6/sfi/taskkill/taskkill.py +236 -0
  17. pysfi-0.1.6/sfi/which/which.py +74 -0
  18. {pysfi-0.1.4 → pysfi-0.1.6}/README.md +0 -0
  19. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/alarmclock/__init__.py +0 -0
  20. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/bumpversion/README.md +0 -0
  21. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/bumpversion/tests/__init__.py +0 -0
  22. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/bumpversion/tests/test_bumpversion.py +0 -0
  23. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/filedate/README.md +0 -0
  24. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/filedate/__init__.py +0 -0
  25. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/filedate/filedate.py +0 -0
  26. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/makepython/__init__.py +0 -0
  27. {pysfi-0.1.4/sfi/pyloadergen → pysfi-0.1.6/sfi/pdfsplit}/tests/__init__.py +0 -0
  28. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/projectparse/projectparse.py +0 -0
  29. {pysfi-0.1.4 → pysfi-0.1.6}/sfi/pypacker/fspacker.py +0 -0
@@ -1,19 +1,19 @@
1
- # Python-generated files
2
- __pycache__/
3
- *.py[oc]
4
- build/
5
- dist/
6
- wheels/
7
- *.egg-info
8
-
9
- # Virtual environments
10
- .venv
11
- uv.lock
12
- .vscode
13
- projects.json
14
- runtime
15
- .cache
16
- .coverage
17
- pyloader.exe
18
- *.c
19
- .python-version
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
11
+ uv.lock
12
+ .vscode
13
+ projects.json
14
+ runtime
15
+ .cache
16
+ .coverage
17
+ pyloader.exe
18
+ *.c
19
+ .python-version
@@ -1,9 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pysfi
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: Single File commands for Interactive python.
5
5
  Requires-Python: >=3.8
6
6
  Requires-Dist: tomli>=2.4.0; python_version < '3.11'
7
+ Provides-Extra: all
8
+ Requires-Dist: pymupdf>=1.24.11; extra == 'all'
9
+ Provides-Extra: office
10
+ Requires-Dist: pymupdf>=1.24.11; extra == 'office'
7
11
  Description-Content-Type: text/markdown
8
12
 
9
13
  # pysfi
@@ -8,7 +8,7 @@ description = "Single File commands for Interactive python."
8
8
  name = "pysfi"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
11
- version = "0.1.4"
11
+ version = "0.1.6"
12
12
 
13
13
  [project.scripts]
14
14
  alarmclk = "sfi.alarmclock.alarmclock:main"
@@ -16,9 +16,16 @@ bumpversion = "sfi.bumpversion.bumpversion:main"
16
16
  embedinstall = "sfi.embedinstall.embedinstall:main"
17
17
  filedate = "sfi.filedate.filedate:main"
18
18
  mkp = "sfi.makepython.makepython:main"
19
+ pdfsplit = "sfi.pdfsplit.pdfsplit:main"
19
20
  projectparse = "sfi.projectparse.projectparse:main"
20
21
  pyloadergen = "sfi.pyloadergen.pyloadergen:main"
21
22
  pypacker = "sfi.pypacker.pypacker:main"
23
+ taskk = "sfi.taskkill.taskkill:main"
24
+ wch = "sfi.which.which:main"
25
+
26
+ [project.optional-dependencies]
27
+ all = ["pysfi[office]"]
28
+ office = ["pymupdf>=1.24.11"]
22
29
 
23
30
  [tool.hatch.build.targets.wheel]
24
31
  exclude = [
@@ -96,14 +103,18 @@ members = [
96
103
  "sfi/embedinstall",
97
104
  "sfi/filedate",
98
105
  "sfi/makepython",
106
+ "sfi/pdfsplit",
99
107
  "sfi/projectparse",
100
108
  "sfi/pyloadergen",
101
109
  "sfi/pypacker",
110
+ "sfi/taskkill",
111
+ "sfi/which",
102
112
  ]
103
113
 
104
114
  [dependency-groups]
105
115
  dev = [
106
116
  "hatch>=1.14.2",
117
+ "pysfi[all]",
107
118
  "pyside2>=5.15.2.1",
108
119
  "pytest-cov>=5.0.0",
109
120
  "pytest>=8.3.5",
@@ -111,3 +122,11 @@ dev = [
111
122
  "ruff>=0.14.11",
112
123
  "tomli>=2.4.0",
113
124
  ]
125
+
126
+ [tool.pytest.ini_options]
127
+ addopts = "-v --tb=short"
128
+ python_classes = ["Test*"]
129
+ python_files = ["test_*.py"]
130
+ python_functions = ["test_*"]
131
+ pythonpath = ["."]
132
+ testpaths = ["sfi"]
@@ -1,3 +1,3 @@
1
1
  """Single File commands for Interactive python."""
2
2
 
3
- __version__ = "0.1.4"
3
+ __version__ = "0.1.6"