Skip to main content

No project description provided

Project description

McUtils Binder

McUtils is a set of utilities written by the McCoy group for the McCoy group to handle common things we do, like pulling data from electronic structure calculations, doing unit conversions, interpolating functions, making attractive plots, getting finite difference derivatives, performing fast, vectorized operations, etc.

We're working on documenting the package, but writing good documentation takes more time than writing good code. Docs for the actively edited, unstable branch can be found here.

Installation & Requirements

The easiest way to install is via pip, as

pip install mccoygroup-mcutils

This should install all dependencies. The major requirement is that Python 3.8+ is required due to use of features in the types module. For safety, it is best to install this in a virtual environment, which we can make like

python3.8 -m pip venv mcenv

and activate like

. mcenv/bin/activate

or to use it in a container or conda environment or some other place where we can control the environment.

It is also possible to install from source like

git clone https://github.com/McCoyGroup/McUtils.git

but in this case you will need to make sure the library is on the path yourself and all of the dependencies are installed. If you want to get all of the nice JHTML features for working in Jupyter, you'll then need to run

from McUtils.Jupyter import JHTML
JHTML.load()

and then reload the browser window when prompted.

Contributing

If you'd like to help out with this, we'd love contributions. The easiest way to get started with it is to try it out. When you find bugs, please report them. If there are things you'd like added let us know, and we'll try to help you get the context you need to add them yourself. One of the biggest places where people can help out, though, is in improving the quality of the documentation. As you try things out, add them as examples, either to the main page or to a child page. You can also edit the docstrings in the code to add context, explanation, argument types, return types, etc.

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

mccoygroup-mcutils-1.2.6.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

mccoygroup_mcutils-1.2.6-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file mccoygroup-mcutils-1.2.6.tar.gz.

File metadata

  • Download URL: mccoygroup-mcutils-1.2.6.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for mccoygroup-mcutils-1.2.6.tar.gz
Algorithm Hash digest
SHA256 ba36db47447f100437f30dbaa5cfb36a60316174f1f309438201e7761fe6d8ca
MD5 bc468f4a48c8a349a746b298839b63de
BLAKE2b-256 f36c13c0804a1f569e7c50669a3831db7b866fa59f0bb65c8710aae16a19c08b

See more details on using hashes here.

File details

Details for the file mccoygroup_mcutils-1.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for mccoygroup_mcutils-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2a7317647a97990bad35c2fdb4e2fecfdf60b5b837a953231f7e3512a96809ea
MD5 651991c632f65ea7b7e6f438403dca5c
BLAKE2b-256 8da60dcea12a0ee713c8cdf9fe81dd784433d6e4009852eee71ec3defcbe2495

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page