Easily install kenjyco libs
Project description
Install Options
Use pip to install kenjyco-libs, ideally to a virtual environment (venv). You can choose kenjyco-libs (very light weight), "kenjyco-libs[full]" (everything), or something in between.
pip install kenjyco-libs
Includes: bg-helper, click, fs-helper, input-helper, settings-helper
pip install "kenjyco-libs[bs4]"
Includes: beautifulsoup4, kenjyco-libs, lxml
Also requires system requirements for lxml
$ sudo apt-get install -y libxml2 libxslt1.1 libxml2-dev libxslt1-dev or $ brew install libxml2
pip install "kenjyco-libs[data]"
Includes: aws-info-helper, dt-helper, “kenjyco-libs[nosql,sql,xmljson]”, webclient-helper
pip install "kenjyco-libs[dev]"
Includes: kenjyco-libs, readme-helper, testing-helper
pip install "kenjyco-libs[full]"
Includes: “kenjyco-libs[bs4,data,dev,ipython]”
pip install "kenjyco-libs[ipython]"
Includes: ipython, kenjyco-libs
pip install "kenjyco-libs[nosql]"
Includes: chloop, kenjyco-libs, mongo-helper, redis-helper
pip install "kenjyco-libs[sql]"
Includes: expectation-helper, kenjyco-libs, sql-helper
Also requires the pg_config executable
expectation-helper is only included if using Python 3.8+
$ sudo apt-get install -y libpq-dev or $ brew install postgresql
pip install "kenjyco-libs[xmljson]"
Includes: kenjyco-libs, xmljson
Setup and Usage
The first time that kenjyco_libs is imported, the sample settings.ini file will be copied to the ~/.config/kenjyco-libs directory.
[default] package_repos_base_path = ~/repos/personal/packages kenjyco_libs_repo_names = aws-info-helper, bg-helper, chloop, dt-helper, expectation-helper, fs-helper, input-helper, libs, mongo-helper, readme-helper, redis-helper, settings-helper, sql-helper, testing-helper, webclient-helper dependency_repos_base_path = ~/repos/some-repos [dev] something = [test] something =
After installing with pip, you will want to run the provided ``kenjyco-dev-setup`` script. This will automatically clone kenjyco repos and their dependencies to the paths specified in settings.ini, then reinstall the packages in “editable mode” (i.e. the packages in the venv’s site-packages directory will be linked to the cloned kenjyco repos).
Use kenjyco-ipython to start ipython with all of the installed kenjyco packages automatically imported (keeping your ipython shell history clean from boilerplate import statements).
% venv/bin/kenjyco-dev-setup --help Usage: kenjyco-dev-setup [OPTIONS] Clone missing repos and install more packages in editable mode Options: --help Show this message and exit. % venv/bin/kenjyco-ipython --help Usage: kenjyco-ipython [OPTIONS] Start ipython with several things imported Options: --no-vi Do not use vi editing mode --no-colors Do not use colors / syntax highlighting --help Show this message and exit.
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 Distributions
Built Distribution
Hashes for kenjyco_libs-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 895cef8030bdf022834838e410ae133ed9be641f6647f265117a1fc90c876452 |
|
MD5 | ad6f5f2f481954770bc67511a83c6bdd |
|
BLAKE2b-256 | f63d9c2c03056cb0062eb5263bf43bda6850113dd76d03a958798abf6da864dd |