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.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.1-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2fe92bc7574a73a3824463d9a2a282b6902ccd1ac30b2d9c340b4972dd6c06d3
MD5 43a0e767a8d6cdadaf05055b45bde87e
BLAKE2b-256 cafe08250ce4f4c1a483d432b2fbb287c5ee0466625a389d95f952e40f6bf03e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s6r_sirene-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16283a84bd68b56b2e7d28e623282734038f255bb4a87facfcc786f7c75c3cc8
MD5 eaf316bde11a76ab53bfbe910da00682
BLAKE2b-256 1f3877fa0e3c0b759f57ca196c231ae6c73ac50e6b79062d7453dc41ee39b22e

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