semvec/pypi-packages huggingface dataset:
mlep 0.1.1.dev3
Interact with an EnergyPlus simulation during runtime using the BCVTB protocol.
Requires Python: >=3.6.1,<4.0.0

# MLEP Client
Interact with an EnergyPlus simulation during runtime using the BCVTB protocol.

# Usage
`pip install mlep`

Up to date usage can be found in the alfalfa repository, likely in [osm_model_advancer](https://github.com/NREL/alfalfa/blob/develop/alfalfa_worker/step_sim/osm_model_advancer.py) function.  As tests get added, usage will be updated.

# Releasing
See [release info here](https://gist.github.com/corymosiman12/26fb682df2d36b5c9155f344eccbe404#releasing)
dictmagic-mivanit 0.0.1
a package that makes it easier to do weird things with python dictionaries
Requires Python: >=3.6

# dictmagic
[`dictmagic`](https://github.com/mivanit/dictmagic) is a very small python 3 package that makes it easier to do certain weird things with dictionaries.  
At the moment, it lets you convert to and from "flattened" dictionaries that use path syntax instead of nested dictionaries, and simplifies the process of accessing python dictionary elements as attributes. This package is mostly written to loading, saving, using, and coverting between various configuration methods easier.

## installation
```
pip install dictmagic
```

# Usage
## `dictmagic.paths`
flattening and unflattening hierarchies of dicts lets you access `mydict['hello']['world']` with `mydict['hello/world']` or vice versa. This is useful in contexts where having nested dicts is not practical (hash maps that can be used in strictly typed languages, hdf5 attributes, etc)

- `dictmagic.paths.flatten()` or `dictmagic.flatten()`
- `dictmagic.paths.unflatten()` or `dictmagic.unflatten()`

### Arguments
(identical for both functions)
 - `in_dict` : input dictionary. not modified

- `sep` : section separator (any char can be used, `/` is default)
	- `/` in the style of unix, hdf5, and other things
	- `:` in the style of `configparser` from the standard library
	- `.` in the style of YAML

## `dictmagic.obj`
- `dictmagic.obj.ObjectDict` or `dictmagic.ObjectDict`

allows accessing elements of a dictionary as `object.key` instead of `object['key']`

why is this useful when you can just dump it into `object.__dict__` ?
primarily because doing that will make copying your dict rather difficult without ending up with somewhat of a mess.

# misc
originally developed by @mivanit for a config manager, then moved to [knc-tools](https://github.com/knc-neural-calculus/knc-tests) for a time. Check out that repo for more weird tools.

PRs and feature requests welcome!
tubex 0.3.0
Command Line Interface to download MP3 from youtube and MP4 from oreilly
Requires Python: >=3.7

# Tubex

A simple Command Line Interface to download mp3 from youtube and mp4 from oreilly.

```
tubex download-mp3 <youtube_playlist_url> --album <album_name> --artist <artist_name>
tubex --username <username> --password <password> download-oreilly <oreilly_learning_url>
```

## Example
```bash

# To learn more about pipx: https://github.com/pipxproject/pipx
$ pipx install tubex
$ pipx upgrade tubex

# Download mp3
$ tubex download-mp3 \
    https://www.youtube.com/playlist?list=PLSdmnemG6jbv1-GRf23jwDsYWkjz7mblP \
    --album test --artist mixed
 
# Enjoy the music (e.g using `vlc`)
$ vlc tubex_out

# Download mp4 (video) 
$ tubex --outdir 20210110 download-mp4 https://www.youtube.com/watch?v=aUrmkKDJ1t8

# Download oreilly
$ tubex --username <username> --password <password> \
    download-oreilly https://learning.oreilly.com/videos/modern-python-livelessons/9780134743400
    
# Enjoy learning
$ vlc tubex_out/Modern_Python_LiveLessons_-_Big_Ideas_and_Little_Code_in_Python/

```