No project description provided
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
To install pykirill
, you can use pip directly from GitHub. This method ensures you always get the latest version. Here are the steps to follow:
pip install git+https://github.com/kirilledition/pykirill.git
Usage
Here are quick examples of how to use pykirill
:
Plotting
from pykirill import plotting
plotting.setup()
axm = plotting.SubplotsManager(4)
for trajectory_fragment in range(4):
frame_values = ...
ax = axm.nextax()
ax.hist(frame_values)
ax.set_title(f"Histogram of intensity values of {trajectory_fragment}")
ax.set_xlabel("Intensity")
ax.set_ylabel("Frequency")
axm.show()
Transforms
from pykirill import transforms
# For NumPy arrays
x = np.array([1, 2, 3, 4], dtype=np.float32)
log_scaled_x = transforms.log_scale(x)
# For Pandas DataFrames
log_scaled_df = df.apply(transforms.log_scale)
License
pykirill
is open-sourced under the MIT license. The details can be found in the LICENSE file.
TODO
- Refine docstrings (add formated usage examples, add docstrings to modules, add latex formatting if needed)
- Create better overview page (Installation, usage, link to license)
- Change license to ensure citation
- Add tips and tricks page for better datascience code??
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.0.8.tar.gz
.
File metadata
- Download URL: pykirill-2024.0.8.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad605e89d047790734f99d669f12587a5d183eba22c18288871cde52e6b8a94 |
|
MD5 | 0bba3637a5c2bd09fd0ee92ab2ee4ddf |
|
BLAKE2b-256 | a08dd6dc9941ce023943215b4dc6fc20bc9554bf9ea0ff725e7c4b53e486c0f9 |
File details
Details for the file pykirill-2024.0.8-py3-none-any.whl
.
File metadata
- Download URL: pykirill-2024.0.8-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a6afbce758bd9fe15e7089df18e1503a4da3903b686f448e2e1bddbd132147 |
|
MD5 | 268b8f34ac60f59b7eef6266609b2eef |
|
BLAKE2b-256 | 39754f99e7262f4d6274959212c7cdecc49794db853bbcffd4ebfe5e2cdd3768 |