Skip to main content

Python utility library

Project description

myKit

Python utility toolkit.

The aim of this project is to understand how things work by building them from the ground up, while also providing a lightweight version of something that already exists out there.

mykit's banner

pypi version MIT License

Installation

pip install mykit

Usage

from mykit.kit.text import byteFmt
from mykit.app.arrow import Arrow
from mykit.app.slider import Slider


x = byteFmt(3141592653589793)
print(x)  # 2.79 PiB

FAQ

Changelog

  • 3.0.0 (June 17, 2023):
    • Breaking changes:
      • Changed title arg to name in .app.App
      • Now /kit/keycrate must be a .txt file, and the file must exist
      • Added export method to .kit.keycrate.KeyCrate
    • Added test suite for .kit.keycrate.KeyCrate
  • 2.0.4 (June 16, 2023):
    • Now move method of Button, Label, and _Slider will return self
  • 2.0.3 (June 16, 2023):
    • Now .app.complex.plot.Plot and .app.complex.plot.Biplot can be used even if no points is specified
    • Added add_background_processes to .app.App
  • 2.0.2 (June 14, 2023):
    • finished updating all type hints
    • Added visibility functionality to /app/complex/plot.py
  • 2.0.1 (June 14, 2023):
    • Updated all type hints to make them work on Python 3.8 and 3.9
    • Added visibility functionality to /app/complex/biplot.py
  • 2.0.0 (June 13, 2023):
    • Breaking changes:
      • New mechanism for app: /app/__init__.py
      • Moved: /kit/graph/graph2d.py -> /app/complex/plot.py
      • transform: /kit/quick_visual/plot2d.py -> /kit/fast_visualizations/static/plot.py
    • Bugfixed:
      • folder mykit/tests/ should also be excluded during build (rc version)
    • New: /app/complex/biplot.py
  • 1.0.0 (June 12, 2023):
    • changed arg name: /kit/quick_visual/plot2d.py: graph2d_cfg -> cfg
  • 0.1.3 (June 12, 2023):
    • removed get_gray from /kit/color.py
    • transform /kit/gui/button/ -> /app/button.py
    • transform /kit/gui/label/ -> /app/label.py
    • transform /kit/gui/slider/ -> /app/slider.py
    • transform /kit/gui/shape/ -> /app/arrow.py
    • transform /kit/neuralnet/dense/ -> /kit/neuralnet/dense.py
    • transform /kit/neuralnet/genetic/ -> /kit/neuralnet/genetic.py
  • 0.1.0 (June 12, 2023):
    • migrated all modules from carbon into /kit/
    • deleted /kit/math/
    • added /rec/ and /app/
    • transform /kit/color/ -> /kit/color.py
    • moved /kit/color/test_color.py to mykit/tests/test_kit/test_color.py
    • transform /kit/ffmpeg/ -> /kit/ffmpeg.py
    • deleted /kit/graph/graph2d/
    • transform /kit/graph/graph2d/v2.py -> /kit/graph/graph2d.py
    • transform /kit/maths/ -> /kit/math.py
    • moved /kit/maths/test_maths.py -> mykit/tests/test_math.py
    • transform /kit/noise/ -> /kit/noise.py
    • transform /kit/path/ -> /kit/path.py
    • transform /kit/text/ -> /kit/text.py
    • transform /kit/time/ -> /kit/time.py
    • transform /kit/utils/ -> /kit/utils.py

Troubleshoot

  • To report bugs, please open an issue/pull request, or you can reach me here.

License

This project is licensed under the MIT license.

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

mykit-3.0.0.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

mykit-3.0.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file mykit-3.0.0.tar.gz.

File metadata

  • Download URL: mykit-3.0.0.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for mykit-3.0.0.tar.gz
Algorithm Hash digest
SHA256 e2eb8bb4d1e7c7a9122de5b512624aec6bef1d7f82f329dd35afe8d09cd83bc7
MD5 00eea0bccd617292aec6cdcb4d48f020
BLAKE2b-256 b3b3e83434a4acb3e7231127b1b8f5c799135c798898a3544140c9a76d3b49e3

See more details on using hashes here.

File details

Details for the file mykit-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: mykit-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for mykit-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbfa0ff55d9a03767cc94a7a8ce43d45b643786e105673e4d36a792118689d99
MD5 cd0244e51a8a237737798dac762ab0c4
BLAKE2b-256 5473473ef73d30c418a3077f31192d3fd76512e38bbd05d0e323c379287099cb

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