libJournal v1.0

This version of libJournal is very limited and simple. We’d recommend you to use one of the later version but this may suit your needs in some way. Setup is very simple. To download the package use this command:

pip install libjournal==1.0

Once installed, the setup in order to use this library is very simple:

import libjournal

# Creates new object instance & sets the JSON location
libj = libjournal()
libj.set_JSON_location("example.json")

Now you’re all set to start using the library! In this version of libJournal you add & delete entries like this:

# Adds an entry, first argument is the 'entry_title' and the secong argument is 'entry_content'
libj.add_entry("Title", "Content")
libj.delete_entry("Title")

In order to search & read entries, you must use this method:

# Searches and reads an entry, the first argument is 'entry_title'
libj.entry_read("Title")

And that’s everything to this version of libJournal!

Downloads: