bib-optimizer 0.3.4__tar.gz → 0.3.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.
- {bib_optimizer-0.3.4/src/bib_optimizer.egg-info → bib_optimizer-0.3.6}/PKG-INFO +26 -5
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/README.md +25 -4
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/pyproject.toml +2 -2
- bib_optimizer-0.3.6/src/bib_optimizer/__init__.py +2 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer/__main__.py +1 -1
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6/src/bib_optimizer.egg-info}/PKG-INFO +26 -5
- bib_optimizer-0.3.4/src/bib_optimizer/__init__.py +0 -2
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/LICENSE +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/MANIFEST.in +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/setup.cfg +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer/helpers.py +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer.egg-info/SOURCES.txt +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer.egg-info/dependency_links.txt +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer.egg-info/entry_points.txt +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer.egg-info/requires.txt +0 -0
- {bib_optimizer-0.3.4 → bib_optimizer-0.3.6}/src/bib_optimizer.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bib_optimizer
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Clean and optimize bib file.
|
|
5
5
|
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -52,8 +52,19 @@ Requires-Dist: mypy; extra == "dev"
|
|
|
52
52
|
Requires-Dist: pytest; extra == "dev"
|
|
53
53
|
Dynamic: license-file
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
<figure>
|
|
56
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/logo.png?raw=True" alt="logo" height="143" />
|
|
57
|
+
<!-- <figcaption>An elephant at sunset</figcaption> -->
|
|
58
|
+
</figure>
|
|
59
|
+
|
|
60
|
+
[](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
|
|
61
|
+
[](https://pypi.org/project/bib-optimizer/)
|
|
62
|
+
[](https://pypi.org/project/bib-optimizer)
|
|
63
|
+
[](https://pypi.org/project/bib-optimizer/#files)
|
|
64
|
+
[](https://pepy.tech/project/bib_optimizer)
|
|
65
|
+
|
|
66
|
+
[bib-optimizer](https://bibopt.github.io/)
|
|
67
|
+
==========================================
|
|
57
68
|
|
|
58
69
|
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_optimizer.py` heroically steps in to remove those lazy, _unused_ citations and _reorder_ the survivors exactly as they appear in the `.tex` file—because, clearly, chaos is the default setting for bibliographies.
|
|
59
70
|
|
|
@@ -71,7 +82,7 @@ These input files will **remain unchanged**.
|
|
|
71
82
|
|
|
72
83
|
**Output File:**
|
|
73
84
|
|
|
74
|
-
* `ref_opt.bib` –
|
|
85
|
+
* `ref_opt.bib` – A placeholder filename for the newly generated, cleaned, and ordered bibliography file.
|
|
75
86
|
|
|
76
87
|
* * *
|
|
77
88
|
|
|
@@ -111,4 +122,14 @@ _🐍 This requires Python 3.8 or newer versions_
|
|
|
111
122
|
|
|
112
123
|
You may test the installation using the sample input files (`sample_main.tex` and `sample_ref.bib`) located in the test folder.
|
|
113
124
|
|
|
114
|
-
|
|
125
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_main_shot.png?raw=True" alt="sample_main_shot" height="200"/> <img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_shot.png?raw=True" alt="sample_ref_shot" height="200" />
|
|
126
|
+
|
|
127
|
+
_`sample_main.tex` and `sample_ref.bib`_
|
|
128
|
+
|
|
129
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_opt_shot.png?raw=True" alt="sample_ref_opt_shot" height="200" />
|
|
130
|
+
|
|
131
|
+
_A sample `ref_opt.bib` after running `bibopt sample_main.tex sample_ref.bib ref_opt.bib`_
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
♥ Lastly executed on Python `3.10` on 2025-04-16.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
<figure>
|
|
2
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/logo.png?raw=True" alt="logo" height="143" />
|
|
3
|
+
<!-- <figcaption>An elephant at sunset</figcaption> -->
|
|
4
|
+
</figure>
|
|
5
|
+
|
|
6
|
+
[](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
|
|
7
|
+
[](https://pypi.org/project/bib-optimizer/)
|
|
8
|
+
[](https://pypi.org/project/bib-optimizer)
|
|
9
|
+
[](https://pypi.org/project/bib-optimizer/#files)
|
|
10
|
+
[](https://pepy.tech/project/bib_optimizer)
|
|
11
|
+
|
|
12
|
+
[bib-optimizer](https://bibopt.github.io/)
|
|
13
|
+
==========================================
|
|
3
14
|
|
|
4
15
|
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_optimizer.py` heroically steps in to remove those lazy, _unused_ citations and _reorder_ the survivors exactly as they appear in the `.tex` file—because, clearly, chaos is the default setting for bibliographies.
|
|
5
16
|
|
|
@@ -17,7 +28,7 @@ These input files will **remain unchanged**.
|
|
|
17
28
|
|
|
18
29
|
**Output File:**
|
|
19
30
|
|
|
20
|
-
* `ref_opt.bib` –
|
|
31
|
+
* `ref_opt.bib` – A placeholder filename for the newly generated, cleaned, and ordered bibliography file.
|
|
21
32
|
|
|
22
33
|
* * *
|
|
23
34
|
|
|
@@ -57,4 +68,14 @@ _🐍 This requires Python 3.8 or newer versions_
|
|
|
57
68
|
|
|
58
69
|
You may test the installation using the sample input files (`sample_main.tex` and `sample_ref.bib`) located in the test folder.
|
|
59
70
|
|
|
60
|
-
|
|
71
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_main_shot.png?raw=True" alt="sample_main_shot" height="200"/> <img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_shot.png?raw=True" alt="sample_ref_shot" height="200" />
|
|
72
|
+
|
|
73
|
+
_`sample_main.tex` and `sample_ref.bib`_
|
|
74
|
+
|
|
75
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_opt_shot.png?raw=True" alt="sample_ref_opt_shot" height="200" />
|
|
76
|
+
|
|
77
|
+
_A sample `ref_opt.bib` after running `bibopt sample_main.tex sample_ref.bib ref_opt.bib`_
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
♥ Lastly executed on Python `3.10` on 2025-04-16.
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "bib_optimizer"
|
|
9
|
-
version = "0.3.
|
|
9
|
+
version = "0.3.6"
|
|
10
10
|
description = "Clean and optimize bib file."
|
|
11
11
|
authors = [
|
|
12
12
|
{ name="Ka Wa Yip", email="yipkawa@gmail.com" },
|
|
@@ -40,7 +40,7 @@ dev = ["black", "bumpver", "isort", "mypy", "pytest"]
|
|
|
40
40
|
bibopt = "bib_optimizer.__main__:main"
|
|
41
41
|
|
|
42
42
|
[tool.bumpver]
|
|
43
|
-
current_version = "0.3.
|
|
43
|
+
current_version = "0.3.6"
|
|
44
44
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
45
45
|
commit_message = "bump version {old_version} -> {new_version}"
|
|
46
46
|
commit = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bib_optimizer
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
4
4
|
Summary: Clean and optimize bib file.
|
|
5
5
|
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -52,8 +52,19 @@ Requires-Dist: mypy; extra == "dev"
|
|
|
52
52
|
Requires-Dist: pytest; extra == "dev"
|
|
53
53
|
Dynamic: license-file
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
<figure>
|
|
56
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/logo.png?raw=True" alt="logo" height="143" />
|
|
57
|
+
<!-- <figcaption>An elephant at sunset</figcaption> -->
|
|
58
|
+
</figure>
|
|
59
|
+
|
|
60
|
+
[](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
|
|
61
|
+
[](https://pypi.org/project/bib-optimizer/)
|
|
62
|
+
[](https://pypi.org/project/bib-optimizer)
|
|
63
|
+
[](https://pypi.org/project/bib-optimizer/#files)
|
|
64
|
+
[](https://pepy.tech/project/bib_optimizer)
|
|
65
|
+
|
|
66
|
+
[bib-optimizer](https://bibopt.github.io/)
|
|
67
|
+
==========================================
|
|
57
68
|
|
|
58
69
|
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_optimizer.py` heroically steps in to remove those lazy, _unused_ citations and _reorder_ the survivors exactly as they appear in the `.tex` file—because, clearly, chaos is the default setting for bibliographies.
|
|
59
70
|
|
|
@@ -71,7 +82,7 @@ These input files will **remain unchanged**.
|
|
|
71
82
|
|
|
72
83
|
**Output File:**
|
|
73
84
|
|
|
74
|
-
* `ref_opt.bib` –
|
|
85
|
+
* `ref_opt.bib` – A placeholder filename for the newly generated, cleaned, and ordered bibliography file.
|
|
75
86
|
|
|
76
87
|
* * *
|
|
77
88
|
|
|
@@ -111,4 +122,14 @@ _🐍 This requires Python 3.8 or newer versions_
|
|
|
111
122
|
|
|
112
123
|
You may test the installation using the sample input files (`sample_main.tex` and `sample_ref.bib`) located in the test folder.
|
|
113
124
|
|
|
114
|
-
|
|
125
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_main_shot.png?raw=True" alt="sample_main_shot" height="200"/> <img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_shot.png?raw=True" alt="sample_ref_shot" height="200" />
|
|
126
|
+
|
|
127
|
+
_`sample_main.tex` and `sample_ref.bib`_
|
|
128
|
+
|
|
129
|
+
<img src="https://github.com/kwyip/bib_optimizer/blob/main/sample_ref_opt_shot.png?raw=True" alt="sample_ref_opt_shot" height="200" />
|
|
130
|
+
|
|
131
|
+
_A sample `ref_opt.bib` after running `bibopt sample_main.tex sample_ref.bib ref_opt.bib`_
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
♥ Lastly executed on Python `3.10` on 2025-04-16.
|
|
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
|