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.2.tar.gz (530.5 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.2-py3-none-any.whl (540.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.1.2.tar.gz
  • Upload date:
  • Size: 530.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for s6r_sirene-1.0.1.2.tar.gz
Algorithm Hash digest
SHA256 7fd712d362ba1b2be0714bc46ad7a4337bad3400eef5224b5d39f61750458d21
MD5 fb9dd9e2e2b448fdfb7a22d90faa6ba0
BLAKE2b-256 94246da287d66010a786e081df7d6bdacc388e101179800784d7590afa0ec38a

See more details on using hashes here.

Provenance

The following attestation bundles were made for s6r_sirene-1.0.1.2.tar.gz:

Publisher: python-publish.yml on ScalizerOrg/s6r-sirene

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 540.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for s6r_sirene-1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6162a29cfb6bbda3fc0fc4a8fb0ffae4159bd1b13986b0fbcc5d9a7e13938d9
MD5 36ca80654d4449574c078c0dd42da062
BLAKE2b-256 0d09851603e509deca27fac14b90f6cbff4ed30f23394b55b2ce2bbd54843616

See more details on using hashes here.

Provenance

The following attestation bundles were made for s6r_sirene-1.0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on ScalizerOrg/s6r-sirene

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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