Skip to main content

Simple data structures for representing source code locations

Project description

https://travis-ci.org/ChrisTimperley/sourcelocation.py.svg?branch=master https://badge.fury.io/py/sourcelocation.svg https://img.shields.io/pypi/pyversions/sourcelocation.svg

A simple collection of reusable data structures for representing source code locations such as character offsets, character ranges, lines, etc.

MIT License

Copyright (c) 2019 Chris Timperley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

sourcelocation-1.0.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file sourcelocation-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sourcelocation-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4713c6bc8ec6f4dc30702c11f9bf4539712dc0f0bad07edbfaf2454257112800
MD5 3e6d06387d841ab01448b9e6fcaea03b
BLAKE2b-256 eabccd6780762ecef5599e92999ffef4e8c38b5d656f33b173bac2fecf3888eb

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