Skip to main content

Extensible tools for parsing annotations in codebases

Project description

PyPI Travis Codecov Documentation Supported Python versions License

Extensible tools for parsing annotations in codebases

Overview

This package provides configurable and extensible tools for parsing and summarizing annotations in a wide range of codebases. Originally intended for annotating code which stores personally identifiable information (PII), these tools are optimized for that use case but can be generalized for other types of annotations.

Additionally, a logically separate part of this repository will contain specific annotation configurations and supporting tools, such as Sphinx extensions for documenting specific annotation types. See the contrib folder.

Documentation

The full documentation is at https://code-annotations.readthedocs.org.

License

The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome.

Please read How To Contribute for details.

Even though they were written with edx-platform in mind, the guidelines should be followed for Open edX code in general.

PR description template should be automatically applied if you are sending PR from github interface; otherwise you can find it it at PULL_REQUEST_TEMPLATE.md

Issue report template should be automatically applied if you are sending it from github UI as well; otherwise you can find it at ISSUE_TEMPLATE.md

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Getting Help

Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.

Change Log

[0.9.0] - 2020-09-25

  • Get rid of the documented_elsewhere annotation, which is used nowhere

[0.8.0] - 2020-09-10

  • Add settings Sphinx extension with setting annotation configuration file

[0.7.0] - 2020-09-07

  • Simplify the feature toggle annotation format

[0.6.0] - 2020-08-27

  • Add support for multiline annotations for lines prefixed with single-line comment signs (“#”)

[0.5.1] - 2020-08-25

  • Add support for warnings in the featuretoggles Sphinx extension

[0.5.0] - 2020-08-06

  • Add featuretoggles Sphinx extension

  • Include contrib folder in pip-installable package

  • Add ADR 0001-config-and-tools.rst for adding a place in this repository for shared annotation configs and supporting tools.

[0.4.0] - 2020-07-22

  • Add support for multi-line code annotations

[0.3.4] - 2020-05-06

  • Removed support for Django<2.2

  • Removed support for Python2.7 and Python3.6

  • Added support for Python3.8

[0.3.2] - 2019-06-21

Added

  • Add RST anchors throughout annotation report docs

[0.3.1] - 2019-03-20

Added

  • Bump pyyaml to version 5.1 to address unsafe load() CVE.

[0.1.0] - 2018-11-16

Added

  • First release on PyPI.

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

code-annotations-0.9.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_annotations-0.9.0-py2.py3-none-any.whl (34.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file code-annotations-0.9.0.tar.gz.

File metadata

  • Download URL: code-annotations-0.9.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.5.6

File hashes

Hashes for code-annotations-0.9.0.tar.gz
Algorithm Hash digest
SHA256 30932f1a8615b2c1b065e3e158230de69cae7032aee559f43a04ea66ac585786
MD5 267e510e854b6aa726dd252f4e1cd4d3
BLAKE2b-256 279c94324a31829ed219816bd836b7519194e82e005b0b462a861221941823e5

See more details on using hashes here.

File details

Details for the file code_annotations-0.9.0-py2.py3-none-any.whl.

File metadata

  • Download URL: code_annotations-0.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.5.6

File hashes

Hashes for code_annotations-0.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b1acac22e5a08cc92b7037a0b0f820f65e99675202987f9896984403c69f429f
MD5 b1566c79b7a2c83ca249e0a0620c040e
BLAKE2b-256 2fdfaca33414c5fe3f41ca9552df915b146b8091672965a308451d0bc4fb1aac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page