MicroJSON
MicroJSON is a JSON-based format inspired by GeoJSON, designed to encode a variety of data structures related to microscopy images. It can handle representations of reference points, regions of interest, and other annotations, making it an ideal solution for conveying complex microscopy data in a straightforward, easy-to-use format.
Features
MicroJSON offers a range of features designed to meet the needs of microscopy data representation:
-
Flexible Data Structures: MicroJSON can represent diverse data structures, including geometries (such as points, multipoints, linestrings, polygons), features (individual entities with specific properties), feature collections (groups of features), and coordinate systems.
-
Standardized Format: MicroJSON uses the widely adopted JSON format, ensuring compatibility with a wide range of programming languages and tools.
-
Extensibility: MicroJSON can handle additional properties associated with specific features, such as metadata relating to microscopy images.
Additional Functions
There are two additional functionalities added which supports binary images. BinaryMicrojsonModel: Converts objects in a binary image into polygon coordinates (rectangle, encoding) and save them in json file format using microjson package. MicrojsonBinaryModel: Reconstruct binary images using polygon coordinates from json file.
Installation
To install MicroJSON, you can use the following command:
pip install microjson
This will install the default version of MicroJSON with the basic functionalities and minimal dependencies. If you want to use the additional functionalities, such as provided by the utils module, you can install the package with the following command:
pip install microjson[all]
Usage
MicroJSON can be used with any application or tool that can process JSON data. Due to its design, it is particularly suited to applications related to the analysis, visualization, and manipulation of microscopy images.
External Resources
The GeoJSON test files are copied from the GeoJSON Schema GitHub repository, and are Copyright (c) 2018 Tim Schaub under MIT License.
Contribution
We welcome contributions to the development and enhancement of MicroJSON. Whether you're reporting bugs, suggesting enhancements, or contributing to the code, your input is highly appreciated.
License
MicroJSON is licensed under MIT License.
This project is maintained by Polus AI. For any queries or further discussion, please contact the author on email address above.
Metadata
Release files for microjson 0.4.2
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 | |
|---|---|---|---|---|
| microjson-0.4.2.tar.gz | 45.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| microjson-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.6 kB
Release files / microjson-0.4.2.tar.gz
| Download URL | microjson-0.4.2.tar.gz |
|---|---|
| Size | 45.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c73cc6f578e21ea0e7b647c24385ec0994452d32abafe2cd5af068f20f346bf
|
|
BLAKE2b-256 checksum How to use checksums |
e6c2931777a57e2c7322cf5060fde2ad18924a0e15ddc58477af3891d5debbc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / microjson-0.4.2-py3-none-any.whl
| Download URL | microjson-0.4.2-py3-none-any.whl |
|---|---|
| Size | 69.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
199e6f897b31cf51adeaac1acd976e5cb11ecbbf9f8d4730ad39014772b263f1
|
|
BLAKE2b-256 checksum How to use checksums |
acbe4764e15256e499902a0877116a77ddaaaac2e52c848efb35d037c20bfeb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for microjson 0.4.2
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.