Bruhanimate

Latest version: v0.2.90

Safety actively analyzes 682229 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.74

Added fireworks effect and it's corresponding demo.

It can be ran with the following:
python
from bruhanimate import firework_demo
firework_demo.run()


What's Changed
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/75


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.2.69...0.2.74

0.2.69

What's Changed
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/71
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/72
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/73
* Update README.md by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/74

Updated snow_effect, split apart different components into separate files.

**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.2.64...0.2.69

0.2.64

What's Changed
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/65
* refactor by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/66
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/67
* version bump by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/68
* Dev by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/70


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.2.49...0.2.64

Refactored the package. Renderers and Effects are seperated out into seperate files. Audio effect only eleigible for windows systems.

0.2.49

![chat_bot_demo](https://github.com/FNBBDevs/bruhanimate/assets/55725575/90243ce5-25bd-4d88-a737-de3fabcc191d)

What's Changed
* Chatbot Effect by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/64


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.2.33...0.2.49


OpenAI Support
python
from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen
import openai

def chat(screen: Screen):
. . .
client = openai.OpenAI(
api_key="<openai-api-key>"
)
renderer.effect.set_chatbot_properties(interface="openai", model="gpt-3.5-turbo", user="Ethan", client=client)
. . .

if __name__ == "__main__":
Screen.show(chat)


Azure OpenAI Support
python
from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen
import openai

def chat(screen: Screen):
. . .
client = AzureOpenAI(
api_key="<azure-openai-key>",
api_version="<azure-openai-version>",
azure_endpoint="<azure-openai-endpoint>"
)
renderer.effect.set_chatbot_properties(interface="openai", model="gpt-3.5-turbo", user="Ethan", client=client)
. . .

if __name__ == "__main__":
Screen.show(chat)


Ollama Support
python
from bruhanimate.bruhrenderer import EffectRenderer
from bruhanimate.bruhscreen import Screen

def chat(screen: Screen):
. . .
renderer.effect.set_chatbot_properties(interface="ollama", model="llama3", user="Ethan")
. . .

if __name__ == "__main__":
Screen.show(chat)

0.2.33

Updated the Matrix effect to look better and look more like that computer science matrix.

New Audio Effect to visualize Audio from Input Device. ( You can use a tool to route audio from playback to input)

[View on youtube here](https://youtu.be/gCfMS76ChLs)

python
from bruhanimate.bruhscreen import Screen
from bruhanimate.bruhrenderer import CenterRenderer
import bruhanimate.images as images
from bruhanimate import _GRADIENTS

import os

os.system(" ")


def audio(screen):
screen.set_title("Audio Effect")
renderer = CenterRenderer(
screen=screen,
img=images.text_to_image("AUDIO EFFECT!"),
frames=float("inf"),
time=0.01,
effect_type="audio",
background=" ",
transparent=False,
)

renderer.effect.set_audio_properties(num_bands=screen.width, audio_halt=5, use_gradient=True)
renderer.effect.set_audio_gradient(gradient=_GRADIENTS[0], mode="repeat")
renderer.effect.set_orientation("bottom")

renderer.update_exit_stats(wipe=True, centered=True)

renderer.run()


def run():
Screen.show(audio)


if __name__ == "__main__":
run()

0.1.92

What's Changed
* 0.1.92 by ethanlchristensen in https://github.com/FNBBDevs/bruhanimate/pull/47


**Full Changelog**: https://github.com/FNBBDevs/bruhanimate/compare/0.1.90...0.1.92

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.