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

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.2.0
File Size Uploaded Provenance Actions
microjson-0.2.0.tar.gz 16.7 kB Without provenance Details for microjson-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 45.0 kB

Release files / microjson-0.2.0.tar.gz

Download URL microjson-0.2.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b615d04cc8daa14d5a87c0c8e00f1fadd875bd19a5ebb04d645e4e4101f0407c
BLAKE2b-256 checksum
How to use checksums
587bbb55efc5e3fb0ba091af0ab0b66f83d1799cdc3417e5e936fc8f2119cdab
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.2.0-py3-none-any.whl

Download URL microjson-0.2.0-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bb3f44442d4ad5b969dbd2476a0e18e0bac0a00d01a3e1a86a10973dcef84c6
BLAKE2b-256 checksum
How to use checksums
ce1abdf273227c3b980920228d439cea399231dd2b143607af4348ad2d4f2df2
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.2.0

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