bib-optimizer 0.4.4__tar.gz → 0.5.1__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.4.4/src/bib_optimizer.egg-info → bib_optimizer-0.5.1}/PKG-INFO +31 -2
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/README.md +30 -1
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/pyproject.toml +2 -2
- bib_optimizer-0.5.1/src/bib_optimizer/__init__.py +2 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer/__main__.py +1 -1
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1/src/bib_optimizer.egg-info}/PKG-INFO +31 -2
- bib_optimizer-0.4.4/src/bib_optimizer/__init__.py +0 -2
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/LICENSE +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/setup.cfg +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer/helpers.py +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer.egg-info/SOURCES.txt +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer.egg-info/dependency_links.txt +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer.egg-info/entry_points.txt +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/src/bib_optimizer.egg-info/requires.txt +0 -0
- {bib_optimizer-0.4.4 → bib_optimizer-0.5.1}/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
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Clean and optimize bib file.
|
|
5
5
|
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -173,7 +173,31 @@ You may test the installation using the sample input files (`sample_main.tex` an
|
|
|
173
173
|
|
|
174
174
|
_A sample_ `ref_opt.bib` _created after running_ `bibopt sample_main.tex sample_ref.bib ref_opt.bib`
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
* * *
|
|
177
|
+
|
|
178
|
+
## Code-free use with an AI agent
|
|
179
|
+
|
|
180
|
+
[**Download `SKILL.md`**](./SKILL.md), then upload these files to your AI agent:
|
|
181
|
+
|
|
182
|
+
- `SKILL.md`,
|
|
183
|
+
- the root `.tex` file,
|
|
184
|
+
- the source `.bib` file, and if any:
|
|
185
|
+
- every `.tex` file referenced through `\input` or `\include`.
|
|
186
|
+
|
|
187
|
+
> [!TIP]
|
|
188
|
+
> Use this prompt:
|
|
189
|
+
>
|
|
190
|
+
> ```text
|
|
191
|
+
> Use the attached `SKILL.md` to optimize the attached LaTeX and BibTeX files.
|
|
192
|
+
> Return only the optimized `.bib` file.
|
|
193
|
+
> ```
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
https://github.com/user-attachments/assets/2b4e3224-2aee-44c1-974c-812dead72e2f
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
* * *
|
|
200
|
+
|
|
177
201
|
#### New feature (version 0.4.0)
|
|
178
202
|
|
|
179
203
|
If the `main.tex` calls inputs from other `.tex` (e.g., with `\input{...}`), the newly generated `ref_opt.bib` will preserve the order of appearances in the `main.tex` with each inputted `.tex` as well. \
|
|
@@ -194,4 +218,9 @@ Added support for the `\include{...}` command in addition to `\input{...}`, fixi
|
|
|
194
218
|
|
|
195
219
|
Added Python 3.14 support and constrained `bibtexparser` to the compatible 1.x release series, fixing `ModuleNotFoundError: No module named 'bibtexparser.bwriter'` during fresh installations.
|
|
196
220
|
|
|
221
|
+
---
|
|
222
|
+
#### New feature/Fix (version 0.5.0)
|
|
223
|
+
|
|
224
|
+
Add code-free SKILL.md
|
|
225
|
+
|
|
197
226
|
♥ Lastly executed on Python `3.14` on 2026-09-29.
|
|
@@ -118,7 +118,31 @@ You may test the installation using the sample input files (`sample_main.tex` an
|
|
|
118
118
|
|
|
119
119
|
_A sample_ `ref_opt.bib` _created after running_ `bibopt sample_main.tex sample_ref.bib ref_opt.bib`
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
* * *
|
|
122
|
+
|
|
123
|
+
## Code-free use with an AI agent
|
|
124
|
+
|
|
125
|
+
[**Download `SKILL.md`**](./SKILL.md), then upload these files to your AI agent:
|
|
126
|
+
|
|
127
|
+
- `SKILL.md`,
|
|
128
|
+
- the root `.tex` file,
|
|
129
|
+
- the source `.bib` file, and if any:
|
|
130
|
+
- every `.tex` file referenced through `\input` or `\include`.
|
|
131
|
+
|
|
132
|
+
> [!TIP]
|
|
133
|
+
> Use this prompt:
|
|
134
|
+
>
|
|
135
|
+
> ```text
|
|
136
|
+
> Use the attached `SKILL.md` to optimize the attached LaTeX and BibTeX files.
|
|
137
|
+
> Return only the optimized `.bib` file.
|
|
138
|
+
> ```
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
https://github.com/user-attachments/assets/2b4e3224-2aee-44c1-974c-812dead72e2f
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
* * *
|
|
145
|
+
|
|
122
146
|
#### New feature (version 0.4.0)
|
|
123
147
|
|
|
124
148
|
If the `main.tex` calls inputs from other `.tex` (e.g., with `\input{...}`), the newly generated `ref_opt.bib` will preserve the order of appearances in the `main.tex` with each inputted `.tex` as well. \
|
|
@@ -139,4 +163,9 @@ Added support for the `\include{...}` command in addition to `\input{...}`, fixi
|
|
|
139
163
|
|
|
140
164
|
Added Python 3.14 support and constrained `bibtexparser` to the compatible 1.x release series, fixing `ModuleNotFoundError: No module named 'bibtexparser.bwriter'` during fresh installations.
|
|
141
165
|
|
|
166
|
+
---
|
|
167
|
+
#### New feature/Fix (version 0.5.0)
|
|
168
|
+
|
|
169
|
+
Add code-free SKILL.md
|
|
170
|
+
|
|
142
171
|
♥ Lastly executed on Python `3.14` on 2026-09-29.
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "bib_optimizer"
|
|
9
|
-
version = "0.
|
|
9
|
+
version = "0.5.1"
|
|
10
10
|
description = "Clean and optimize bib file."
|
|
11
11
|
authors = [
|
|
12
12
|
{ name="Ka Wa Yip", email="yipkawa@gmail.com" },
|
|
@@ -41,7 +41,7 @@ dev = ["black", "bumpver", "isort", "mypy", "pytest"]
|
|
|
41
41
|
bibopt = "bib_optimizer.__main__:main"
|
|
42
42
|
|
|
43
43
|
[tool.bumpver]
|
|
44
|
-
current_version = "0.
|
|
44
|
+
current_version = "0.5.1"
|
|
45
45
|
version_pattern = "MAJOR.MINOR.PATCH"
|
|
46
46
|
commit_message = "bump version {old_version} -> {new_version}"
|
|
47
47
|
commit = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bib_optimizer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Clean and optimize bib file.
|
|
5
5
|
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -173,7 +173,31 @@ You may test the installation using the sample input files (`sample_main.tex` an
|
|
|
173
173
|
|
|
174
174
|
_A sample_ `ref_opt.bib` _created after running_ `bibopt sample_main.tex sample_ref.bib ref_opt.bib`
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
* * *
|
|
177
|
+
|
|
178
|
+
## Code-free use with an AI agent
|
|
179
|
+
|
|
180
|
+
[**Download `SKILL.md`**](./SKILL.md), then upload these files to your AI agent:
|
|
181
|
+
|
|
182
|
+
- `SKILL.md`,
|
|
183
|
+
- the root `.tex` file,
|
|
184
|
+
- the source `.bib` file, and if any:
|
|
185
|
+
- every `.tex` file referenced through `\input` or `\include`.
|
|
186
|
+
|
|
187
|
+
> [!TIP]
|
|
188
|
+
> Use this prompt:
|
|
189
|
+
>
|
|
190
|
+
> ```text
|
|
191
|
+
> Use the attached `SKILL.md` to optimize the attached LaTeX and BibTeX files.
|
|
192
|
+
> Return only the optimized `.bib` file.
|
|
193
|
+
> ```
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
https://github.com/user-attachments/assets/2b4e3224-2aee-44c1-974c-812dead72e2f
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
* * *
|
|
200
|
+
|
|
177
201
|
#### New feature (version 0.4.0)
|
|
178
202
|
|
|
179
203
|
If the `main.tex` calls inputs from other `.tex` (e.g., with `\input{...}`), the newly generated `ref_opt.bib` will preserve the order of appearances in the `main.tex` with each inputted `.tex` as well. \
|
|
@@ -194,4 +218,9 @@ Added support for the `\include{...}` command in addition to `\input{...}`, fixi
|
|
|
194
218
|
|
|
195
219
|
Added Python 3.14 support and constrained `bibtexparser` to the compatible 1.x release series, fixing `ModuleNotFoundError: No module named 'bibtexparser.bwriter'` during fresh installations.
|
|
196
220
|
|
|
221
|
+
---
|
|
222
|
+
#### New feature/Fix (version 0.5.0)
|
|
223
|
+
|
|
224
|
+
Add code-free SKILL.md
|
|
225
|
+
|
|
197
226
|
♥ Lastly executed on Python `3.14` on 2026-09-29.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|