semvec/pypi-packages huggingface dataset:
chemics 24.1
A Python package for chemical engineering

# Chemics

Chemics is a Python package for chemistry and chemical engineering applications. It is open-source and contributions from the scientific community are encouraged.

## Installation

If you don't have Python installed on your computer, the [Anaconda](https://www.anaconda.com) or [Miniconda](https://conda.io/miniconda.html) distribution of Python is recommended for scientific computing. After setting up Python, the Chemics package can be downloaded and installed using the pip package manager.

```bash
$ pip install chemics
```

## Usage

The example below imports the Chemics package and uses the `Gas` class to calculate the density and viscosity of nitrogen gas at a temperature of 773 K and pressure of 101,325 Pa.

```python
import chemics as cm

gas = cm.Gas("N2", 773)
rho = gas.density()
mu = gas.viscosity()

print("Nitrogen gas properties at 773 K and 101,325 Pa")
print(f"density    {rho:.4f} kg/m³")
print(f"viscosity  {mu:.2f} μP")
```

This prints the following:

```
Nitrogen gas properties at 773 K and 101,325 Pa
density    0.4416 kg/m³
viscosity  363.82 μP
```

This example uses the `ChemicalEquation` class to get properties of the reactants and products from a given chemical equation.

```python
import chemics as cm

ce = cm.ChemicalEquation("2 HCl + 2 Na -> 2 NaCl + H2")
ce.is_balanced()
# This returns True for balanced equation

ce.rct_properties
# This returns a dataframe of the reactant properties
#                HCl        Na
# moles            2         2
# species        HCl        Na
# molwt       36.458     22.99
# mass        72.916     45.98
# molfrac        0.5       0.5
# massfrac  0.613275  0.386725
```

More examples are available in the documentation.

## Documentation

Documentation for the Chemics package is available at [chemics.readthedocs.io](https://chemics.readthedocs.io).

## Contributing

See the [CONTRIBUTING.md](CONTRIBUTING.md) document for guidelines on contributing to the Chemics package.

## License

Chemics is available under the MIT License - see the [LICENSE](LICENSE) file for more information.
dashbored 1.1.0
An overly simple dashboard framework

# dashbored

A simple dashboard framework created out of boredom. It provides a simple, tabular interface using a Python module that implements the defined specification.

## Usage

### Creating a dashbored module

The dashbored specification expects the following attributes.

* **fetch** (required) - A function that takes no arguments and returns a list of mappings of field names to values.
* **FORMAT** (optional, suggested) - This is a Python [format mini-language](https://docs.python.org/3/library/string.html?highlight=format%20mini%20string#format-specification-mini-language) string using columns from the data source as keywords.
* **FREQUENCY** (optional, suggested) - The frequency to fetch updated data using the `fetch` function

For convenience, it's also suggested to create an entry\_point within the `dashbored` group although it's not required as noted below.

### Command line interface

If a dashbored module provides the suggested defaults, then running one should be as easy as:

```python3
python3 -m dashbored <spec>
```

where specification is either a fully qualified module name or an entrypoint name within the `dashbored` group.

### Library interface

To be used as a library, simply provide the above mentioned arguments in the same positional order to the `create` functon in the `dashbored` module.

```python3
import dashbored

def myfetch():
    ...

dashbored.create("{field_a} {field_b}", myfetch, 1)
```
resourcegeo 0.1.9
Python package for resource geologists
Requires Python: >3.7.6,<3.8

# Resourcegeo

### Description
This package contains data analysis tools to aid resource geologists in common tasks. More information about using resourcegeo in the [documentation](https://orespace.net/resourcegeo_doc/?_gl=1*1usxvqh*_ga*MTM0MjI2MTIxLjE3MDEzMTExNzY.*_ga_ZEEK2PJYHW*MTcwMzY5NzI0My4xOC4xLjE3MDM2OTc0MjguNjAuMC4w).   

If you want to try some of the example notebooks without any installation, visit [run online](https://mybinder.org/v2/gh/numpattern/resourcegeo_binder/main). It may take some minutes for mybinder to build  the virtual image.

### Code guidelines

PEP 8 naming conventions:

* Class names should be CamelCase (MyClass)
* Variable names should be snake_case and all lowercase (first_name)
* Function names should be snake_case and all lowercase (quick_sort())
* Constants should be snake_case and all uppercase (PI = 3.14)
* Modules should have short, snake_case names and all lowercase (numpy)
* Be consistent if using single quotes or double quotes

PEP 8 line formatting:

* Indent using 4 spaces (spaces are preferred over tabs)
* Lines should not be longer than 79 characters
* Avoid multiple statements on the same line
* Top-level function and class definitions are surrounded with two blank lines
* Method definitions inside a class are surrounded by a single blank line
* Imports should be on separate lines

PEP 8 whitespace:

* Avoid extra spaces within brackets or braces
* Avoid trailing whitespace anywhere
* Always surround binary operators with a single space on either side
* If operators with different priorities are used, consider adding whitespace around the operators with the lowest priority
* Avoid spaces around the = sign when used to indicate a keyword argument

PEP 8 comments:

* Comments should not contradict the code
* Comments should be complete sentences
* Comments should have a space after the # sign with the first word capitalized
* Multi-line comments used in functions (docstrings) should have a short single-line description followed by more text

## Contact
Refer to [orespace.net](https://orespace.net/)

## License
This project is licensed unther the MT License - see the License.md for details