Skip to main content

Static typing indicator for PyShp 3 (which is already typed). PyShp is a pure Python read/write support for ESRI Shapefile format

Project description

PyShp-stubs

Nominal type stubs for PyShp.

PyShp 3 is statically typed. PyShp has historically been a single file library (shapefile.py).

According to PEP 561, and the spec in order to add a py.typed marker file (without indicating to type checkers that every package the user has installed adajacent to PyShp should also be type checked, regardless of whether all such packages support that or not), "The single-file module should be refactored into a package".

Myself and several other project contributers are reluctant to give up the single-file module (shapefile.py). We quite like it.

The purpose of this package is purely to indicate to type-checkers that PyShp is typed. It just so happens to be primarily typed in-line in the main library, from which the stubs in shapefile.pyi are largely automatically generated by MyPy's stubgen.

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

pyshp_stubs-0.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

pyshp_stubs-0.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file pyshp_stubs-0.0.0.tar.gz.

File metadata

  • Download URL: pyshp_stubs-0.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.6

File hashes

Hashes for pyshp_stubs-0.0.0.tar.gz
Algorithm Hash digest
SHA256 26d6671ea80d8defc625633225d46593ee1c29d6dbdbbc35d302c70f4399df3e
MD5 29b514b71ccf8e1b83ed7043d3aebbec
BLAKE2b-256 1d21d79a275410b34cd297a001011958420d388828eb40f0bcbcf9745b99dada

See more details on using hashes here.

File details

Details for the file pyshp_stubs-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyshp_stubs-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e579e3ae7dc92a5caa1458172bca1cddf091a0ac5cd607a6b63556eccd6d0e1
MD5 5781d0b139e577103cc10f5574a74c77
BLAKE2b-256 e7dc6d2868db3d4647d91ab8ee65bf69db42757f34d0ec45b744948606537075

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