semvec/pypi-packages huggingface dataset:
oremi-idatha-models 1.0.0b252
Shared models for Oremi Idatha
Requires Python: <3.12,>=3.11
Keywords: api, models, oremi, restfull

# Oremi Idatha Models

[![Buy me a beer](https://img.shields.io/badge/Buy%20me-a%20beer-1f425f.svg)](https://www.buymeacoffee.com/demsking)

Models for [Oremi Idatha](https://gitlab.com/demsking/oremi-idatha).

## Install

```sh
pip install oremi-idatha-models
```

## Contribute

Please follow [CONTRIBUTING.md](https://gitlab.com/demsking/oremi-idatha/blob/main/CONTRIBUTING.md).

## Versioning

Given a version number `MAJOR.MINOR.PATCH`, increment the:

- `MAJOR` version when you make incompatible API changes,
- `MINOR` version when you add functionality in a backwards-compatible manner,
  and
- `PATCH` version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions
to the `MAJOR.MINOR.PATCH` format.

See [SemVer.org](https://semver.org/) for more details.

## License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License.
You may obtain a copy of the License at [LICENSE](https://gitlab.com/demsking/oremi-idatha/blob/main/LICENSE).
pytest-datafixtures 1.1.0
Data fixtures for pytest made simple.
Requires Python: >=3.10
Keywords: fixtures, pytest, pytest-plugin

# pytest-datafixtures

https://github.com/idlesign/pytest-datafixtures

[![PyPI - Version](https://img.shields.io/pypi/v/pytest-datafixtures)](https://pypi.python.org/pypi/pytest-datafixtures)
[![License](https://img.shields.io/pypi/l/pytest-datafixtures)](https://pypi.python.org/pypi/pytest-datafixtures)
[![Coverage](https://img.shields.io/coverallsCoverage/github/idlesign/pytest-datafixtures)](https://coveralls.io/r/idlesign/pytest-datafixtures)

## Description

*Data fixtures for pytest made simple*

Offers fixtures for your tests to simplify data fixtures access.
Makes use of Python's native `Path` objects.

Data fixtures (files) expected to be stored in `datafixtures` directory next to your test modules:

```
tests
|-- datafixtures
|   |-- mydatafixture.xml
|   |-- mydata.bin   
|-- test_basic.py
|
|-- subdirectory
|---- datafixtures
|     |-- payload.json
|     |-- cert.cer
|---- test_other.py
```


## Requirements

* Python 3.10+


## Fixtures

* `datafix_dir` - Path object for data fixtures directory from the current test module's directory.
* `datafix` - Path object for a file in data fixtures directory with the same name as the current test function.
* `datafix_read` - Returns text contents of a data fixture by name.
* `datafix_readbin` - Returns binary contents of a data fixture by name.
* `datafix_dump` - Allows data dumping for further usage.


#### datafix_dir

Access data fixtures directory:

```python
def test_me(datafix_dir):

    # datafix_dir returns a Path object.
    assert datafix_dir.exists()

    # Gather data fixtures filenames.
    files = list(f'{file.name}' for file in datafix_dir.iterdir())

    # Read some fixture as text.
    # The same as using `datafix_read` fixture (see below).
    filecontent = (datafix_dir / 'expected.html').read_text()

    # Or read binary.
    filecontent = (datafix_dir / 'dumped.bin').read_bytes()
```

#### datafix

Access a data fixture with test name:

```python
def test_me(datafix):
    # Read datafixtures/test_me.txt file
    filecontents = datafix.with_suffix('.txt').read_text()
```

#### datafix_read

Access text contents of a data fixture by name:

```python
def test_datafix_read(datafix_read):
    # Read datafixtures/expected.html file
    filecontents = datafix_read('expected.html')

    # Read encoded and represent as an StringIO object.
    encoded_io = datafix_read('test_datafix.txt', encoding='cp1251', io=True)
```

#### datafix_readbin

Access binary contents of a data fixture by name:

```python
def test_datafix_read(datafix_readbin):
    # Read datafixtures/dumped.bin file
    binary = datafix_readbin('dumped.bin')

    # Read binary and represent as an BytesIO object.
    bin_io = datafix_readbin('dumped.bin', io=True)
```

#### datafix_dump

Dump data for later usage as a datafixture:

```python
def test_datafix_dump(datafix_dump):
    # Dump text
    dumped_filepath = datafix_dump('sometext', encoding='cp1251')
    
    # Dump binary
    dumped_filepath = datafix_dump(b'\x12')
```
csv2api 0.1.1
Turn any CSV into a REST API with one command.
Requires Python: >=3.7

# csv2api

Convert any CSV into a live REST API with FastAPI in seconds.

## 🚀 Installation

```bash
pip install csv2api
```

## 🧪 Usage

```bash
csv2api --file < '.csv' filepath >
```

## 📦 Features
- `GET /rows` → List all records
- `GET /rows/{id}` → Get specific row
- `GET /search?column=name&value=Alice` → Filter data

## 👨‍💻 Author
Mridul Sharma — [LinkedIn](https://www.linkedin.com/in/mridul217)
dash-leaflet 1.1.3
Dash Leaflet is a light wrapper around React-Leaflet. The syntax is similar to other Dash components, with naming conventions following the React-Leaflet API.
Requires Python: >=3.11

# Dash Leaflet

Dash Leaflet is a light wrapper around React-Leaflet. The syntax is similar to other Dash components, with naming conventions following the React-Leaflet API.

## Getting started

The easiest way to get started is to install the latest version of Dash and Dash Leaflet via pip.

```
pip install dash
pip install dash-leaflet
```

Once the installation is completed, paste the following lines of code into a .py file and run it.

```
from dash import Dash
import dash_leaflet as dl

app = Dash()
app.layout = dl.Map(dl.TileLayer(), style={'height': '50vh'}, center=[56, 10], zoom=6)

if __name__ == '__main__':
    app.run_server()
```

That's it! If you visit http://127.0.0.1:8050/ in your browser, you should see a Leaflet map.

## Documentation

The documentation has been moved to [a separate page](https://dash-leaflet.com) to enable an interactive example gallery.

NB: The 1.0.0 release contains a wide range of breaking changes, please refer to the migration guidelines

## Support

Please ask questions on [StackOverflow](https://stackoverflow.com/) using the [`dash-leaflet` tag](https://stackoverflow.com/questions/tagged/dash-leaflet), use GitHub issues only for bug reports.

## Build instructions

Start by cloning this repository,

```
git clone git@github.com:thedirtyfew/dash-leaflet.git
cd dash-leaflet
```

Next, create a virtual environment and install the python dependencies (make sure to have Python 3.12 and uv installed),

```
uv venv && source .venv/bin/activate && uv sync
```

Finally, install packages via npm (ignore errors) and run the build script,

```
npm i --ignore-scripts
npm run build
```

## Donation

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z9RXT5HVPK3B8&currency_code=DKK&source=url)