Skip to main content

alc-aiidalab-widgets

Release PyPI

Pipeline Status Docs status Coverage Status

DOI

This is a collection of commonly used widgets used across AiiDAlab plugins developed by the Ada Lovelace Centre (STFC). It provides re-usable components and consistent styling which can be deployed to any new or developing AiiDAlab plugin. It can be installed via pip,

pip install alc-aiidalab-widgets

and then imported within any python project as,

import alc_aiidalab_widgets

For Developers

Style Checking

This package uses pre-commit hooks to check for style consistency, to use these the pre-commit tool is required. This can be installed alongside the base package by running,

pip install .[dev]

or separately via,

pip install pre-commit 

Once installed run,

pre-commit install 

in the base repository to enable the pre-commit hooks. This will now run style and formatting checks on every commit.

Testing

This package uses pytest to run all unit tests which is included in the [dev] optional package dependencies. Once installed it can be run from the project root directory. The CI workflows are configured to ensure all tests pass before a pull request can be accepted into the main repository. It is important that any new additions to the code base are accompanied by appropriate testing, maintaining a high code coverage. The coverage can be checked via,

pytest --cov=aiidalab_alc 

Documentation

The documentation, including a User Guide, Developer Guide and an API reference, is built using sphinx. The source for which is contained in the docs/ directory. At present only the html generator has been fully tested. All required packages can be installed alongside the core package via,

pip install .[docs]

and then the documentation can be built using sphinx-build,

sphinx-build -b html docs/src/ docs/build/html 

from the root directory.

License

BSD 3-Clause License

Funding

Contributors to this project were funded by

Metadata

Release files for alc-aiidalab-widgets 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alc-aiidalab-widgets 0.2.2
File Size Uploaded
alc_aiidalab_widgets-0.2.2.tar.gz 20.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alc-aiidalab-widgets 0.2.2
File Interpreter ABI Platform
alc_aiidalab_widgets-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 50.1 kB

Release files / alc_aiidalab_widgets-0.2.2.tar.gz

Download URL alc_aiidalab_widgets-0.2.2.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
025f5f77f7489d71a56efe2fcf4d58ccf4f509a6c2847d28e7b6f67029053f6d
BLAKE2b-256 checksum
How to use checksums
8e9ff057f4884aa288d64518b05a7429a4bbdf8ea429d4fd1b83a0c0d9aa8b01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / alc_aiidalab_widgets-0.2.2-py3-none-any.whl

Download URL alc_aiidalab_widgets-0.2.2-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a429451492ea7d0e2353540c3562ff812bd0445ccc3cc6a9110bc78f6227cb9
BLAKE2b-256 checksum
How to use checksums
225ef4fa3425203a7d9d93b681c0791ce059175f7238dbe99fed67423f993b38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.15

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page