Giter Site home page Giter Site logo

cittex's Introduction

cittex

This is a tool for literature - or rather quote organization. It saves and reads the widely used bibtex format, which makes it easy to use it with applications such as Latex. Using DOIs or manual input, the user can add publications and books to the internal library. These publications can be decorated with notes and quotes, which contain a short summary, keywords, sometimes a page number, and the full text of the quote or note. These quotes and notes can then be searched, listed and grouped by topic/keyword. This makes it easy to collect information on a set of topics from a diverse rage of publications.

Installation & Requirements.

Cittex uses python3. No installation is needed.

Usage.

As of right now, there is only command line usage supported. Usage of IPython is recommended for command completion. As an example of usage, usage.py is provided. In order to use the program, the main.py script must be loaded. It will load the Publication.py script. lit.bib is provided as an example for the format in which the data will be stored.

####Commands #####Open/Load/Save Library open_empty_library(location = None) -- Opens an empty library. If you know where you'll want to save this library to, you can enter a location.

read_bibtex(location) -- Opens a library by reading a bibtex file from the provided location.

export_as_bibtex(location) -- Saves the library and all the notes and quotes attached to the publications in it to the provided locaton.

save() -- Saves the library and all the notes and quotes attached to the publications in it to the location that it was loaded from.

#####Inspect Library list_publications() -- Lists all publications that are present in the Library.

list_authors() -- Lists all the authors whose work is present in the bibliography.

list_keywords() -- Lists the keywords that are attached to quotes from the publications in the bibliography.

list_note_keywords() -- Lists the keywords that are attached to notes from the publications in the bibliography.'

add_a_publication() -- Is used to add a paper to the bibliography via doi or manually.

#####Inspect quotes and notes

quotes_with_keyword(keyword) -- Lists all quotes that have the chosen keyword attached to them.

quotes_with_note_keyword(kexword) -- Lists all notes that have the chosen keyword attached to them.

read_full_quote(keyword, index) -- Shows the full quote specified by the chosen keyword and the index. Chosen keyword and index must be separated by " ".

read_full_note(keyword, index) -- Shows the full note specified by the chosen keyword and the index. Chosen keyword and index must be separated by " ".

search_in_quotes(query) -- Searches for an exact hit of the query in all of the quotes' texts.

search_in_notes(query) -- Searches for an exact hit of the query in all of the notes' texts.

#####Methods of Publications

list_keywords() and list_note_keywords() -- Lists the keywords for the quotes or the notes for this publication.

add_a_quote() and add_a_note() -- Adds a quote or note to the publication.

add_a_quote_complex() -- Adds a quote to the publication, has some extended functionality. Because the keywords are added one-by-one, this function can perform some very simple spelling correction based on the keywords already added to Publications in the Library. In the future, this will replace the regular add_a_quote() function, but I want to add a keyword prediction first.

list_notes() -- Prints a list of the notes to the terminal in a nicer format.

list_quotes() -- Prints a list of the quotes to the terminal in a nicer format.

remove_note(index_of_note) -- Notes can grow irrelevant, so you should be able to erase them - this is a first attempt in that direction.

cittex's People

Contributors

sperlea avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.