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 Distribution

sourcelocation-1.0.2.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file sourcelocation-1.0.2.tar.gz.

File metadata

  • Download URL: sourcelocation-1.0.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7

File hashes

Hashes for sourcelocation-1.0.2.tar.gz
Algorithm Hash digest
SHA256 619dc32538484fcd4856bf93cbffb5a85ddc3db280a744eb0c21dc3f3eba8ed3
MD5 07987e10ab8c3cbaa769d4d2df43c900
BLAKE2b-256 9f6420b3d6a004e23b18bd395e8572a048d3ce59356bcd5f25e23f097fe38fdb

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