A python module to operate BerkeleyGW
Documentation
We recommend learning the basic usage from the examples provided with the source distribution in doc/Examples/. The docstrings of the various objects also contain information and can be accessed from a python interpreter with
help(BGWpy.<object>)
or from ipython with
In [1]: BGWpy.<object>?
Requirements
- Python 3.10+
- numpy 1.24+
- pymatgen 2024+
- BerkeleyGW 4.0+
Note that the binary executables of BerkeleyGW must be found in your PATH environment variable.
Installing
Install using pip:
pip install BGWpy
Or using uv:
uv pip install BGWpy
For development, clone the repository and install with dev dependencies:
git clone https://github.com/BerkeleyGW/BGWpy.git
cd BGWpy
uv sync
After installation, run the configuration script to generate a runtime
configuration file ~/.BGWpyrc:
python -m BGWpy
You can then modify this file as needed. Most options represent default values and can be overridden when using the module.
License
This software is free to use under the BSD license. See LICENSE.txt for more information.
Metadata
Release files for BGWpy 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bgwpy-4.0.0.tar.gz | 1.2 MB | Without provenance | Details for bgwpy-4.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bgwpy-4.0.0-py3-none-any.whl | Python 3 | none | any | Details for bgwpy-4.0.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / bgwpy-4.0.0.tar.gz
| Download URL | bgwpy-4.0.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3019b254d6db5fed8757256029554e86348dff2445d150fba735e89eb017281
|
|
BLAKE2b-256 checksum How to use checksums |
d9f78c61f7b7846f7cfccde1aea4ae491500f1e01afc144f15b47fdc1aca24ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / bgwpy-4.0.0-py3-none-any.whl
| Download URL | bgwpy-4.0.0-py3-none-any.whl |
|---|---|
| Size | 453.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c8e4008eaef2a113d6c07a22d96c5f81029e3bebefb2431e2afe34375a2e4e1
|
|
BLAKE2b-256 checksum How to use checksums |
db2528f83a41226a35561a0586fa6477f86043be79ab8e30a66a9a2b25ce955d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Security for BGWpy 4.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.