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.9.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykirill-2024.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 c6d14248feeb9071761ddbec1dcc893b5dcc52e00811b7292ed717c7067e7ea3
MD5 f38d19d208a32d0cef55cdb48f83718d
BLAKE2b-256 8b34b231c156ceed89c8c0de0d1b988fbee4f99f304e7d161e37e51f876030ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pykirill-2024.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pykirill-2024.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5b7c0a3d10e304127756da4294238a0ab62c4eedbeae20061f666288bb976403
MD5 dcf263aa621f048effc755fdc5fc59c2
BLAKE2b-256 2b0c7152c0712692f86bc0068a1dd80e4e37a6fe8078b248059e0a1ee7b4deb4

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