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

This package is intended to be shipped from the main PyShp repo eventually not this personal one (once mypy finds it).

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.1.tar.gz (1.7 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.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyshp_stubs-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyshp_stubs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 025cfe9aef63c7bc336168d79c18dbabcfc935fb7d9a9e54366cf3cf03ff5038
MD5 8653136bfdae628347391120cd08656a
BLAKE2b-256 47e17a7ec20e38322fc986a6b3a49821fdbf17ec8da04817aafc285c0ee529ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyshp_stubs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pyshp_stubs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48c8e37602e1c32f7431bdc90a1920b5ba629712a4f91deb66899c6ce977f104
MD5 dd627575266755caafa76a04aae4b106
BLAKE2b-256 3ac9cff6b27c5f6e3a704c2bbeeabacac1d4c9f6d40754429f4db374edca3db7

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