Skip to main content

Python library for reading .sng files

Project description

sng-format-python


Python implementation for parsing and handling .sng files. See the .sng format spec for information.

It is capable of reading SNG files, extracting metadata, file indexes, and file data. There is a function to write to disk as well.

I have not tested this thoroughly, but I've had zero issues with it so far.

Example usage

import sng_parser

outdir = 'test'

# Decoding
sng_parser.convert_sng_file('example.sng', outdir)

# Encoding
sng_parser.to_sng_file('encoded.sng', outdir)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sng_parser-1.0.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file sng_parser-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sng_parser-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.16 CPython/3.10.12

File hashes

Hashes for sng_parser-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17832990890dcb056b195301d64bd41330f34e6cbf036e9ca3b0d7a887f643df
MD5 5f918cfed991bc76f4e672af31070688
BLAKE2b-256 2840536303f45de6d55f486355345cbf6bdbcf908781a20a5a067d155a65dd6c

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