./chat/py-mastodon, Python wrapper for the Mastodon API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.1nb1, Package name: py312-mastodon-1.8.1nb1, Maintainer: pkgsrc-users

Mastodon.py is a Python wrapper for the Mastodon social networking API.

It is feature complete for the public API as of Mastodon version 2.1.0.


Required to run:
[devel/py-setuptools] [time/py-dateutil] [time/py-pytz] [devel/py-decorator] [devel/py-requests] [lang/py-six] [sysutils/py-magic] [lang/python37] [www/py-http_ece] [graphics/py-blurhash]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

Filesize: 8490.585 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-18 11:06:20 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-mastodon: updated to 2.0.1

v2.0.1

Maintenance release. Fixes a few minor, but important, issues

* Remove spurious debug prints (Thanks aitorres)
* Fix pagination fetch_remaining being broken due to typing changes (Thanks jikamens)
* Fix pagination result parsing due to typing changes (Thanks hashier for the report)
* Fix pagination information not being saved with to/from_json functions

v2.0.0

* Absolutely massive rework of entities and typing. There are now proper classes \ 
for all entities, and typing is now used throughout the library. There is an \ 
attempt here to be backwards compatible, and none of my *tests* break.
* Documentation fixes based on the new entities and typing.
* Added information that streaming API access is now auth mandatory (Thanks \ 
@leahoswald)
* Removed six dependency, since we don't care about 2.x anymore (Thanks @a-detiste)
* Support level is now 4.3.0
* Note that logging in with passwords is deprecated and to be removed in 4.4.0
* Clarify the use of `code`  (Thanks @lasseedfast)
* Improved docstring for visibility (Thanks @ashwinvis)
* Added `offset` parameter to `trending_statuses` (Thanks @Teqed)
* We're now using space age technology (pyproject.toml - thanks @codl)
* Add py.typed marker (Thanks @ZeeD for the suggestion)
* Added CITATION.cff (Thanks @hauschke for the suggestion)
* Fixed a potential issue with modification to locals (Thanks Konano)
* Added support for 4.3.0 `accounts` endpoint (Thanks AlexKalopsia)
* Fix version parsing for GoToSocial (Thanks gmemstr)
* Updated docs to reflect the fact that startign with 4.4.0, the password grant \ 
type is no longer supported.
* Added support for following tags (`followed_tags`, `tag_follow`, \ 
`tag_unfollow`, `tag`)
* Fix library not working with -O2 (Thanks mirabilos for the report)
* Version check mode now defaults to "none", since it keeps causing \ 
more problems than it solves.
* Document `media` (Thanks LunarLambda for the report)
* Added json serialization and deserialization for returned entities
* Added missing event types and a catch-all event for streaming API
* Add v1 and v2 variants for `instance`
* Add canonical domain block support (`admin_canonical_email_blocks`, \ 
`admin_canonical_email_block`, `admin_canonical_email_block_create`, \ 
`admin_canonical_email_block_delete`)
* Add trending link timeline (`timeline_link`)
* Update suggestions endpoint and return value
* Add with_suspended parameter to account_relationships
* Add forward_to_domains parameter to reports
* Add `account_delete_avatar` and `account_delete_header`
* Add `statuses` method to retrieve multiple statuses at once
* Add automatic conversion of datetime objects to flake IDs for min/max/since_id \ 
fields where appropriate
* Add `notifications_unread_count`
* Add media attachment editing
* Add email domain blocking support (`admin_email_domain_blocks`, \ 
`admin_email_domain_block`, `admin_email_domain_block_create`, \ 
`admin_email_domain_block_delete`)
* Add `instance_extended_description`
* Add `instance_translation_languages`, translation support (`status_translate`)
* Add trend admin functions (`admin_trending_tags`, `admin_trending_statuses`, \ 
`admin_trending_links`, `admin_approve_trending_link`, \ 
`admin_reject_trending_link`, `admin_approve_trending_status`, \ 
`admin_reject_trending_status`, `admin_approve_trending_tag`, \ 
`admin_reject_trending_tag`)
* Add admin IP block functions (`admin_ip_blocks`, `admin_ip_block`, \ 
`admin_ip_block_create`, `admin_ip_block_delete`)
* Add `instance_domain_blocks`
* Add notification policy and requests (`notifications_policy`, \ 
`update_notifications_policy`, `notifications_requests`, `notification_request`, \ 
`accept_notification_request`, `reject_notification_request`, \ 
`notifications_merged`, `accept_multiple_notification_requests`, \ 
`dismiss_multiple_notification_requests`)
* Add `instance_languages`
* Add notification grouping (`grouped_notifications`, `grouped_notification`, \ 
`dismiss_grouped_notification`, `grouped_notification_accounts`, \ 
`unread_grouped_notifications_count`)
* Add v2 filer API (`filters_v2`, `filter_v2`, `create_filter_v2`, \ 
`update_filter_v2`, `delete_filter_v2`, `filter_keywords_v2`, \ 
`add_filter_keyword_v2`, `delete_filter_keyword_v2`, `filter_statuses_v2`, \ 
`add_filter_status_v2`, `filter_status_v2`, `delete_filter_status_v2`)
   2025-03-05 10:31:15 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-mastodon: fix wheel name for latest setuptools and depend on it

Bump PKGREVISION.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 10:08:36 by Nia Alarie | Files touched by this commit (3) | Package updated
Log message:
py-mastodon: update to 1.8.1

many changes, including "breaking changes". this one is needed by the
latest tootstream.
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-08-10 16:37:30 by Thomas Klausner | Files touched by this commit (4)
Log message:
py-mastodon: convert to wheel.mk

Add missing test dependencies.

Bump PKGREVISION.
   2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158)
Log message:
*: remove more references to Python 3.7
   2023-07-01 10:37:47 by Thomas Klausner | Files touched by this commit (105) | Package updated
Log message:
*: restrict py-numpy users to 3.9+ in preparation for update