semvec/pypi-packages huggingface dataset:
tolbi-gis 1.0.3
A Django middleware to explode GeoJSON files in requests.
Requires Python: >=3.7

# Django GeoJSON Explode Middleware

A Django middleware that automatically explodes GeoJSON geometries in POST requests.

## Installation

```bash
pip install tolbi-gis
```

## Usage

1. **Add the middleware to your `settings.py`:**

    ```python
    MIDDLEWARE = [
        # ... other middleware ...
        'tolbi.middleware.GeoExplodeMiddleware',
        # ... other middleware ...
    ]
    ```

2. **Send GeoJSON data in your POST requests:**

    The middleware will process POST requests `content-type: multipart/form-data`.

## What it does

This middleware intercepts incoming POST requests and checks for GeoJSON file (.geojson). If found, it uses GeoPandas to "explode" multi-part geometries (e.g., MultiPolygon, MultiLineString) into individual geometries. The exploded GeoJSON is then made available in the request data, simplifying the processing of complex geospatial data in your Django views.

## Dependencies

- Django (>= 3.2)
- geopandas

## Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

## License

[MIT License](LICENSE)
maplpy 2.6.0
maplpy is a Python wrapper around MAPL with Pybind11.
Requires Python: >=3.6


========================================
README for maplpy
========================================

DESCRIPTION
===========
MindOpt Algebraic Programming Language (MindOpt APL or MAPL) is an efficient algebraic modeling language for optimization. 
It supports a variety of solvers. 

Reporting
=========
It may contain a number of unknown bugs and/or performance issues. Should
the solver crash for an unclear reason, or terminate with an incorrect
status, please do not hesitate to report the issue to:

    ('solver.damo@list.alibaba-inc.com',)