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.5.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mccoygroup-mcutils-1.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e320191fe5866cc910ec96be0439f953bb6d5348c182d64ea1bdb4e4cbb22b4a
MD5 c4bb40453e526c6062e031c2a307a0ca
BLAKE2b-256 b1e0f9a78b7417a77a22cd9490fd6f722393c8b21ac3353dd582c1d7b7f6053d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mccoygroup_mcutils-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d2fd9827f24601d872273eae6ac716785f2faf1c10235b812b5c64d23b0fc1a3
MD5 19e7506c367d8233d1540b13c8343bd2
BLAKE2b-256 60ca7b01602e919c57dd16347df2571caccde767016f784cb3b306116efa9931

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