libjam 0.0.3__tar.gz → 0.0.5__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.
- {libjam-0.0.3 → libjam-0.0.5}/PKG-INFO +2 -2
- libjam-0.0.5/build.sh +8 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/notebook.py +2 -8
- {libjam-0.0.3 → libjam-0.0.5}/pyproject.toml +2 -2
- {libjam-0.0.3 → libjam-0.0.5}/.gitignore +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/LICENSE +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/README.md +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/__init__.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/captain.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/clipboard.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/drawer.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/flashcard.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/libjam/typewriter.py +0 -0
- {libjam-0.0.3 → libjam-0.0.5}/requirements.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: libjam
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.5
|
4
4
|
Summary: A library jam for Python.
|
5
5
|
Project-URL: Homepage, https://github.com/philippkosarev/libjam
|
6
6
|
Project-URL: Issues, https://github.com/philippkosarev/libjam/issues
|
@@ -9,7 +9,7 @@ License-Expression: GPL-2.0
|
|
9
9
|
License-File: LICENSE
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
|
-
Requires-Python: >=3.
|
12
|
+
Requires-Python: >=3.12.0
|
13
13
|
Description-Content-Type: text/markdown
|
14
14
|
|
15
15
|
# libjam
|
libjam-0.0.5/build.sh
ADDED
@@ -8,15 +8,9 @@ drawer = Drawer()
|
|
8
8
|
# Deals with configs and reading/writing files
|
9
9
|
class Notebook:
|
10
10
|
|
11
|
-
def __init__(self):
|
12
|
-
# Pre-requisites
|
13
|
-
script_folder = os.path.dirname(os.path.realpath(__file__))
|
14
|
-
script_folder = drawer.get_parent(script_folder)
|
15
|
-
self.config_template_file = f"{script_folder}/config.toml.in"
|
16
|
-
|
17
11
|
# Checking if config exists, and creating one if it does not
|
18
|
-
def check_config(self, config_file: str):
|
19
|
-
config_template = open(
|
12
|
+
def check_config(self, config_template_file: str, config_file: str):
|
13
|
+
config_template = open(config_template_file, 'r').read()
|
20
14
|
config_folder = drawer.get_parent(config_file)
|
21
15
|
if drawer.is_folder(config_folder) is False:
|
22
16
|
drawer.make_folder(config_folder)
|
@@ -14,13 +14,13 @@ include = [
|
|
14
14
|
|
15
15
|
[project]
|
16
16
|
name = "libjam"
|
17
|
-
version = "0.0.
|
17
|
+
version = "0.0.5"
|
18
18
|
authors = [
|
19
19
|
{ name="Philipp Kosarev", email="philipp.kosarev@gmail.com" },
|
20
20
|
]
|
21
21
|
description = "A library jam for Python."
|
22
22
|
readme = "README.md"
|
23
|
-
requires-python = ">=3.
|
23
|
+
requires-python = ">=3.12.0"
|
24
24
|
classifiers = [
|
25
25
|
"Programming Language :: Python :: 3",
|
26
26
|
"Operating System :: OS Independent",
|
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
|