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.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

sourcelocation-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sourcelocation-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 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.0.tar.gz
Algorithm Hash digest
SHA256 4daa3791d2589fdcd8eadacea5b904ca3842cd6c1008b18e2a6f62c26f8aca11
MD5 2413d988be0d05d92647429c69898f7d
BLAKE2b-256 61ebd9c39420b5760bbb5dbe2a9ceefe02f33acb47c001c2da43bc477f298ac7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sourcelocation-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • 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.7.5

File hashes

Hashes for sourcelocation-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c46b12b77bb694bdfbba8a77ec8fdb158925faee0f21429a8505c5fc6279b16
MD5 8359c7d9030d054af357a3c25ebc4ca0
BLAKE2b-256 e1c5aabb02f9fcc311e740a116601770ab1f4954253f6d823d4b013517ba3d40

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