Skip to main content

A set of build tools for Amazon Braket

Project description

Braket Build Tools

Installing the Amazon Braket Build Tools

The Amazon Braket Build Tools can be installed with pip as follows:

pip install amazon-braket-build-tools

You can also install from source by cloning this repository and running a pip install command in the root directory of the repository:

git clone https://github.com/aws/amazon-braket-build-tools.git
cd amazon-braket-build-tools
pip install .

Flake8 Checkstyle Plugin

This tool checks python source code for Braket checkstyle standards as a Flake8 plugin. Installing amazon-braket-build-tools automatically registers this plugin with flake8 and will be run by default whenever flake8 is used.

Testing The Installation

To test if the extension has been installed run:

flake8 --enable-extensions=BCS --help

At the bottom of the output you should see braket checkstyle among your installed plugins:

Installed plugins: braket.flake8_plugins.braket_checkstyle_plugin: 0.1.0

Running

To run with the extension enabled, just run flake8 on the module of your choice. For example:

flake8 --enable-extensions=BCS src

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

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

amazon_braket_build_tools-0.2.19.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

amazon_braket_build_tools-0.2.19-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file amazon_braket_build_tools-0.2.19.tar.gz.

File metadata

File hashes

Hashes for amazon_braket_build_tools-0.2.19.tar.gz
Algorithm Hash digest
SHA256 48d96b749a67e1032be7dfde419d7236b76fba46b96897e23a4ddbe9b12634dd
MD5 6bddbea4f5aeb0164006f2cbe4e921d9
BLAKE2b-256 6031e5490f384d48da45312a7601325d8bac9722a40de84a72e7524df0ff2a61

See more details on using hashes here.

Provenance

The following attestation bundles were made for amazon_braket_build_tools-0.2.19.tar.gz:

Publisher: publish-to-pypi.yml on amazon-braket/amazon-braket-build-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amazon_braket_build_tools-0.2.19-py3-none-any.whl.

File metadata

File hashes

Hashes for amazon_braket_build_tools-0.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 61841702daa0e3864ef0192075defbc792f5b535a387bca5e624a404b6666c58
MD5 c416b1bcda416ca8b761a6c004c61d2d
BLAKE2b-256 d19d44b4b74d2da62087471451179f135da08c6e79cf6c3cb83a0403590332ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for amazon_braket_build_tools-0.2.19-py3-none-any.whl:

Publisher: publish-to-pypi.yml on amazon-braket/amazon-braket-build-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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