Skip to main content

Title

dxutils -- Utils for DepX

This is a set of utilities which started as tools for internal use of our department. At that time it was Department X (10) - of computational materials science. The current name is different but the package name stucked. It turns out that the tools may be os some use for other researchers and can be used in other programs. They are centered around solid state computational physics.

Installation

You can install the package from pypi. It has several dependencies and requires python 3.5 or later.

To install from pypi (better use some virtual environment using e.g.: python3 -m venv venv && . venv/bin/activate):

pip install dxutils 

Usage

The package provides a number of utility functions organized in the library you can use in your python programs and a command line program gen_alamode for generating ALAMODE input files from the DFT structural data. The default format is VASP 5+ POSCAR file but you can use any format which is known to the ASE library used for reading and transforming the data. Get help on gen_alamode:

$ gen_alamode --help
Usage: gen_alamode [OPTIONS] [ACTION]

  Generates gen/opt/phon/dos file depending on the ACTION (default: opt). The
  default values of parameters are enclosed in parethesis.

Options:
  -o, --order INTEGER  Approximation order (1)
  -p, --prefix TEXT    Prefix used in calculations (CRYST)
  -n, --name PATH      Supercell POSCAR file (SPOSCAR)
  -s, --scale FLOAT    Scale of the unit cell (1.0)
  -e, --evec INTEGER   Print eigenvectors (1)
  -m, --msd INTEGER    Print mean squere displacement (1)
  --c1 TEXT            First order interaction cutoff (None)
  --c2 TEXT            Second order interaction cutoff (10)
  --c3 TEXT            Third order interaction cutoff (10)
  -k, --kpath PATH     File with reciprocal space path
  -g, --grid TEXT      k-grid for dos calculation (10x10x10)
  -d, --ndat INTEGER   Number of data points used in fitting (All)
  -f, --dfset TEXT     Name of the DFSET file (DFSET)
  -t, --tmax INTEGER   Max temperature (1000)
  -c, --charge TEXT    Name of the Born effective charges file (<prefix>.born)
  -b, --born INTEGER   If non-zero use info from <prefix>.born as Born
                       effective charges. Use <born> = [1,2,3] value to select
                       method of non-analytic correction.
  --help               Show this message and exit.

Metadata

Release files for dxutils 0.5.13

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

Source distribution (sdist)

Source distribution for dxutils 0.5.13
File Size Uploaded Provenance
dxutils-0.5.13.tar.gz 44.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 103.6 kB

Release files / dxutils-0.5.13.tar.gz

Download URL dxutils-0.5.13.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9f3df232a5c0bbc281e3c926db808e45f4eb9a72a9ead8108ff8c3e9198d496c
BLAKE2b-256 checksum
How to use checksums
c06da6effeea33136e1d422b1a8e25dcae03ee954db3f98f549853b72ee5ab8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / dxutils-0.5.13-py3-none-any.whl

Download URL dxutils-0.5.13-py3-none-any.whl
Size 59.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38909a05245ef75ec95b14857e4b8b532911abf7489122c2a1ea947f69d884e1
BLAKE2b-256 checksum
How to use checksums
fa6c7ee5b6ac5bddf528881ce63b02a082f859cb90cdfcfb551b9ec65f548931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for dxutils 0.5.13

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.

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