Drop-mod

Latest version: v2.2.0

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

Scan your dependencies

Page 1 of 3

2.2.0

it's been what, like, 8-9 months since I pushed a main release of this library?
this time it's nothing *new*, just fixing what broke during that time.

Changelog
- **Fixed fetching Genius lyrics**, it no longer throws a `RecursionError` exception
- **Fixed Genius lyrics having random crap** as a prefix and a suffix, no longer does the lyric string have `(Title Name) Lyrics` at the beginning and `2Embed` (or any number) at the end of everything.
- **Fixed Tumblr not working**, turns out it does not like `aiohttp`'s default user agents.
- **Fixed cat image fetching**

*this is like my third time publishing this release now, i forgot how to github please help*

2.2.0rc1

been months since I've given this an update, mostly got bored of writing... nothing.
really, after the death of drop-discord I just stopped caring about this. this project's death is unfortunately near.
**ANYWAY**, not that matters to you.

Changelog
**Fixed fetching Genius lyrics**, it no longer throws a `RecursionError` exception
**Fixed Tumblr not working**, turns out it does not like `aiohttp`'s default user agents.
**Fixed cat image fetching**

There are still some broken things, hence why it's a prerelease.

2.1.1

That's literally it.
py
from drop.ext import random_tumblr_image
post = await random_tumblr_image('never-obsolete')
post.image https://64.media.tumblr.com/f2b6e7c7541b14d5b10d58db95ee10e6/a440fb2993625e55-c9/s640x960/c1b42e38d66a64a9e20fc6430b71921d65021121.jpg
post.url https://never-obsolete.tumblr.com/post/657527285284519936

2.0.2

- fixed todo not working properly
- added markdown license links

2.0.1

its literally just an update that adds `dog_image()`

2.0

*Okay, that's not 100% true. Some things, like rules, still do use dictionaries.* But hey, a lot of things are now their own dedicated classes!

What's with the new major version?
Some things have been reworked. Yeah, some. Okay, I lied, maybe a bit more things. Yeah.
... Okay fine, most things inside drop-mod now use classes instead of dictionaries (warns, mutes, todo lists, lyrics, search results, tempbans).
That's why.

Changelog
Just a few things, uh let's get started.
- `search()` no longer uses DuckDuckGo only
Drop now tries fetching an [Instant Answer](https://duckduckgo.com/api) from DuckDuckGo. If it cannot find such thing, it'll then use Qwant to get, well, search results, like one would expect when using, say, Google. *And no, I won't use Google; it's not quite privacy friendly.*
- **HTTP requests now use aiohttp and async**.
No more pausing your entire bot just because one tried looking up song lyrics, Internet searches, or their favorite Steam game.
- **Less dependencies**: DuckDuckPy and LyricsGenius are no longer needed.
Drop does it by itself now. ~~Like a big boy.~~
- **Warns now use their own classes** instead of dictionaries.
That being said, you can still use them as dictionaries, as some sort of legacy resort thing, although I wouldn't do that if I were you.
- **`offender_name` in warns is now deprecated**
Not that it's a feature or anything, I just didn't find any good use cases for this thing. Oh and I just thought I'd let you know.
- **Completely reworked lyrics**
No longer will you have to specify both title *and* artist. Now you can just look up `in the end linkin park` or something, instead of having to specify title and artist. *That being said, you can still be a masochist and do `Song Title - Song Artist`, Genius should be able to understand it.*
- **Removed the GUI**
Did anyone even use it? It's so bad, I didn't know how to make a GUI. And I still don't. But anyway, it's gotten to the point where I just never updated it.
- **Urban Dictionary functions**
Yeah, now there's Urban Dictionary functions. So you can finally learn what "sempiternal" means. Or some other more obscure NSFW stuff if you're into that. *I hope you're not.* Or alternatively, you can learn a new random word.
- **catto image**
yay function to get random kity image: :))))

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.