Skip to main content

.usmap file reader

Project description

pyUsmap

.usmap reader

pypi Downloads

Installation

pip install pyUsmap

Usages

from Usmap import Usmap
import json

with open("xyz.usmap", "rb") as f:
    data = Usmap(f).read()

# from bytes or byte array
import io

data = Usmap(io.BytesIO(b'')).read()

# writing to json
jsondict = data.GetValue() # get json serializable dict
with open("Mappings.json", "w") as f:
    json.dump(jsondict, f, indent=4)

Requirements

  • Python 3
  • Brotli

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

pyUsmap-1.1.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

pyUsmap-1.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pyUsmap-1.1.3.tar.gz.

File metadata

  • Download URL: pyUsmap-1.1.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyUsmap-1.1.3.tar.gz
Algorithm Hash digest
SHA256 af70d5c742f826ab63141cb6adb1119201f438ad16364f0d55f225d50da60e35
MD5 0fd8d4a61c247592cb30d8760b5cdc96
BLAKE2b-256 9a0c826d52e2cf09c4322f02c016a17328c262d09fd66668f75d4af783679b22

See more details on using hashes here.

File details

Details for the file pyUsmap-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyUsmap-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for pyUsmap-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 98485301742ed4d4898ef9f965df118fa80baf35a1fc29012fb6822ee1e6a513
MD5 251fd5741d8fd3e21a900c8907e02b42
BLAKE2b-256 bfd57c453ee4c2d183fd79265f9fed4edd2ac458b6a702d89525e9db7a5fb93c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page