semvec/pypi-packages huggingface dataset:
httpmedia 0.3.0
httpmedia - HTTP file sharing with thumbnails
Requires Python: >=3
Keywords: fileshare, http, thumbnail

# httpmedia

## What is it?

* Simple file-sharing on HTTP (like [`python -m http.server`](https://docs.python.org/3/library/http.server.html#http-server-cli) on steroids)
* Shows thumbnails for images/videos/others using [vignette](https://pypi.org/project/vignette/)
* Supports audio/video file seeking (`python -m http.server` does not!)
* Can display a slideshow using [baguettebox](https://feimosi.github.io/baguetteBox.js/)
* HTTP basic auth for access protection
* Few [dependencies](https://gitlab.com/hydrargyrum/httpmedia/-/blob/main/requirements.txt)
* Free license ([WTFPLv2](http://www.wtfpl.net/))
* Usable through WSGI or standalone

## Install

From [PyPI](https://pypi.org/project/httpmedia/):

```
pipx install httpmedia
```

## Configuration

### Command-line arguments (not for WSGI)

- `--bind=ADDRESS`
- `--root=DIR`: more prioritary than `$HTTPMEDIA_ROOT` if present, defaults to current directory if neither is set
- `--auth=USER:PASSWORD`: protect with HTTP basic auth
- `--auth=env`: same as above but fetch credentials from `$HTTPMEDIA_USER` and `$HTTPMEDIA_PASSWORD`
- `--auth-realm=REALM`: HTTP basic auth realm (can be useful to distinguish different auths on the same host)
- `PORT`

### Env vars (typically for WSGI)

- `HTTPMEDIA_ROOT`: directory to be published
- `HTTPMEDIA_BASEURL`: useful when reverse proxied, thumbnails and static resources will be refered to be under that base url so request are directed to httpmedia by the reverse proxy

## Run in a container

    podman build -t localhost/httpmedia -f Containerfile
    podman run --rm -n httpmedia -v /your/files:/media -p 8000:8000 -e HTTPMEDIA_BASEURL=https://your.example/medias/ localhost/media
focustuner 0.2.10
Python Instrument Control for Focus Mechanical Load tuner CCMT 1808
Requires Python: >=3.8

# Load Tuner Library #

This is a locally installable verion of the python Focus Load Tuner Library

### Version History ###

0.1.1: Updated README and Authors

0.1.0 : Initial Build. 

0.2.8 : Adding move_Z() and load cal functions. Unit tests not included.

### Acknowledgements ###

A special thanks to Devon Donahue and Scott Schafer for the initial version of this code written in socket commands.

## Additional Editing and Build instructions ##

You need to have the project packaged to be able to run it in a test mode. the commands are:

python3 -m pip install build
python3 -m build --wheel
pip3 install dist/focustuner-0.1.0-py3-none-any.whl

python -m pip install build
python -m build --wheel
pip install dist/focustuner-0.1.0-py3-none-any.whl

and using:

```
python3 -m unittest discover
python -m unittest discover
```

python -m unittest discover

to test the code

### Library Creation ###
This library was created using instructions form https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f
Frankly it was started more than once so there is a high probability there are unnecessary components. It was a valiant effort though. 

try number 2
https://medium.com/@tushar_datascience/creating-a-python-library-a-step-by-step-guide-with-a-simple-example-c87b653b9a4e

You need to set up pypi API token. This is done by creating a API token on pypi and then creating a file in Users/[username]/ called .pypirc with the following:

[pypi]
  username = __token__
  password = [password from pypi]

  If you have done it correctly you will get these instructions (again) from pypi. 

Also you have to delete old dist files when uploading.

```
python -m build
twine upload dist/* --repository pypi --verbose
```

Ensure you update the version number and delete previous tar.gz and whl files for the previous version. This seems to do it.

### Start virtual environment ###

```
python -m venv venv
```

Activate for windows:

```
. venv\Scripts\activate
```

Activate for Mac:

```
. venv/bin/activate
```
MLB-StatsAPI 1.9.0
MLB Stats API Wrapper for Python

# MLB-StatsAPI

Python wrapper for MLB Stats API

Created by Todd Roberts

https://pypi.org/project/MLB-StatsAPI/

Issues: https://github.com/toddrob99/MLB-StatsAPI/issues

Wiki/Documentation: https://github.com/toddrob99/MLB-StatsAPI/wiki

## Copyright Notice

This package and its author are not affiliated with MLB or any MLB team. This API wrapper interfaces with MLB's Stats API. Use of MLB data is subject to the notice posted at http://gdx.mlb.com/components/copyright.txt.