Package: bibtheque
PyBibthèqueCommand line program to organize and manage a bibliography or references.NotesConnects to mongodb database via a URI.
The details are in the config at.config/bibtheque.tomlRun tests withpytestStill need to come up with a universal id system. I like doi and isbn but that doesn't work when a paper or book doesn't have that (like for a manual entry). I'm considering making a hash to id idea but I'm not sure if that's the best. I need to investigate particular hashes.I need to implement the side of bibtheque that outputs bibtex strings to a bib file with correct ids for use in an articleFill out the argument parser help doc.Integrate tags and notes in the cli.pyrunningpip install -e <path>to install and runbibtexhttps://www.bibtex.com/format/setuplibrary
|- database.json
|- raw/
|- annotated/
|- .gitignoreinitializebibtheque initmake library folder and folder structuremake database.jsonmake default config at .config/bibtheque.ymlmake .gitignore with raw/ and annotated/ in itinsert filesinsert files withinsert -f? (f flag for file?)original filename is stored
file is renamed according to uuid given to it and moved
when entry is called, original file is returned (uuid.pdf renamed original.pdf)versioninguse git for database.json and configBibTeXentry typesarticle
book
booklet
conference (same as inproceedings)
inbook
incollection
inproceedings
manual
mastersthesis
misc
phdthesis
proceedings
techreport
unpublishedrequired and optional fieldstyperequiredoptionalarticleauthor, title, journal, year, volumenumber, pages, month, doi, note, keybookauthor or editor, title, publisher, yearvolume or number, series, address, edition, month, note, key, urlbooklettitleauthor, howpublished, address, month, year, note, keyconference (see inproceedings)inbookauthor or editor, title, chapter or pages, publisher, yearvolume or number, series, type, address, edition, month, note, keyincollectionauthor, title, booktitle, publisher, yeareditor, volume or number, series, type, chapter, pages, address, edition, month, note, keyinproceedingsauthor, title, booktitle, yeareditor, volume or number, series, pages, address, month, organization, publisher, note, keymanualtitleauthor, organization, address, edition, month, year, note, keymastersthesisauthor, title, school, yeartype, address, month, note, keymiscauthor, title, howpublished, month, year, note, keyphdthesisauthor, title, school, yeartype, address, month, note, keyproceedingstitle, yeareditor, volume or number, series, address, month, publishertechreportauthor, title, institution, yeartype, number, address, month, note, keyunpublishedauthor, title, notemonth, year, keyfieldsaddress
annote
author
booktitle
Email
chapter
crossref
doi
edition
editor
howpublished
institution
journal
key
month
note
number
organization
pages
publisher
school
series
title
type
volume
yeardatabaseall bibtex fields
read flag
tags
organization tags
synopsis
annotations
raw_path
annotated_pathdoc_dictbib_dict (dict) -> doc_dict['bib']fields (str)read flag (bool)tags (list) -> including project labelssynopsis (str)notes (str)path_dict (dict) -> doc_dict['path']raw_path (str)annotated_path (str)databasetypealphabetical order of required fieldsConnect:mongosh "mongodb://144.44.44.44" --username root --password pass