Skip to main content

Discovery-WKTUtils

image

To Install as Package, add the following line to requirements.txt:

git+https://github.com/asfadmin/Discovery-WKTUtils.git@prod#egg=WKTUtils

(The package name will be 'WKTUtils'. You can change 'prod' to desired branch).

Install the requirements file:

python3 -m pip install -r requirements.ext --upgrade

FilesToWKT:

You must open shapefiles in read binary mode, before passing them into the function.

from WKTUtils.FilesToWKT import filesToWKT
f = open("path/to/file.shp", "rb")
# NOTE: f can be a list of files too. filesToWKT([f1, f2, ...]).getWKT()
wkt = filesToWKT(f).getWKT()

Metadata

Release files for WKTUtils 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WKTUtils 2.0.0
File Size Uploaded
wktutils-2.0.0.tar.gz 4.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for WKTUtils 2.0.0
File Interpreter ABI Platform
WKTUtils-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / wktutils-2.0.0.tar.gz

Download URL wktutils-2.0.0.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
b9bc132e86f4efbe59e7f825de36bb343ec89bdc30dd242e163b5cb398be57fa
BLAKE2b-256 checksum
How to use checksums
a53e57ae381ea2c1ded6e8d5646889d1fdd915fb56faf56b085383a8057334a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / WKTUtils-2.0.0-py3-none-any.whl

Download URL WKTUtils-2.0.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c91ec82c756878c4757bac17db38ac3855eb5fc6ec3a4e43665105926860718
BLAKE2b-256 checksum
How to use checksums
fa4669ea8fa5ffd079a13bf21725cbd13d16ffe99e87125eef7e6c4a5702fff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page