Skip to main content

SIRENE and INSEE API client

Project description

s6r-sirene

A lightweight alternative to 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

pip install -r requirements.txt

Usage

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

Contributors

Maintainer

This software is maintained by Scalizer.

Scaliser

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s6r_sirene-1.0.1.1.tar.gz (531.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s6r_sirene-1.0.1.1-py3-none-any.whl (541.1 kB view details)

Uploaded Python 3

File details

Details for the file s6r_sirene-1.0.1.1.tar.gz.

File metadata

  • Download URL: s6r_sirene-1.0.1.1.tar.gz
  • Upload date:
  • Size: 531.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for s6r_sirene-1.0.1.1.tar.gz
Algorithm Hash digest
SHA256 a85af0df448a05e80ef483856cfee1c2d97a84931396f109ce2f739adce92c8b
MD5 2c769b6cbb8c276c7735c5991f337f9a
BLAKE2b-256 e19cff048fd93202fa7fbee51f25c8e859531f08dbc33b9cb3f10c0f1e0ffd7d

See more details on using hashes here.

File details

Details for the file s6r_sirene-1.0.1.1-py3-none-any.whl.

File metadata

  • Download URL: s6r_sirene-1.0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 541.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for s6r_sirene-1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fddc7428eddec0b5dccc73b196db8aada2c84634c5bbd69416d1ed2afd1764eb
MD5 0cde68c54e47b4df41a02b85ce264cff
BLAKE2b-256 c3a2215617d9400ae9d900e3842c5134628cb4a407f5139f4eddb07f48492c0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page