semvec/pypi-packages huggingface dataset:
dew-py 1.0.0
A simple command language inspired from discord slash commands

# Dew

A simple command language inspired from discord slash commands

```py
import pprint as pp

import dew


result = dew.parse('add rgb color name:"my color" r:100 g:150 b:200')


pp.pprint(result)

# {'name': 'add',
#  'tail': {'name': 'rgb',
#           'tail': {'name': 'color',
#                    'tail': [('name', 'my color'),
#                             ('r', '100'),
#                             ('g', '150'),
#                             ('b', '200')]}}}
```

### Links

[BNF grammar](grammar.bnf)
s6r-sirene 1.0.1.1
SIRENE and INSEE API client
Requires Python: >=3.9
Keywords: sirene, insee, api

# s6r-sirene

A lightweight alternative to [pynsee](https://github.com/InseeFrLab/pynsee) for accessing French SIRENE and other INSEE data without the pyarrow dependency.

## Overview

This package provides a simplified interface to access INSEE's SIRENE database and other INSEE data sources, inspired by pynsee but without the pyarrow dependency and without geodata. It's designed to be lightweight and easy to use for basic INSEE data retrieval needs.

## Features

- Access to SIRENE company and establishment data
- Lightweight alternative to pynsee
- No pyarrow dependency
- Simplified API for common use cases

## Installation

```bash
pip install -r requirements.txt
```

## Usage

```python
from s6r_sirene.sirene import get_sirene_data, search_sirene
from s6r_sirene.utils import init_conn
init_conn(sirene_key='secret-xxx')
# Search for companies by name
results = search_sirene("company name")
# Get company data by SIRET
results = get_sirene_data('84767686300040')
```

## Why this fork?

This project was created to provide a lightweight alternative to pynsee that doesn't require pyarrow, which can be challenging to install in some environments. It maintains compatibility with the core functionality while being more lightweight.

## License

[MIT](LICENSE)

## Contributors

* Michel Perrocheau - [GitHub](https://github.com/myrrkel)


## Maintainer

This software is maintained by [Scalizer](https://www.scalizer.fr).


<div style="text-align: center;">

[![Scaliser](./logo_scalizer.png)](https://www.scalizer.fr)

</div>