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.0.tar.gz (30.6 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.0-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.0.tar.gz
  • Upload date:
  • Size: 30.6 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.0.tar.gz
Algorithm Hash digest
SHA256 08e06bf3819d98487e1110dd31312bf7bd37adf82a22c52c05feca1b4274e9af
MD5 f64565e80e74420e421fab4fb8b014b7
BLAKE2b-256 eab6d9cb7030611a3ab37cec48edb7ce485ae1bb4c87b78c11d101384478f304

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 42.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d07e3a6e2a7785b849c276df63a0a14401de8df1cc2301a26bf15752211a809b
MD5 eb3902b7bbdfd03ac8a60ba6075715dd
BLAKE2b-256 645c87aaec0dc7a09ce6517459502429b74db470ea63e4fed544fb75c9f02889

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