Skip to main content


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.

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)

Source distribution for BGWpy 4.0.0
File Size Uploaded
bgwpy-4.0.0.tar.gz 1.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for BGWpy 4.0.0
File Interpreter ABI Platform
bgwpy-4.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files

3.2.2

1 release file

3.2.1

1 release file

3.2.0

1 release file

3.1.4

2 release files

3.1.3

2 release files

3.1.2

2 release files

3.1.1

1 release file

3.1.0

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