semvec/pypi-packages huggingface dataset:
halchemy 1.0.5
HAL for humans
License: MIT

# halchemy for Python
**HAL for humans**

![](https://github.com/pointw-dev/HALchemy/blob/main/img/halchemy-full-word.png?raw=True)

![](https://github.com/pointw-dev/HALchemy/blob/main/img/python.png?raw=True)

Do you have an API that serves data following the HAL specification?  The **halchemy** library makes it easy for your client to make the most of that API.

## Getting Started
Install halchemy using the package manager of your chosen language:

```bash
pip install halchemy
```

In your code, create an `Api` object with the URL of your API.

```python
from halchemy import Api

api = Api('http://example.org/api')

root = api.root.get()                           # get the root resource
people = api.follow(root).to('people').get()    # follow the people rel to get the list of people

# Issue a refund of $5 to everyone
for person in people['_items']:
    account = api.follow(person).to('account').get()
    api.follow(account).to('deposit').post({'amount':5.00})
    print(f"{person['name']} has a new balance of ${account['balance']}")
```

[Read the docs](https://pointw-dev.github.io/halchemy) to learn more!
microjson 0.4.2
MicroJSON is a library for validating, parsing, and manipulating MicroJSON data.
License: MIT
Requires Python: <3.14,>=3.9.15
Keywords: json, microscopy, microjson

# MicroJSON

MicroJSON is a JSON-based format inspired by [GeoJSON](https://geojson.org), 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](https://github.com/geojson/schema), 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.