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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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