Help to use bib_file more easily
Project description
#-- bibtextidying 0.1.0 --
Author: Jian Ding and ShiBo Xu and Kun Chen Email: 937207118@qq.com Mentor: X. Fu and TingYu Luo
##[Purpose] This software is trying to help users to tidy up their bibtex files.
##[Prerequisite]
- Python3
- MySQL
##[Requires Projects]
- bibtexparser
- mysqlclient
##[Github] https://gitee.com/chen-kun19/summer-program
##[Manual]
- How to install it?
- use command following.
- For Windows
pip install bibtextidying
- For Linux
sudo apt-get update sudo apt-get install libmysqlclient-dev sudo pip install mysqlclient pip install bibtextidying
- use command following.
- How to use it?
- Type following code in your python files:
from finalbib import bibtextidying
- Type following code in your python files:
- Then you can use all the function in module bibcopy!
- this function give you an interface to use all the eight functions
bibtextidying.comprehensive()
- and maybe you will use a specific function, we have:
bibtextidying.pythonlist("filename") bibtextidying.checkintegrity("filename") bibtextidying.checkconflicts("filename") bibtextidying.merge("filename1","filename2") bibtextidying.formating("filename") bibtextidying.keyword("filename") bibtextidying.database_storage("filename","host","username","password","database") bibtextidying.database_query("bib_filename","entry","fields","host","user_name","passward","database")
- this function give you an interface to use all the eight functions
##[Function]
1. Resolves the bib_file to a list form.Give it a filename, then it tells you the information about the bibfile.
2. Checks whether the field provided by the file entry is complete.Give it a filename, it can check the field depends on the type of each entry.
3. Checks the same article whether there are more than the same items, remove the same items, if there are conflicts prompted conflict information.Just fill the filename, you can use it.
4. Synthesizes the two files into a single file, outputting is filename1_filename2.bib.
5. Formats the file.Make the file looks more tidy.
6. Uniform file keyword style.Like name2000articlename.
7. Stores a database of the specified type.7 and 8 function need users have database account or access.
8. Outputs domain information of the specified type for the specified type entry in the database, and generates bib_file.
##[Bug Report]: Any bug or documentation error you found , please submit an issue on github parge: https://gitee.com/chen-kun19/summer-program
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bibtextidying-0.1.0.tar.gz
(8.6 kB
view details)
File details
Details for the file bibtextidying-0.1.0.tar.gz
.
File metadata
- Download URL: bibtextidying-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c05f2546c824a023715d9efd0063be96cbf05865630823d77960fc078f8ffe18 |
|
MD5 | ed98aa2327b2c1ac35c2778919570fde |
|
BLAKE2b-256 | a002e382c90419e66e0f8674f4ba3e3a37fcf58379ed092b2ef50b86b3d7c1e5 |