"A Python tool that scrapes your footnotes in any Word doc and builds a bibliography so you don't have to"
Project description
Footnotes2Biblio
Footnotes2Biblio
creates a bibliography page from the footnotes in any .docx
document. Great for academics who don't want to scroll through hundreds of pages trying to track down every single source.
Table of Contents
Key features
- Lightweight and relatively easy to use
- Citation-style agnostic. Should work on most style guide.
- Simple syntax structure for marking in your doc what footnotes should be scraped.
(E.g.,
{f mono 2}
[citation]{/f}
) - Saves you hours of scrolling back and forth trying to track down every. single. citation.
Download
Easiest way to download is to open your Terminal and type in the following: python3 -m pip install footnotes2biblio
. All necessary files will be installed onto your machine.
How to use
- Set up your document to be scraped. Use the following syntax in your footnote sections to mark what should be scraped ('#' indicates the number of authors):
(f mono #} ... {/f} for monographs/books.
{f journo #} ... {/f} for journals/articles.
{f online #} ... {/f} for online or other sources.
{f juris} ... {/f} for court cases and other jurisprudence. No number argument required
{f legis} ... {/f} for legislation sources. No number argument required.
Note: it is recommended you make a backup of the document your are scaping. Safety first.
- When you've marked your document, open your terminal again and type in
f2b src dst
wheresrc
is the path of the document you want scraped anddst
is the document name of your soon to be bibliography. (E.g.,f2b /Users/acour008/desktop/thesis.docx /Users/acour008/biblio.docx
) - Thats it! Now you get to marvel at the beauty and ease of it.
TODOs & FIXMEs
Notes:
- This was scripted with McGill Legal Citation (8th ed) in mind, but it is still style agnostic as long as the author names are separated from the title with a comma (,).
- For best results, do not add whitespaces between {f}...{/f} tags.
- Again, make a back up of your work. I am not responsible for any unintended loss of data or written work.
TODOs:
- Add a
type
attribute to theFootnote
class so instead of 4 different footnote lists and parsers, one parser can find the regex patterns necessary to match the sources and stuff into one list. This will make it easier to sort and print to a new document.
Credits
This software uses the following:
Licence
MIT
Socials
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
Built Distribution
Close
Hashes for footnotes2biblio-0.0.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b061f0c290f8991980bda590096a735bb5eec38605e641065c6625b7d0b99fed |
|
MD5 | 1c702f82261e6b2878b8abc7d22a6577 |
|
BLAKE2b-256 | 148a7fbd03c747f7bed574b311b9734dc81072877cb53702caeb2fada9be2318 |