scratchattach 2.1.9__py3-none-any.whl → 2.1.10a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. scratchattach/__init__.py +28 -25
  2. scratchattach/cloud/__init__.py +2 -0
  3. scratchattach/cloud/_base.py +454 -282
  4. scratchattach/cloud/cloud.py +171 -168
  5. scratchattach/editor/__init__.py +21 -0
  6. scratchattach/editor/asset.py +199 -0
  7. scratchattach/editor/backpack_json.py +117 -0
  8. scratchattach/editor/base.py +142 -0
  9. scratchattach/editor/block.py +507 -0
  10. scratchattach/editor/blockshape.py +353 -0
  11. scratchattach/editor/build_defaulting.py +47 -0
  12. scratchattach/editor/comment.py +74 -0
  13. scratchattach/editor/commons.py +243 -0
  14. scratchattach/editor/extension.py +43 -0
  15. scratchattach/editor/field.py +90 -0
  16. scratchattach/editor/inputs.py +132 -0
  17. scratchattach/editor/meta.py +106 -0
  18. scratchattach/editor/monitor.py +175 -0
  19. scratchattach/editor/mutation.py +317 -0
  20. scratchattach/editor/pallete.py +91 -0
  21. scratchattach/editor/prim.py +170 -0
  22. scratchattach/editor/project.py +273 -0
  23. scratchattach/editor/sbuild.py +2837 -0
  24. scratchattach/editor/sprite.py +586 -0
  25. scratchattach/editor/twconfig.py +113 -0
  26. scratchattach/editor/vlb.py +134 -0
  27. scratchattach/eventhandlers/_base.py +99 -92
  28. scratchattach/eventhandlers/cloud_events.py +110 -103
  29. scratchattach/eventhandlers/cloud_recorder.py +26 -21
  30. scratchattach/eventhandlers/cloud_requests.py +460 -452
  31. scratchattach/eventhandlers/cloud_server.py +246 -244
  32. scratchattach/eventhandlers/cloud_storage.py +135 -134
  33. scratchattach/eventhandlers/combine.py +29 -27
  34. scratchattach/eventhandlers/filterbot.py +160 -159
  35. scratchattach/eventhandlers/message_events.py +41 -40
  36. scratchattach/other/other_apis.py +284 -212
  37. scratchattach/other/project_json_capabilities.py +475 -546
  38. scratchattach/site/_base.py +64 -46
  39. scratchattach/site/activity.py +414 -122
  40. scratchattach/site/backpack_asset.py +118 -84
  41. scratchattach/site/classroom.py +430 -142
  42. scratchattach/site/cloud_activity.py +107 -103
  43. scratchattach/site/comment.py +220 -190
  44. scratchattach/site/forum.py +400 -399
  45. scratchattach/site/project.py +806 -787
  46. scratchattach/site/session.py +1134 -867
  47. scratchattach/site/studio.py +611 -609
  48. scratchattach/site/user.py +835 -837
  49. scratchattach/utils/commons.py +243 -148
  50. scratchattach/utils/encoder.py +157 -156
  51. scratchattach/utils/enums.py +197 -190
  52. scratchattach/utils/exceptions.py +233 -206
  53. scratchattach/utils/requests.py +67 -59
  54. {scratchattach-2.1.9.dist-info → scratchattach-2.1.10a1.dist-info}/METADATA +155 -146
  55. scratchattach-2.1.10a1.dist-info/RECORD +62 -0
  56. {scratchattach-2.1.9.dist-info → scratchattach-2.1.10a1.dist-info}/WHEEL +1 -1
  57. {scratchattach-2.1.9.dist-info → scratchattach-2.1.10a1.dist-info/licenses}/LICENSE +21 -21
  58. scratchattach-2.1.9.dist-info/RECORD +0 -40
  59. {scratchattach-2.1.9.dist-info → scratchattach-2.1.10a1.dist-info}/top_level.txt +0 -0
scratchattach/__init__.py CHANGED
@@ -1,25 +1,28 @@
1
- from .cloud.cloud import ScratchCloud, TwCloud, get_cloud, get_scratch_cloud, get_tw_cloud
2
- from .cloud._base import BaseCloud
3
-
4
- from .eventhandlers.cloud_server import init_cloud_server
5
- from .eventhandlers._base import BaseEventHandler
6
- from .eventhandlers.filterbot import Filterbot, HardFilter, SoftFilter, SpamFilter
7
- from .eventhandlers.cloud_storage import Database
8
- from .eventhandlers.combine import MultiEventHandler
9
-
10
- from .other.other_apis import *
11
- from .other.project_json_capabilities import ProjectBody, get_empty_project_pb, get_pb_from_dict, read_sb3_file, download_asset
12
- from .utils.encoder import Encoding
13
- from .utils.enums import Languages, TTSVoices
14
-
15
- from .site.activity import Activity
16
- from .site.backpack_asset import BackpackAsset
17
- from .site.comment import Comment
18
- from .site.cloud_activity import CloudActivity
19
- from .site.forum import ForumPost, ForumTopic, get_topic, get_topic_list, youtube_link_to_scratch
20
- from .site.project import Project, get_project, search_projects, explore_projects
21
- from .site.session import Session, login, login_by_id, login_by_session_string
22
- from .site.studio import Studio, get_studio, search_studios, explore_studios
23
- from .site.classroom import Classroom, get_classroom
24
- from .site.user import User, get_user
25
- from .site._base import BaseSiteComponent
1
+ from .cloud.cloud import ScratchCloud, TwCloud, get_cloud, get_scratch_cloud, get_tw_cloud
2
+ from .cloud._base import BaseCloud, AnyCloud
3
+
4
+ from .eventhandlers.cloud_server import init_cloud_server
5
+ from .eventhandlers._base import BaseEventHandler
6
+ from .eventhandlers.filterbot import Filterbot, HardFilter, SoftFilter, SpamFilter
7
+ from .eventhandlers.cloud_storage import Database
8
+ from .eventhandlers.combine import MultiEventHandler
9
+
10
+ from .other.other_apis import *
11
+ from .other.project_json_capabilities import ProjectBody, get_empty_project_pb, get_pb_from_dict, read_sb3_file, download_asset
12
+ from .utils.encoder import Encoding
13
+ from .utils.enums import Languages, TTSVoices
14
+ from .utils.exceptions import LoginDataWarning
15
+
16
+ from .site.activity import Activity
17
+ from .site.backpack_asset import BackpackAsset
18
+ from .site.comment import Comment
19
+ from .site.cloud_activity import CloudActivity
20
+ from .site.forum import ForumPost, ForumTopic, get_topic, get_topic_list, youtube_link_to_scratch
21
+ from .site.project import Project, get_project, search_projects, explore_projects
22
+ from .site.session import Session, login, login_by_id, login_by_session_string
23
+ from .site.studio import Studio, get_studio, search_studios, explore_studios
24
+ from .site.classroom import Classroom, get_classroom
25
+ from .site.user import User, get_user
26
+ from .site._base import BaseSiteComponent
27
+
28
+ from . import editor
@@ -0,0 +1,2 @@
1
+ from .cloud import *
2
+ from ._base import *