semvec/pypi-packages huggingface dataset:
wagtail-automatic-redirects 1.1.5
Helpers for Wagtail Redirects
Requires Python: >=3.6

# wagtail-automatic-redirects

Package to help with Wagtail URL redirects. Wagtail comes with a [redirects app](https://docs.wagtail.io/en/stable/editor_manual/managing_redirects.html) which helps to manually create redirects in Wagtail admin. This helper app helps to automatically create redirects when the URL of Page is changed. Redirects will be created for the page and all its child pages automatically. This project uses the page revisions and publish signal to automate the redirects creation process.

## Installation

`pip install wagtail-automatic-redirects`

Add the package to your project's settings

```python
INSTALLED_APPS = [
    # ... Other apps
    "wagtail_automatic_redirects",
    "wagtail.contrib.redirects",
    # ... Other apps
]
```

Make sure the `INSTALLED_APPS` setting include `"wagtail.contrib.redirects",` app from Wagtail.

Also, check the `MIDDLEWARE` setting include

```python
MIDDLEWARE = [
    # ... Other middlewares
    "wagtail.contrib.redirects.middleware.RedirectMiddleware",
    # ... Other middlewares
]
```

## License

[BSD](https://github.com/themotleyfool/wagtail-automatic-redirects/blob/master/LICENSE)
botw-havok 0.3.18
A library for manipulating Breath of the Wild Havok packfiles
Requires Python: >=3.6

# botw_havok

### A library for manipulating Breath of the Wild Havok packfiles.

```py
"""
Removing a RigidBody
"""

from botw_havok import Havok

hk = Havok.from_file('/mnt/hdd/A-1-0.shksc')  # can also be Yaz0 compressed
hk.deserialize()
del hk.files[1].data.contents[0].namedVariants[0].variant.systems[0].rigidBodies[-1]
hk.serialize()
hk.to_file('/mnt/hdd/A-1-0_edited.hksc')
```

```py
"""
Converting between formats
"""

from botw_havok import Havok

hk0 = Havok.from_file('/mnt/hdd/0-0.shktmrb')
hk0.deserialize()
hk0.to_json('/mnt/hdd/0-0.json')

hk1 = Havok.from_json('/mnt/hdd/0-0.json')
hk1.to_wiiu()  # or hk1.to_switch()
hk1.serialize()
hk1.to_file('/mnt/hdd/0-0_nx.hktmrb')
```

```py
"""
Comparing contents
"""

from botw_havok import Havok

hk0 = Havok.from_file('/mnt/hdd/E-4-1_u.shksc')
hk1 = Havok.from_file('/mnt/hdd/E-4-1_nx.shksc')

hk0.deserialize()
hk1.deserialize()

hk0.files[1].data.contents == hk1.files[1].data.contents
```

---

<br/>

This library comes with these commands:
* `hk_to_json`: Havok packfile -> JSON
* `json_to_hk`: JSON -> Havok packfile
* `hk_compare`: Compare two or more packfiles
* `hkrb_extract`: Extract shapes from Static Compound files by HashId
* `hksc_to_hkrb`: Convert all Static Compound shapes into a single HKRB

<br/>

---

<br/>

* At the moment, only Havok Physics files (*.hksc, *.hkrb, *.hktmrb) can be read.

* Most of the smaller ones deserialize and serialize flawlessly and the resulting packfiles are nearly identical to the originals.

* The larger files (particularly StaticCompound ones) are usually smaller than the originals after serialization. That's caused by the originals having duplicate Havok objects that are removed and referenced instead.
streamlit-disqus 0.1.3
A streamlit component to embed Disqus in your applications.
Requires Python: >=3.6

# Streamlit Disqus

[![Open in Streamlit][share_badge]][share_link] [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] 

## Installation

```sh
pip install streamlit-disqus
```

## Quick usage

```python
from streamlit_disqus import st_disqus

st_disqus("streamlit-disqus-demo")
```

## Demo

Interested to see Streamlit Disqus in action? You can try it out now in [Streamlit Sharing][share_link]!

Demo's **source code** and component's **documentation** are also available there.

[![Demo preview][share_img]][share_link]


[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_link]: https://share.streamlit.io/okld/streamlit-disqus-demo/main/app.py
[share_src]: https://github.com/okld/streamlit-disqus-demo/blob/main/app.py
[share_img]: https://raw.githubusercontent.com/okld/streamlit-disqus-demo/main/app.png

[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/okld/streamlit-disqus

[pypi_badge]: https://badgen.net/pypi/v/streamlit-disqus?icon=pypi&color=black&label
[pypi_link]: https://pypi.org/project/streamlit-disqus
streamlit-player 0.1.5
A streamlit component to embed video and music players from various websites.
Requires Python: >=3.6

# Streamlit Player

[![Open in Streamlit][share_badge]][share_link] [![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] 

## Installation

```sh
pip install streamlit-player
```

## Quick usage

```python
from streamlit_player import st_player

# Embed a youtube video
st_player("https://youtu.be/CmSKVW1v0xM")

# Embed a music from SoundCloud
st_player("https://soundcloud.com/imaginedragons/demons")
```

## Demo

Interested to see Streamlit Player in action? You can try it out now in [Streamlit Sharing][share_link]!

Demo's **source code** and component's **documentation** are also available there.

[![Demo preview][share_img]][share_link]


[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg
[share_link]: https://share.streamlit.io/okld/streamlit-player-demo/main/app.py
[share_src]: https://github.com/okld/streamlit-player-demo/blob/main/app.py
[share_img]: https://raw.githubusercontent.com/okld/streamlit-player-demo/main/app.png

[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/okld/streamlit-player

[pypi_badge]: https://badgen.net/pypi/v/streamlit-player?icon=pypi&color=black&label
[pypi_link]: https://pypi.org/project/streamlit-player