Skip to main content

My core.

Project description

OzCore is my core.

PyPI version Documentation Status HitCount

It is automating my boring stuff. A time saver for me. I can access frequently used modules and methods easliy. Most of my time is passing with Jupyter Notebooks, and OzCore is my best friend.

Many code snippets derive from a hard processes. I search for the best fitting options and try them sometimes for hours or days. OzCore keeps my good practices as side notes. My quality time for coding is mostly passing with annoying dev-environment, re-setups and glitches. OzCore skips the hard process and provides me with a fresh working environment, where All necessary packages installed.

Goals

  • a Jupyter Notebook having the most used modules.

  • shorthand to
    • path operations

    • tmp folder actions

    • Sqlite operations

    • CSV operations

    • Dataframe operations

    • Dummy records

    • Jupyter initial setups

    • Jupyter Notebook grid plugins

    • and some MS Office automations

Warnings

Work In Progress

This package is continuously WIP. It is for my development projects and I happily share it with open source developers. But, please bear with the versions and tests, which may effect your applications.

Massive Dependencies

Since OzCore is a collection of snippets using diverse packages, massive amount of dependencies will be downloaded.

MacOS bound modules

Some of the helper modules and functions are directly referenced to MacOS environment. Espacially Windows users may not like it. And some references are pointing to options which may not be available in your system. Such as OneDrive folder or gDrive folder. I have tests to distinguish between users, nevertheless you should be aware of this.


Installation

I would prefer to run on an Anaconda environment. Here you will find multiple examples.

I. Anaconda

# new env needs ipython, you may also clone an existing env
conda create -n py383 python=3.8.3 ipython

conda activate py383

pip install ozcore

II. Virtualenv

# create a virtualenv
python -m venv .venv

source .venv/bin/activate

pip install ozcore

III. Pip simple

# in any environment having pip
pip install ozcore

IV. Poetry with Pyenv

# in any package folder (3.8.4 version of python is arbitrary)
pyenv local 3.8.4

poetry shell

poetry add ozcore

V. GitHub with Pip

# in any environment having pip
pip install https://github.com/ozgurkalan/OzCore.git

VI. GitHub clone

# in some folder, e.g. Desktop
git clone https://github.com/ozgurkalan/OzCore.git

Jupyter Kernel

Jupyter has its own configuration. Espacially when you have Anaconda installed, kernel.json may have what conda sets.

For your Jupyter Notebook to run in your dedicated environment, please use the following script:

# add kernell to Jupyter
python -m ipykernel install --user --name=<your_env_name>

# remove the kernel from Jupyter
jupyter kernelspec uninstall <your_env_name>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ozcore-1.1.8.tar.gz (41.5 kB view hashes)

Uploaded Source

Built Distribution

ozcore-1.1.8-py3-none-any.whl (46.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page