Skip to main content

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for microjson 0.1.13
File Size Uploaded Provenance Actions
microjson-0.1.13.tar.gz 16.7 kB Without provenance Details for microjson-0.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for microjson 0.1.13
File Interpreter ABI Platform Actions
microjson-0.1.13-py3-none-any.whl Python 3 none any Details for microjson-0.1.13-py3-none-any.whl

Total release size: 45.0 kB

Release files / microjson-0.1.13.tar.gz

Download URL microjson-0.1.13.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2d9045432c8d8fca2bdbaa60f2f6961728c50b9e7aa27af4d5c6df8e553953f3
BLAKE2b-256 checksum
How to use checksums
a5e5a776da1a6d6e12df05e03b2fc184b3e67f5f476c56bbb567bdca5e41af93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / microjson-0.1.13-py3-none-any.whl

Download URL microjson-0.1.13-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17255c5ae40cf1fdba0d527fbb2ee575978fab6deb2aef4d1f3ca1ef9537d0ce
BLAKE2b-256 checksum
How to use checksums
ab03d31b8834ae2e90c0d59653c8f561d5bee70b2f8c904af518643fe1a650ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Security for microjson 0.1.13

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page