Monkeytype.py

Latest version: v1.0rc1

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

Scan your dependencies

1.0rc1

* The `Client` class has now been removed
* New internal `Request` class to handle requests

With these changes, your code can go from looking like this:
py
import monkeytype

client = monkeytype.Client(api_key="API_KEY")
user = monkeytype.User(client=client, user="maksims")

if user.is_banned:
pass


To this:
py
import monkeytype

monkeytype.api_key = "YOUR_API_KEY"
user = monkeytype.User(username="maksims")

if user.is_banned:
pass


A lot less confusing and a lot more easier!

**Full Changelog**: https://github.com/m2ksims/monkeytype.py/compare/v0.1a4...v1.0rc1

0.1a4

Fixed:
* setup.py not install `install_requires`

**Full Changelog**: https://github.com/m2ksims/monkeytype.py/compare/v0.1a3...v0.1a4

0.1a3

🔧 This is the beginning of monkeytype.py, a python wrapper built around the Monkeytype API.

As of now, I have created a simple `User` model which can be used to retrieve information about a user who is signed up to monkeytype.com, for example:
py
import monkeytype

client = monkeytype.Client(api_key="API_KEY_HERE")
user = monkeytype.User(
client=client,
username="maksims"
)

if user.is_banned:
print(f"{user.username} is banned from monkeytype.com!")


**Full Changelog**: https://github.com/m2ksims/monkeytype.py/commits/v0.1a3

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.