bib-optimizer 0.3.3__tar.gz → 0.3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bib_optimizer
3
- Version: 0.3.3
3
+ Version: 0.3.5
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
- bib-optimizer
56
- =============
55
+ <figure>
56
+ <img src="logo.png" alt="logo" height="143" />
57
+ <!-- <figcaption>An elephant at sunset</figcaption> -->
58
+ </figure>
59
+
60
+ [![](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
61
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bib-optimizer)](https://pypi.org/project/bib-optimizer/)
62
+ [![Static Badge](https://img.shields.io/badge/CalVer-2025.0416-ff5733)](https://pypi.org/project/bib-optimizer)
63
+ [![Static Badge](https://img.shields.io/badge/PyPI-wheels-d8d805)](https://pypi.org/project/bib-optimizer/#files)
64
+ [![](https://pepy.tech/badge/bib_optimizer/month)](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` – The newly generated, cleaned and ordered bibliography file.
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,21 @@ _🐍 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
- ♥ Lastly executed on Python `3.10` and bibtexparser `1.4.3`
125
+ <figure>
126
+ <img src="sample_main_shot.png" alt="sample_main_shot" height="199"/>
127
+ &nbsp;
128
+ <img src="sample_ref_shot.png" alt="sample_ref_shot" height="199" />
129
+ <figcaption>
130
+ <i><code>sample_main.tex</code> and <code>sample_ref.bib</code></i>
131
+ </figcaption>
132
+ </figure>
133
+
134
+ <figure>
135
+ <img src="sample_ref_opt_shot.png" alt="sample_ref_opt_shot" height="199" />
136
+ <figcaption>
137
+ <i>A sample <code>ref_opt.bib</code> after running
138
+ <code>bibopt sample_main.tex sample_ref.bib ref_opt.bib</code></i>
139
+ </figcaption>
140
+ </figure>
141
+
142
+ ♥ Lastly executed on Python `3.10` on 2025-04-16.
@@ -1,5 +1,16 @@
1
- bib-optimizer
2
- =============
1
+ <figure>
2
+ <img src="logo.png" alt="logo" height="143" />
3
+ <!-- <figcaption>An elephant at sunset</figcaption> -->
4
+ </figure>
5
+
6
+ [![](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
7
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bib-optimizer)](https://pypi.org/project/bib-optimizer/)
8
+ [![Static Badge](https://img.shields.io/badge/CalVer-2025.0416-ff5733)](https://pypi.org/project/bib-optimizer)
9
+ [![Static Badge](https://img.shields.io/badge/PyPI-wheels-d8d805)](https://pypi.org/project/bib-optimizer/#files)
10
+ [![](https://pepy.tech/badge/bib_optimizer/month)](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` – The newly generated, cleaned and ordered bibliography file.
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,21 @@ _🐍 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
- ♥ Lastly executed on Python `3.10` and bibtexparser `1.4.3`
71
+ <figure>
72
+ <img src="sample_main_shot.png" alt="sample_main_shot" height="199"/>
73
+ &nbsp;
74
+ <img src="sample_ref_shot.png" alt="sample_ref_shot" height="199" />
75
+ <figcaption>
76
+ <i><code>sample_main.tex</code> and <code>sample_ref.bib</code></i>
77
+ </figcaption>
78
+ </figure>
79
+
80
+ <figure>
81
+ <img src="sample_ref_opt_shot.png" alt="sample_ref_opt_shot" height="199" />
82
+ <figcaption>
83
+ <i>A sample <code>ref_opt.bib</code> after running
84
+ <code>bibopt sample_main.tex sample_ref.bib ref_opt.bib</code></i>
85
+ </figcaption>
86
+ </figure>
87
+
88
+ ♥ 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.3"
9
+ version = "0.3.5"
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.3"
43
+ current_version = "0.3.5"
44
44
  version_pattern = "MAJOR.MINOR.PATCH"
45
45
  commit_message = "bump version {old_version} -> {new_version}"
46
46
  commit = true
@@ -0,0 +1,2 @@
1
+ # Version
2
+ __version__ = "0.3.5"
@@ -1,7 +1,7 @@
1
1
  """Version:
2
2
  --------
3
3
 
4
- - bib_optimizer v0.3.3
4
+ - bib_optimizer v0.3.5
5
5
  """
6
6
  import sys
7
7
  from bib_optimizer import helpers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bib_optimizer
3
- Version: 0.3.3
3
+ Version: 0.3.5
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
- bib-optimizer
56
- =============
55
+ <figure>
56
+ <img src="logo.png" alt="logo" height="143" />
57
+ <!-- <figcaption>An elephant at sunset</figcaption> -->
58
+ </figure>
59
+
60
+ [![](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/kwyip/bib_optimizer/blob/main/LICENSE)
61
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bib-optimizer)](https://pypi.org/project/bib-optimizer/)
62
+ [![Static Badge](https://img.shields.io/badge/CalVer-2025.0416-ff5733)](https://pypi.org/project/bib-optimizer)
63
+ [![Static Badge](https://img.shields.io/badge/PyPI-wheels-d8d805)](https://pypi.org/project/bib-optimizer/#files)
64
+ [![](https://pepy.tech/badge/bib_optimizer/month)](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` – The newly generated, cleaned and ordered bibliography file.
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,21 @@ _🐍 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
- ♥ Lastly executed on Python `3.10` and bibtexparser `1.4.3`
125
+ <figure>
126
+ <img src="sample_main_shot.png" alt="sample_main_shot" height="199"/>
127
+ &nbsp;
128
+ <img src="sample_ref_shot.png" alt="sample_ref_shot" height="199" />
129
+ <figcaption>
130
+ <i><code>sample_main.tex</code> and <code>sample_ref.bib</code></i>
131
+ </figcaption>
132
+ </figure>
133
+
134
+ <figure>
135
+ <img src="sample_ref_opt_shot.png" alt="sample_ref_opt_shot" height="199" />
136
+ <figcaption>
137
+ <i>A sample <code>ref_opt.bib</code> after running
138
+ <code>bibopt sample_main.tex sample_ref.bib ref_opt.bib</code></i>
139
+ </figcaption>
140
+ </figure>
141
+
142
+ ♥ Lastly executed on Python `3.10` on 2025-04-16.
@@ -1,2 +0,0 @@
1
- # Version
2
- __version__ = "0.3.3"
File without changes
File without changes
File without changes