A tiny source-map-mappings bindings for python using PyO3
Project description
py-sourcemap
A tiny source-map-mappings bindings for python using PyO3
Platform Support
Operating Systems
| Linux | macOS | Windows x86 | Windows x64 |
|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ |
Python
| Python3.5 | Python3.6 | Python3.7 |
|---|---|---|
| ✓ | ✓ | ✓ |
Usage
from py_sourcemap import SourcemapParser
sourcemap_parser = SourcemapParser("./tests/index.js.map")
# pass line, column in, start from 1
sourcemap_parser.original_location_for(1, 195303) # (original_line, original_column, source_file_name, function_name_in_source) start from 1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-sourcemap-0.4.0.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
py_sourcemap-0.4.0-py3-none-any.whl
(809.3 kB
view details)
File details
Details for the file py-sourcemap-0.4.0.tar.gz.
File metadata
- Download URL: py-sourcemap-0.4.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71355e6cd2bc334a98e087ef871d4eb6e99db2202284585e610bf10d186e8b1e
|
|
| MD5 |
0ba3761e99d605b9c9d54a59608cfced
|
|
| BLAKE2b-256 |
3cb7f7d735ad079ef405a6b0cb270c18a7344b57bb6bd1f611e610a167e04d4f
|
File details
Details for the file py_sourcemap-0.4.0-py3-none-any.whl.
File metadata
- Download URL: py_sourcemap-0.4.0-py3-none-any.whl
- Upload date:
- Size: 809.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebde262e8a7d0bc1e13eb53ad5af62a9de5f74bd8769e1a166651fbe5df98ba4
|
|
| MD5 |
15b879f3d3655032c0794489495998c3
|
|
| BLAKE2b-256 |
0706a66dc9d796f635326462f2403398bc8dc10d0223fb2528b952477e7c65e8
|