semvec/pypi-packages huggingface dataset:
easycim 0.1.1a0
Simplified Dictionaries of CIM data
Requires Python: >=3.8.1,<4.0

# EASY-CIM: Extracting Attributes in a Simple DictionarY of CIM data

EASY-CIM is a python library for extracting data



## Attribution and Disclaimer: 

This software was created under a project sponsored by the U.S. Department of Energy, an agency of the United States Government.  Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.

Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.


PACIFIC NORTHWEST NATIONAL LABORATORY

_operated by_

  BATTELLE

  _for the_

UNITED STATES DEPARTMENT OF ENERGY

_under Contract DE-AC05-76RL01830_
cm2util 0.1
A collection of utility modules to aid in the creation of Circuit Maker 2 builds.
Requires Python: >=3.8

# cm2util

**cm2util** is a collection of utility modules to aid in the creation of Circuit Maker 2 builds. New modules and features are still being added.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install cm2util.

```bash
pip install cm2util
```

## Documentation

### Image

```python
from cm2util import Image

image = Image("path/to/image", size=50)

print(image.raw) #savecode
print(image.link) #dpaste link containing savecode
```

### Memory

```python
from cm2util import Memory
```

### Circuit

```python
from cm2util import Circuit

circuits = Circuit()

@circuits.build
def Mux(D0, D1, s):

    not1 = circuits.NOT(s)
    and1 = circuits.AND(D0, not1)
    and2 = circuits.AND(D1, s)
    or1 = circuits.OR(and1, and2)

    output = or1
    return output

saveCode = circuits.export(Mux)
print(saveCode)
```

### Compress

```python
from cm2util import Compress

dpaste_link = Compress(saveCode)
print(dpaste_link)
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)