Atproto

Latest version: v0.0.55

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

Scan your dependencies

Page 8 of 18

06.05.2023

The first public release.

05.03.2024

* Add identity firehose message by MarshalX in https://github.com/MarshalX/atproto/pull/294
* Update lexicons fetched from d643b5b committed 2024-02-23T22:59:47Z by MarshalX in https://github.com/MarshalX/atproto/pull/293
* Update lexicons fetched from c7e6ef0 committed 2024-03-05T19:27:25Z by MarshalX in https://github.com/MarshalX/atproto/pull/295
* Fix typo in README by yallxe in https://github.com/MarshalX/atproto/pull/291

04.07.2024

**Breaking changes for Direct Messages. Now you must create a client with a chat proxy. See the updated [documentation](https://atproto.blue/en/latest/dm.html)**.

* Add automatically switching to PDS endpoint after login and session resume by MarshalX in https://github.com/MarshalX/atproto/pull/344
* Add atproto proxy and atproto labelers support by MarshalX in https://github.com/MarshalX/atproto/pull/345 and https://github.com/MarshalX/atproto/pull/351
* Add `BlobRef` representation conversations by MarshalX in https://github.com/MarshalX/atproto/pull/348
* Fix `BlobRef` creation for JSON representation by MarshalX in https://github.com/MarshalX/atproto/pull/340
* Fix `delete_post` example by MarshalX in https://github.com/MarshalX/atproto/pull/342
* Fix `repost` method by MarshalX in https://github.com/MarshalX/atproto/pull/343
* Bump urllib3 from 2.2.1 to 2.2.2 by dependabot in https://github.com/MarshalX/atproto/pull/346
* Update lexicons by MarshalX in https://github.com/MarshalX/atproto/pull/352, https://github.com/MarshalX/atproto/pull/350, https://github.com/MarshalX/atproto/pull/349, https://github.com/MarshalX/atproto/pull/347, https://github.com/MarshalX/atproto/pull/339, https://github.com/MarshalX/atproto/pull/337

04.02.2024

Syntax sugar for records is here! Check out how simple work with basic operations is:
python
from atproto import AtUri, Client, models

client = Client()
client.login('my-username', 'my-password')

get records list
posts = client.app.bsky.feed.post.list(client.me.did, limit=10)
for uri, post in posts.records.items():
print(uri, post.text)

get specific record
post = client.app.bsky.feed.post.get(client.me.did, AtUri.from_str(uri).rkey)
print(post.value.text)

create new record
post_record = models.AppBskyFeedPost.Record(text='test record namespaces', created_at=client.get_current_time_iso())
new_post = client.app.bsky.feed.post.create(client.me.did, post_record)
print(new_post)

delete record
deleted_post = client.app.bsky.feed.post.delete(client.me.did, AtUri.from_str(new_post.uri).rkey)
print(deleted_post)


**⚠️ Record models have been renamed from "Main" to "Record". Backward compatibility is provided but will be removed soon!**
**⚠️ Internals of High-Level Clients have been migrated to new syntax sugar. It could affect you because returned models are changed but the fields are the same.**

* Add record syntax sugar with get, list, create, and delete methods by MarshalX in https://github.com/MarshalX/atproto/pull/263
* Rename record models from "Main" to "Record" by MarshalX in https://github.com/MarshalX/atproto/pull/264
* Integrate syntax sugar for repo operations upon records by MarshalX in https://github.com/MarshalX/atproto/pull/266

03.06.2023

* Update changelog for v0.0.12 by MarshalX in https://github.com/MarshalX/atproto/pull/58
* Update lexicons (add admin.rebaseRepo) fetched from 4a6c976 committed 2023-05-30T15:50:46Z by MarshalX in https://github.com/MarshalX/atproto/pull/59

02.12.2023

* Migrate firehose to new relay URI by MarshalX in https://github.com/MarshalX/atproto/pull/190
* Update lexicons fetched from 8d9b1f7 committed 2023-12-01T20:28:54Z by MarshalX in https://github.com/MarshalX/atproto/pull/189
* Update changelog for v0.0.30 by MarshalX in https://github.com/MarshalX/atproto/pull/184

Page 8 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.