bib-optimizer 0.0.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.0.1/PKG-INFO +43 -0
- bib_optimizer-0.0.1/README.md +30 -0
- bib_optimizer-0.0.1/bib_cleaner/__init__.py +0 -0
- bib_optimizer-0.0.1/bib_optimizer.egg-info/PKG-INFO +43 -0
- bib_optimizer-0.0.1/bib_optimizer.egg-info/SOURCES.txt +7 -0
- bib_optimizer-0.0.1/bib_optimizer.egg-info/dependency_links.txt +1 -0
- bib_optimizer-0.0.1/bib_optimizer.egg-info/top_level.txt +1 -0
- bib_optimizer-0.0.1/pyproject.toml +18 -0
- bib_optimizer-0.0.1/setup.cfg +4 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bib_optimizer
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: bib_cleaner
|
|
5
|
+
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/kwyip/bib_optimizer
|
|
7
|
+
Project-URL: Issues, https://github.com/kwyip/bib_optimizer/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# bib-cleaner
|
|
15
|
+
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_cleaner.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.
|
|
16
|
+
|
|
17
|
+
In layman's terms, it automates bibliography management by removing unused citations and reordering the remaining ones to match their appearance in the `.tex` file.
|
|
18
|
+
|
|
19
|
+
**Input Files:**
|
|
20
|
+
- `main.tex` – The LaTeX source file.
|
|
21
|
+
- `ref.bib` – The original bibliography file.
|
|
22
|
+
|
|
23
|
+
These input files will **remain unchanged**.
|
|
24
|
+
|
|
25
|
+
**Output File:**
|
|
26
|
+
- `ref_clean.bib` – The newly generated, cleaned bibliography file.
|
|
27
|
+
|
|
28
|
+
------------------------------------------------------------------------------
|
|
29
|
+
### Steps to Clean Your Bibliography
|
|
30
|
+
|
|
31
|
+
1. **Install Dependencies**
|
|
32
|
+
```sh
|
|
33
|
+
pip install bibtexparser # Requires Python 3
|
|
34
|
+
2. **Run the Script**
|
|
35
|
+
```sh
|
|
36
|
+
python bib_cleaner.py main.tex ref.bib ref_clean.bib
|
|
37
|
+
3. **Use the Cleaned Bibliography**
|
|
38
|
+
Replace `ref.bib` with `ref_clean.bib` in your LaTeX project.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
_____________
|
|
43
|
+
Lastly executed on Python `3.10` and bibtexparser `4.3`
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# bib-cleaner
|
|
2
|
+
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_cleaner.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.
|
|
3
|
+
|
|
4
|
+
In layman's terms, it automates bibliography management by removing unused citations and reordering the remaining ones to match their appearance in the `.tex` file.
|
|
5
|
+
|
|
6
|
+
**Input Files:**
|
|
7
|
+
- `main.tex` – The LaTeX source file.
|
|
8
|
+
- `ref.bib` – The original bibliography file.
|
|
9
|
+
|
|
10
|
+
These input files will **remain unchanged**.
|
|
11
|
+
|
|
12
|
+
**Output File:**
|
|
13
|
+
- `ref_clean.bib` – The newly generated, cleaned bibliography file.
|
|
14
|
+
|
|
15
|
+
------------------------------------------------------------------------------
|
|
16
|
+
### Steps to Clean Your Bibliography
|
|
17
|
+
|
|
18
|
+
1. **Install Dependencies**
|
|
19
|
+
```sh
|
|
20
|
+
pip install bibtexparser # Requires Python 3
|
|
21
|
+
2. **Run the Script**
|
|
22
|
+
```sh
|
|
23
|
+
python bib_cleaner.py main.tex ref.bib ref_clean.bib
|
|
24
|
+
3. **Use the Cleaned Bibliography**
|
|
25
|
+
Replace `ref.bib` with `ref_clean.bib` in your LaTeX project.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
_____________
|
|
30
|
+
Lastly executed on Python `3.10` and bibtexparser `4.3`
|
|
File without changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bib_optimizer
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: bib_cleaner
|
|
5
|
+
Author-email: Ka Wa Yip <yipkawa@gmail.com>
|
|
6
|
+
Project-URL: Homepage, https://github.com/kwyip/bib_optimizer
|
|
7
|
+
Project-URL: Issues, https://github.com/kwyip/bib_optimizer/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# bib-cleaner
|
|
15
|
+
Oh, sure, because who doesn't love manually cleaning up messy `.bib` files? `bib_cleaner.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.
|
|
16
|
+
|
|
17
|
+
In layman's terms, it automates bibliography management by removing unused citations and reordering the remaining ones to match their appearance in the `.tex` file.
|
|
18
|
+
|
|
19
|
+
**Input Files:**
|
|
20
|
+
- `main.tex` – The LaTeX source file.
|
|
21
|
+
- `ref.bib` – The original bibliography file.
|
|
22
|
+
|
|
23
|
+
These input files will **remain unchanged**.
|
|
24
|
+
|
|
25
|
+
**Output File:**
|
|
26
|
+
- `ref_clean.bib` – The newly generated, cleaned bibliography file.
|
|
27
|
+
|
|
28
|
+
------------------------------------------------------------------------------
|
|
29
|
+
### Steps to Clean Your Bibliography
|
|
30
|
+
|
|
31
|
+
1. **Install Dependencies**
|
|
32
|
+
```sh
|
|
33
|
+
pip install bibtexparser # Requires Python 3
|
|
34
|
+
2. **Run the Script**
|
|
35
|
+
```sh
|
|
36
|
+
python bib_cleaner.py main.tex ref.bib ref_clean.bib
|
|
37
|
+
3. **Use the Cleaned Bibliography**
|
|
38
|
+
Replace `ref.bib` with `ref_clean.bib` in your LaTeX project.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
_____________
|
|
43
|
+
Lastly executed on Python `3.10` and bibtexparser `4.3`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
bib_cleaner
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "bib_optimizer"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name="Ka Wa Yip", email="yipkawa@gmail.com" },
|
|
6
|
+
]
|
|
7
|
+
description = "bib_cleaner"
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.8"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Programming Language :: Python :: 3",
|
|
12
|
+
"Operating System :: OS Independent",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.urls]
|
|
17
|
+
Homepage = "https://github.com/kwyip/bib_optimizer"
|
|
18
|
+
Issues = "https://github.com/kwyip/bib_optimizer/issues"
|