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.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pyUsmap-1.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyUsmap-1.1.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyUsmap-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8d579aca665c581e52e7e3b7aea6dc646f60f290cbb90ab611afd0766f61fec2
MD5 2855aabc5f16423b1777261ce44b5121
BLAKE2b-256 4e381a957ec4cd5da58b2f12864e41f542bb5d3662f08759b96dc4c008c2ddee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyUsmap-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for pyUsmap-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a58ccb578520a08c29f402041c6e9620b907489f76cf1479119c8b7119040b1
MD5 e29a01c6d1364231d29a15956620afb3
BLAKE2b-256 67b702685d633f0319913fa44083479bd664a6d60108cef62be3572e79890617

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