Pynsee

Latest version: v0.2.0

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.0

**Breaking changes**

The INSEE APIs were changed, including

* new API portal: portail-api.insee.fr
* no token generation is needed for all APIs except SIRENE
* for SIRENE API, it is now provided via the ``sirene_key`` argument in ``init_conn``
* ``get_included_area`` was removed

**Deprecations**

* ``GeoFrDataFrame.translate`` is deprecated in favor of ``GeoFrDataFrame.transform_overseas``
* ``GeoFrDataFrame.get_geom`` is deprecated in favor of ``GeoFrDataFrame.geometry.union_all``

**New features**

* ``GeoFrDataFrame`` inherits from ``geopandas.GeoDataFrame`` so you can use all the included methods directly on it (246)
* the tranlation and zoom of overseas department has be renamed ``transform_overseas``
* the configuration file is no longer stored in the middle of the home directory (210)

**Documentation**

* updated examples and user guides (246 250 251)
* internal links for functions and classes (251)
* link to pandas/geopandas/pyproj and request documentations (251)

**Under the hood**

* use data from Melodi api (229)
* backend function update in the utils module + sirene functions update
* cleanup of temporary files handling (206)
* all cached data is now saved as parquet for faster read/write operations (199 208 224)
* switch to multithreading instead of multiprocessing (216)
* move to pyproject.toml only (243)
* fix tests and cleanup imports (many commits)
* enforce black formatting (234)

0.1.8

* sirene module compatible with SIRENE API v3.11
* geodata module compatible with the new IGN's geoplatform
* data cached in parquet files thanks to a new decorator used across modules
* fixes in the docs/examples
* macroeconomic series list can be retrieved even if it is zipped twice
* macroeconomic series can be used even if INSEE adds .TRUE or .FALSE at the end of the identifier
* if RSS feed is failing, the get_last_release returns a warning and not an error
* conda forge releases streamlined

0.1.7

* README.rst deleted and README.md included in package distribution file
* python version badge update in readme

0.1.6

* fix to cope with the double zipping of macroeconomic metadata file containing time series identifiers
* changes in geodata module to switch to the new IGN geoplatform
* tests performed on python 3.8-3.11
* new example in doc gallery on mobility in Paris region + example fixes
* package catches error 429 (request limit on api.insee.fr) and then sleeps

0.1.5

* shapely>= 1.8.0 defined in both setup.py and requirements

0.1.4

* translate method: bug fix due to IGN data flow discontinuity
* package compatible with shapely 2.0 + deprecation warnings removed

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.