semvec/pypi-packages huggingface dataset:
pymatgen-lammps 0.5.1
A LAMMPS wrapper using pymatgen
Keywords: lammps pymatgen wrapper

# Lammps Wrapper

<table>
<tr>
  <td>Latest Release</td>
  <td><img src="https://img.shields.io/pypi/v/pymatgen-lammps.svg" alt="latest release"/></td>
</tr>
<tr>
  <td></td>
  <td><img src="https://anaconda.org/costrouc/pymatgen-lammps/badges/version.svg" alt="latest release" /></td>
</tr>
<tr>
  <td>License</td>
  <td><img src="https://img.shields.io/pypi/l/lammps-cython.svg" alt="license" /></td>
</tr>
<tr>
  <td>Build Status</td>
  <td> <a href="https://travis-ci.org/costrouc/pymatgen-lammps"> <img
src="https://api.travis-ci.org/costrouc/pymatgen-lammps.svg?branch=master"
alt="travis ci pipeline status" /> </a> </td>
</tr>
</table>


This is a package that I wrote to write input files for LAMMPS and
analyze them because I was not happy with the one built inside of
`pymatgen`. It has built in calculators for running many lammps
calculations in parallel (many short small LAMMPS calculations). 

Now that I have put some serious effort into my cython wrapper to
LAMMPS. I would recommend it instead. You get significantly better
performance and LAMMPS is now built into the python
process. [lammps-cython](https://github.com/costrouc/lammps-cython).
rpistream 0.2.2
A very simple library built for streaming video from a remote Raspberry Pi server in realtime.

# RaspiCameraLivestream

### A very simple library built for streaming video from a remote Raspberry Pi server in realtime.

---

## How to install:

### MacOS or linux:

Open your terminal and type:

``` bash
sudo python -m pip install rpistream
```

### Windows:

Open cmd as admin and type:

```cmd
pip install rpistream
```

---

## Examples:

### Streaming from a webcam

Server

```python
from rpistream.camera import Camera
from rpistream.streamserver import Server

def retrieveImage(cam,imgResize):
    image = cv2.resize(cam.image,(0,0),fx=imgResize,fy=imgResize)
    return image

cam = Camera(mirror=True)
scale=0.5
server = Server(port=5000)
server.serve() # Blocking; waits for a connection before continuing
server.startStream(retrieveImage,[cam,scale]) # Calls retrieveImage(*args) every frame  
```

Client

```python
from rpistream.streamclient import Client

client = Client(serverIp="localhost", WriteFile=True) # Connects to the server
client.startStream() # Starts recieving data and displaying the video
```