myimagelib
myimagelib is an attempt to make the set of tools, e.g. image analysis and file I/O, an installable package. These code are initially just for my own convenience. As time goes on, they gradually become an integral part of my daily coding. When I share my code with friends, I always find it a problem when they cannot import in their local environment, and I have to ask them to download the code from my GitHub, or rewrite my code using packages that are already available on PyPI. This has been a PITA for a while, and I realize that it could be useful to make the code available on PyPI, too. So that my friends can download my code with a simple pip install.
I understand that this package consists of code for many different purposes and they are not organized very nicely. It is only intended for people who are going to run my notebooks, but need the functions that I wrote earlier in this library.
Installation
pip install git+https://github.com/ZLoverty/mylib.git
Examples of use
>>> from myimagelib import show_progress
>>> show_progress(0.5, label="test", bar_length=40)
The result is:
test [####################--------------------] 50.0%
See the documentation for more details!
Versions
- 2.0.0: Move release_note.md to README.md; remove openpiv and matplotlib from dependencies; remove readdata, dirrec, PIV, apply_mask functions; start to use consistent versioning (last digit for bug fix, middle digit for added feature, first digit for major changes); no longer maintain the PyPI package, newer versions are only available from GitHub.
- 1.5.4:
imfindcircles()now exclude overlap usingmax_radius; handlenaninxy_bin. - 1.5.3: Fix a distance filter bug.
- 1.5.2: Improve
imfindcircles()with new strong edge criterion and multi-stage detection. - 1.5.1: Reorganize the documentation.
- 1.5.0: Lose weight project: the current package spreads very broadly. The reuse rates of most functions are quite low. Therefore, I'm planning to remove functions that are not useful any more, and figure out a focus of this package; remove
xcorr_funcs.pyandfit_circle_utils.py; add frequently used functions to__init__.py; clean up the imports; add a functionimfindcircles()based on Atherton 1999 - 1.4.0: Implement doctest to test the code automatically; Add release note; Remove GitHub action that automatically builds docs. Instead build docs manually and upload to the "gh-pages" branch. See code notes for procedures; Add
update_masktocompact_PIV; Addto_csvtocompact_PIV; Handle NaN values into8bit. - 1.3.0: Fix the documentation. Due to the folder structure change, autodoc does not work correctly, and all the documentations currently are not working. Fix it in the next release.
- 1.2.0: Reorganize the repo as a PyPI package and publish on PyPI.
- 1.1.0: All the functions and scripts that output PIV data should put PIV in a .mat container, which only save x, y, mask, labels in formation once, and save u, v as 3D arrays; The operations that based on *.tif images should be transformed to work on raw images.
Metadata
Release files for myimagelib 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| myimagelib-2.0.1.tar.gz | 10.2 MB | Without provenance | Details for myimagelib-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myimagelib-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for myimagelib-2.0.1-py3-none-any.whl |
Total release size: 10.2 MB
Release files / myimagelib-2.0.1.tar.gz
| Download URL | myimagelib-2.0.1.tar.gz |
|---|---|
| Size | 10.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ae4bed954ea8fa93e91b6e53c2ac636fa4bc8c5005e03787d882be1096eba9f
|
|
BLAKE2b-256 checksum How to use checksums |
07499edb8dac6162b59e7d8a5effa54e03bd740de7637f1ddead85091b88855b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Release files / myimagelib-2.0.1-py3-none-any.whl
| Download URL | myimagelib-2.0.1-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efa33b2a45a727b987c56121e5f12c5894c6794ab7de536f0d22569f98a22dd6
|
|
BLAKE2b-256 checksum How to use checksums |
505f07ee5f7ff81b1d02fe2c33915e814b24734a7db67801b7763637ff530f77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.11
|
Security for myimagelib 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.