Skip to main content

Python library for parsing and generating source maps.

Usage

Overview

Example:

>>> import sourcemaps
>>> sourcemaps.discover('...')
'jquery.min.map'
>>> sourcemap = sourcemaps.decode('...')
>>> sourcemap.tokens[3]
<Token: dst_line=10 dst_column=10 src='jquery.js' src_line=50 src_col=200 name='lol'>
>>> sourcemaps.encode(sourcemap)
'{version: 3, mappings: 'AAAA,...', ...}'

Compatibility

  • Python 2.7

  • Python 3.3

  • PyPy

Metadata

Release files for python-sourcemaps 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-sourcemaps 1.1
File Size Uploaded Provenance Actions
python-sourcemaps-1.1.zip 7.0 kB Without provenance Details for python-sourcemaps-1.1.zip

Release files / python-sourcemaps-1.1.zip

Download URL python-sourcemaps-1.1.zip
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b102a9c2c3e8302131448784be03f72fe9e10060d42306b70959b0c12daf0e10
BLAKE2b-256 checksum
How to use checksums
84d567e53b324fb50beafce8226030bc4158f5fcee2671fc868e035d13a4c082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-sourcemaps 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page