Skip to main content

No project description provided

Project description

🐗 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

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 pykirill
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.

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

pykirill-2024.0.10.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

pykirill-2024.0.10-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file pykirill-2024.0.10.tar.gz.

File metadata

  • Download URL: pykirill-2024.0.10.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pykirill-2024.0.10.tar.gz
Algorithm Hash digest
SHA256 01298a67ea19fb91dee4f1f62af1ba7621fec59479c2301c88069d7a1dabe34d
MD5 698701d6ce256a07c99af2e43b60241a
BLAKE2b-256 2c76fde91f855efcd34c25f8e91eb672968d8328ee42a5461bc2ae5035f54d75

See more details on using hashes here.

File details

Details for the file pykirill-2024.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for pykirill-2024.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd59a6c7e4093b94f58a7d225861104d6650ed640ec73aabb1db6d43cbf7469
MD5 8a6f0620ae88ceed5f3e17896868172e
BLAKE2b-256 da5e899d7a031b14c16dd679332e154a30a84cfbc70875ff964f26ee8d68a6da

See more details on using hashes here.

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