Gists.py

Latest version: v1.2.6

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

Scan your dependencies

Page 1 of 2

1.2.6

Changelog
New Features
- Give users an option to pass in URL aswell as ID of a gist when getting, editing or deleting gists from Client
---
Diff: https://github.com/WitherredAway/gists.py/compare/v1.2.5...v1.2.6

v.1.2.5
Changelog
Changes
- Ability to make changes to gist by making changes to the object's attributes and then calling the `edit` method with no arguments (https://github.com/WitherredAway/gists.py/compare/v1.2.5?expand=1#diff-1abde9d3b5103fb6e8491bcf7eb0d5ca49063d0095f0f09b56fe5bfdaa917251)
- New GistException exception
---
**Full Changelog**: https://github.com/WitherredAway/gists.py/compare/v1.2.4...v.1.2.5

1.2.4

What's Changed
* v1.2.4 by WitherredAway in https://github.com/WitherredAway/gists.py/pull/1

**Full Changelog**: https://github.com/WitherredAway/gists.py/compare/v1.2.3...v1.2.4

1.2.3

Changelog
New Features
- Better exception raising (some exceptions are raised with more specificity)
---
Bug fixes
- Fixed a bug introduced in the previous release regarding json conversion which would prevent actions like deleting gists
- Fixed a bug in the [README.md] tutorial where the `files` argument of create_gist should be a keyword argument
---
Diff: https://github.com/WitherredAway/gists.py/compare/v1.2.2...v1.2.3

1.2.2

Changelog
New features
- New GistException exception class, which every exception subclasses from.
- New DataFetchError exception class, raised when something goes wrong during requesting data
---
Patches
- Refactored the code of the requests method of the Client class
- Refactored the code of the HTTPException class
---
Diff: https://github.com/WitherredAway/gists.py/compare/v1.2.1...v1.2.2

1.2.1

**Full Changelog**: https://github.com/WitherredAway/gists.py/compare/v1.2.0...v1.2.1

1.2.0

Changelog
New features
- Add File object for easier manipulation of files of a gist (See [README.md](https://github.com/WitherredAway/gists.py/blob/5be7d04da74a80a974fafeeb8d3ab89bd0f21fbe/README.md) for updated examples)
- Gist attributes are now properly set instead of updating the internal dict
- Gist.files is now a list of File objects representing the files of the gist
- Gist.created_at is now a datetime.datetime object representing the time the gist was created at
- Gist.updated_at is now a datetime.datetime object representing the time the gist was last updated at
---
Bug fixes
- Fix a missed rename of the `fetch_gist_data` method
- Remove `del self` in Gist.delete because deleting self does not work
---
Diff: https://github.com/WitherredAway/gists.py/compare/v1.1.0...v1.2.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.