semvec/pypi-packages huggingface dataset:
oqi 1.0.5
Open Qasm interpreter.
License: MIT
Keywords: OpenQasm,QuantumComputing,QuantumSimulator

# OpenQasmInterpreter (oqi)

This package interprets a .qasm 2.0 file and then outputs the results to the console. All of the executions are made using the qasm simulator. Moreover you can specify different options to run your circuit. 

To just run your .qasm file you'll have to run:

```{r test-python, engine='bash'}
oqi filename
```

Additionally if you want to see and run your circuit you can execute:
```{r test-python, engine='bash'}
oqi filename d
```

Finally if you want to run your circuit **n** number of times you can specify the repetitions:
```{r test-python, engine='bash'}
oqi filename d n
```
or
```{r test-python, engine='bash'}
oqi filename n
```

In any case the output will include something of the form:
```{r test-python, engine='bash'}
The results are: {'bits': numberOfMeasurements, ...}
```

## Installation
Install it with the pip package manager:
```{r test-python, engine='bash'}
pip install oqi
```

## Features

Custom errors:

![image](screenshots/errors.png)

Draw and run your circuits:

![image](screenshots/draw.png)

## Acknowledgements

The token analyser and many other things needed in order to run the interpreter came from the [qiskit repo](https://github.com/Qiskit). My contribution was to create the pip package and some wrapping in order to run their interpreter.
s3-cas 1.0.0
S3 Content-Addressable Storage
License: MIT
Keywords: aws,botocore,boto3,s3

# S3 Content-Addressable Storage

Store files in S3 indexed by their SHA256 hash instead of by filename.

```text
$ echo 'Hello World!' > foo
$ cp foo foo2
$ cat test.py
import s3_cas
c = s3_cas.S3CasClient("my-bucket", "blobs")
c.upload_file("foo")
c.upload_file("foo2")
$ python test.py
INFO:s3cas:Uploaded file to s3://my-bucket/blobs/03ba204e50d126e4674c005e04d82e84c21366780af1f43bd54a37816b6ab340
INFO:s3cas:File already exists with hash 03ba204e50d126e4674c005e04d82e84c21366780af1f43bd54a37816b6ab340, name foo, not uploading.
```