Skip to main content

🐗 pykirill

Documentation

This is my personal Python package, pykirill, which includes a collection of utilities and functions that I frequently use during scientific exploration. This package is especially designed to be portable, making it suitable for environments like Google Colab where setup needs to be minimal.

Installation

There are several ways to install pykirill

PyPI

You can use regualar pip install from PyPI

pip install pykirill

GitHub source

You can use pip to install directly from GitHub. This method ensures you always get the latest version. Also gives access to experimental features in development

pip install git+https://github.com/kirilledition/pykirill.git@main

GitHub release

You also can use link to wheel from github releases

pip install https://github.com/kirilledition/pykirill/releases/download/2024.2.1/pykirill-2024.2.1-py3-none-any.whl

GitHub Container Registry

And finally package is also runnable as docker container from GitHub Container Registry

docker run --rm -it ghcr.io/kirilledition/pykirill:2024.2.1

Usage

You can have a look at showcase jupyter notebooks, that shows primitive examples of how to use pykirill: showcase.ipynb

Transforms

from pykirill import transforms

scaled_data = data.apply(transforms.log_scale)
pca = transforms.principal_component_analysis(
  scaled_data, n_components=3
)

Plotting

from pykirill import plotting
plotting.setup()

axm = plotting.SubplotsManager(pca.n_components)

for pc, score in pca.scores.items():
    ax = axm.nextax()

    ax.set_title(pc)
    ax.set_ylabel("PC score")
    ax.set_xlabel("species")

    sns.boxplot(x=target, y=score, ax=ax)

axm.show()

License

pykirill is open-sourced under the MIT license. The details can be found in the LICENSE.md file.

Release files for pykirill 2024.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pykirill 2024.3.1
File Size Uploaded
pykirill-2024.3.1.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pykirill 2024.3.1
File Interpreter ABI Platform
pykirill-2024.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.5 kB

Release files / pykirill-2024.3.1.tar.gz

Download URL pykirill-2024.3.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
742126d6697f911172b8b0948219e3cabf408b95b5753196e01daf84327ad870
BLAKE2b-256 checksum
How to use checksums
825eaab576bdad7bc80dd186af3845351df767e8c41822674c4157fe292f393e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / pykirill-2024.3.1-py3-none-any.whl

Download URL pykirill-2024.3.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec240da2543d1e31fa3d24e97f2ea2b36e4407eaf85190f26e9d2daea90d9a78
BLAKE2b-256 checksum
How to use checksums
9f23c8f7feb12d8a5472895983371a827f4f82c30eaafaa81d03e01ba71655fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

2024.3.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page