Go to file
2021-09-02 17:27:05 -04:00
base a lot 2021-08-29 22:14:55 -04:00
dbus fix dbus setup.py 2021-07-23 12:56:15 -04:00
hasher a bunch 2021-06-17 23:05:55 -04:00
http_server template: merge context and globals before context function, http_server: start adding fediverse views 2021-09-02 17:27:05 -04:00
requests_client a bunch of changes 2021-08-16 10:55:59 -04:00
sql a lot 2021-08-29 22:14:55 -04:00
template template: merge context and globals before context function, http_server: start adding fediverse views 2021-09-02 17:27:05 -04:00
tinydb multiple fixes and re-subclass path to str 2021-06-07 20:43:54 -04:00
.gitignore a lot 2021-08-29 22:14:55 -04:00
LICENSE first draft of rework 2021-06-07 16:45:29 -04:00
Makefile general: create makefile, path.Path: add glob and contains, fix listdir 2021-08-05 05:07:04 -04:00
README.md template: merge context and globals before context function, http_server: start adding fediverse views 2021-09-02 17:27:05 -04:00
requirements.txt general: create makefile, path.Path: add glob and contains, fix listdir 2021-08-05 05:07:04 -04:00
setup.py first draft of rework 2021-06-07 16:45:29 -04:00

IzzyLib

These are just a number of functions I keep reusing over and over again in most of my projects. It's okay to use them if you also find them useful

Installation

You only need to install the base and whatever sub-modules you want to use

From Git

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-base&subdirectory=base"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-dbus&subdirectory=dbus"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-hasher&subdirectory=hasher"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-http-server&subdirectory=http_server"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-http-requests-client&subdirectory=requests_client"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-sql&subdirectory=sql"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-templates&subdirectory=template"

$(venv)/bin/python -m pip install -e "git+https://git.barkshark.xyz/izaliamae/izzylib.git@rework#egg=izzylib-tinydb&subdirectory=tinydb"

From Source

$(venv)/bin/python setup.py install ['all' or a combination of these: dbus hasher http_server requests_client sql template tinydb]

Documentation

Importing

Most useful classes and functions are imported in the module root, so you don't need to do any multi-level imports. Example

This is fine:

from izzylib import SqlDatabase

and points to:

from izzylib.sql.generic import SqlDatabase

Or even simply do import izzylib and use izzylib.SqlDatabase().

Usage

All classes and functions will have docstrings. Either look through the code or run help() on an object

NOTE!

Not in a stable state yet. Expect major changes