Tixte.py

Latest version: v1.0.3

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

Scan your dependencies

1.0.3

Bumped the `aiohttp` dependency for the library and updated the `Upload` and `Domain` objects for new API updates. Coming in the next release will be a larger quality of life update for the library.

Changelog
**Full Changelog**: https://github.com/trevorflahardy/tixte.py/compare/v1.0.2...v1.0.3

1.0.2

Tixte has been hard at work updating some of their endpoints. The most significant change relates to the upload endpoint for an existing file. This update provides optimizations to the backend of this endpoint while providing new options when uploading.

Changelog
- `Client.event` has been renamed to `Client.listen`. Note this is a breaking change.
- `Client.wait_for` has been added for listening for a specific event.
- A new `UploadType` enum has been created.
- Updated `Client.upload` to accept the `UploadType` enum as a parameter, this allows for private uploads.
- Corrected internally how `JSON` data is parsed when making an HTTP request.

Note
The pypi has been moved from `tixte` to `tixte.py`, you will not see versions before 1.0.2 there.

The documentation has been updated to review these changes. If you find any issues please bring them up in the discussion created with this release.

**Full Changelog**: https://github.com/NextChai/tixte.py/compare/1.0...v1.0.1

1.0

What's Changed
* Added many new methods and endpoints
* Added new Enums and new attributes to almost all classes
* Added support for editing an upload's permissions
* PartialUpload has received a major update with new methods
* Add updated and better documentation
* And more

**Full Changelog**: https://github.com/NextChai/tixte.py/compare/0.0.6...1.0

0.0.6

Fixed issue:

python
File "C:\Users\person\AppData\Local\Programs\Python\Python38\lib\site-packages\tixte\__init__.py", line 7, in <module>
from .client import *
File "C:\Users\person\AppData\Local\Programs\Python\Python38\lib\site-packages\tixte\client.py", line 25, in <module>
from .http import HTTP
File "C:\Users\person\AppData\Local\Programs\Python\Python38\lib\site-packages\tixte\http.py", line 45, in <module>
from . import utils, __version__
File "C:\Users\person\AppData\Local\Programs\Python\Python38\lib\site-packages\tixte\utils.py", line 29, in <module>
def to_json(string: str) -> dict[Any, Any]:
TypeError: 'type' object is not subscriptable

0.0.5

We've gotten around to rate limiting! Upon reaching a rate limit, the request will wait until there is no more limit and then complete itself. This is automatic and you do not need to set it up in any way.

- I've added the functionality to save User's avatar's to **File** objects, and changed a func name in the client. It went from **file_from_url** to **url_to_file**, it made more sense.

- I've also made it so the domain with the most amount of uploads gets defaulted instead of the first domain in the array.



As always, if you run into any bugs let us know via PR!

0.0.4

We'll be adding more support for endpoints in the next couple of days. We may have to change our method of oAuth in order to do so.

We've added support for fetching your ClientUser, but not other users yet. This should be added soon with a lot of other stuff. Feel free to check out anything else in the `To-Do` project on this github.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.