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.post1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sng_parser-1.0.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 c018c3dcb01258bf06d3c9ab881babb3b92b928f430af38208bbfd8969b2ca84
MD5 ba39bba016a1b1a07d2de015359e666e
BLAKE2b-256 e41cc7b1fc2cd48f086c6dffc1c041f535c86b8f9a19e641b110936a594c3f76

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