🐗 A portable collection of functions for scientific exploration
Project description
🐗 pykirill
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.
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 Distribution
Built Distribution
File details
Details for the file pykirill-2024.2.1.tar.gz
.
File metadata
- Download URL: pykirill-2024.2.1.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e851d1d992053dc9f63174bcb584bf78cc2e0a896536bbf992fda25c4e4eaa07 |
|
MD5 | f82c402b10d96c9b4e730268ac069fa7 |
|
BLAKE2b-256 | 7ce6fd7c19ea762c01caf7c424e858a9e1b6eea6682c7d5d81eb78eb5a82613b |
File details
Details for the file pykirill-2024.2.1-py3-none-any.whl
.
File metadata
- Download URL: pykirill-2024.2.1-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73621108f6073464799ec2d4700e634cfd6a38674860940c9273580ef68450d |
|
MD5 | c3351aa55aaa103b6ce5bafed5a475c2 |
|
BLAKE2b-256 | 65301a14b67d6f7a9f1588bb300bceb7e2fd05f5fa3aab6808fc7afea8538082 |