lovekit 2.0.0__tar.gz → 3.0.0__tar.gz

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.
@@ -1,12 +1,14 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lovekit
3
- Version: 2.0.0
3
+ Version: 3.0.0
4
4
  Author-email: jhnnsrs <jhnnsrs@gmail.com>
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: aiohttp<4,>=3.9.5
7
+ Requires-Dist: arkitekt-spec>=1.1.1
8
+ Requires-Dist: fakts>=4
7
9
  Requires-Dist: livekit>=0.16.3
8
10
  Requires-Dist: rath>=4
9
- Requires-Dist: rekuest>=4
11
+ Requires-Dist: websockets>=15.0.1
10
12
  Description-Content-Type: text/markdown
11
13
 
12
14
  # lovekit
@@ -0,0 +1,3 @@
1
+ # The service is declared with arkitekt-spec, a core dependency: it is always there.
2
+ from .arkitekt import lovekit as lovekit_service
3
+
@@ -1,7 +1,8 @@
1
+ import builtins
1
2
  from enum import Enum
2
3
  from pydantic import AliasChoices, BaseModel, ConfigDict, Field
3
4
  from rath.scalars import ID, IDCoercible
4
- from typing import Annotated, Any, Literal
5
+ from typing import Annotated, Literal
5
6
 
6
7
 
7
8
  class GraphQLDefault:
@@ -501,8 +502,8 @@ class LovekitApi:
501
502
  Returns:
502
503
  SoloBroadcast
503
504
  """
504
- variables: dict[str, Any] = {}
505
- _input: dict[str, Any] = {}
505
+ variables: dict[str, builtins.object] = {}
506
+ _input: dict[str, builtins.object] = {}
506
507
  if instance_id is not UNSET:
507
508
  _input["instanceId"] = instance_id
508
509
  if title is not UNSET:
@@ -528,8 +529,8 @@ class LovekitApi:
528
529
  Returns:
529
530
  SoloBroadcast
530
531
  """
531
- variables: dict[str, Any] = {}
532
- _input: dict[str, Any] = {}
532
+ variables: dict[str, builtins.object] = {}
533
+ _input: dict[str, builtins.object] = {}
533
534
  if instance_id is not UNSET:
534
535
  _input["instanceId"] = instance_id
535
536
  if title is not UNSET:
@@ -557,8 +558,8 @@ class LovekitApi:
557
558
  Returns:
558
559
  str
559
560
  """
560
- variables: dict[str, Any] = {}
561
- _input: dict[str, Any] = {}
561
+ variables: dict[str, builtins.object] = {}
562
+ _input: dict[str, builtins.object] = {}
562
563
  if broadcast is not UNSET:
563
564
  _input["broadcast"] = broadcast
564
565
  _input["kind"] = kind
@@ -585,8 +586,8 @@ class LovekitApi:
585
586
  Returns:
586
587
  str
587
588
  """
588
- variables: dict[str, Any] = {}
589
- _input: dict[str, Any] = {}
589
+ variables: dict[str, builtins.object] = {}
590
+ _input: dict[str, builtins.object] = {}
590
591
  if broadcast is not UNSET:
591
592
  _input["broadcast"] = broadcast
592
593
  _input["kind"] = kind
@@ -608,7 +609,7 @@ class LovekitApi:
608
609
  Returns:
609
610
  CollaborativeBroadcast
610
611
  """
611
- variables: dict[str, Any] = {}
612
+ variables: dict[str, builtins.object] = {}
612
613
  variables["id"] = id
613
614
  return (
614
615
  await self.aexecute(GetCollaborativeBroadcastQuery, variables)
@@ -625,7 +626,7 @@ class LovekitApi:
625
626
  Returns:
626
627
  CollaborativeBroadcast
627
628
  """
628
- variables: dict[str, Any] = {}
629
+ variables: dict[str, builtins.object] = {}
629
630
  variables["id"] = id
630
631
  return self.execute(
631
632
  GetCollaborativeBroadcastQuery, variables
@@ -647,7 +648,7 @@ class LovekitApi:
647
648
  Returns:
648
649
  list[SearchollaborativeBroadcastsQueryCollaborativeBroadcasts]
649
650
  """
650
- variables: dict[str, Any] = {}
651
+ variables: dict[str, builtins.object] = {}
651
652
  if search is not UNSET:
652
653
  variables["search"] = search
653
654
  if values is not UNSET:
@@ -672,7 +673,7 @@ class LovekitApi:
672
673
  Returns:
673
674
  list[SearchollaborativeBroadcastsQueryCollaborativeBroadcasts]
674
675
  """
675
- variables: dict[str, Any] = {}
676
+ variables: dict[str, builtins.object] = {}
676
677
  if search is not UNSET:
677
678
  variables["search"] = search
678
679
  if values is not UNSET:
@@ -695,7 +696,7 @@ class LovekitApi:
695
696
  Returns:
696
697
  list[CollaborativeBroadcast]
697
698
  """
698
- variables: dict[str, Any] = {}
699
+ variables: dict[str, builtins.object] = {}
699
700
  if filter is not UNSET:
700
701
  variables["filter"] = filter
701
702
  if pagination is not UNSET:
@@ -720,7 +721,7 @@ class LovekitApi:
720
721
  Returns:
721
722
  list[CollaborativeBroadcast]
722
723
  """
723
- variables: dict[str, Any] = {}
724
+ variables: dict[str, builtins.object] = {}
724
725
  if filter is not UNSET:
725
726
  variables["filter"] = filter
726
727
  if pagination is not UNSET:
@@ -740,7 +741,7 @@ class LovekitApi:
740
741
  Returns:
741
742
  SoloBroadcast
742
743
  """
743
- variables: dict[str, Any] = {}
744
+ variables: dict[str, builtins.object] = {}
744
745
  variables["id"] = id
745
746
  return (await self.aexecute(GetSoloBroadcastQuery, variables)).solo_broadcast
746
747
 
@@ -755,7 +756,7 @@ class LovekitApi:
755
756
  Returns:
756
757
  SoloBroadcast
757
758
  """
758
- variables: dict[str, Any] = {}
759
+ variables: dict[str, builtins.object] = {}
759
760
  variables["id"] = id
760
761
  return self.execute(GetSoloBroadcastQuery, variables).solo_broadcast
761
762
 
@@ -775,7 +776,7 @@ class LovekitApi:
775
776
  Returns:
776
777
  list[SearchSoloBroadcastQuerySoloBroadcasts]
777
778
  """
778
- variables: dict[str, Any] = {}
779
+ variables: dict[str, builtins.object] = {}
779
780
  if search is not UNSET:
780
781
  variables["search"] = search
781
782
  if values is not UNSET:
@@ -798,7 +799,7 @@ class LovekitApi:
798
799
  Returns:
799
800
  list[SearchSoloBroadcastQuerySoloBroadcasts]
800
801
  """
801
- variables: dict[str, Any] = {}
802
+ variables: dict[str, builtins.object] = {}
802
803
  if search is not UNSET:
803
804
  variables["search"] = search
804
805
  if values is not UNSET:
@@ -821,7 +822,7 @@ class LovekitApi:
821
822
  Returns:
822
823
  list[SoloBroadcast]
823
824
  """
824
- variables: dict[str, Any] = {}
825
+ variables: dict[str, builtins.object] = {}
825
826
  if filter is not UNSET:
826
827
  variables["filter"] = filter
827
828
  if pagination is not UNSET:
@@ -844,7 +845,7 @@ class LovekitApi:
844
845
  Returns:
845
846
  list[SoloBroadcast]
846
847
  """
847
- variables: dict[str, Any] = {}
848
+ variables: dict[str, builtins.object] = {}
848
849
  if filter is not UNSET:
849
850
  variables["filter"] = filter
850
851
  if pagination is not UNSET:
@@ -862,7 +863,7 @@ class LovekitApi:
862
863
  Returns:
863
864
  Stream
864
865
  """
865
- variables: dict[str, Any] = {}
866
+ variables: dict[str, builtins.object] = {}
866
867
  variables["id"] = id
867
868
  return (await self.aexecute(GetStreamQuery, variables)).stream
868
869
 
@@ -877,7 +878,7 @@ class LovekitApi:
877
878
  Returns:
878
879
  Stream
879
880
  """
880
- variables: dict[str, Any] = {}
881
+ variables: dict[str, builtins.object] = {}
881
882
  variables["id"] = id
882
883
  return self.execute(GetStreamQuery, variables).stream
883
884
 
@@ -897,7 +898,7 @@ class LovekitApi:
897
898
  Returns:
898
899
  list[SearchStreamsQueryStreams]
899
900
  """
900
- variables: dict[str, Any] = {}
901
+ variables: dict[str, builtins.object] = {}
901
902
  if search is not UNSET:
902
903
  variables["search"] = search
903
904
  if values is not UNSET:
@@ -920,7 +921,7 @@ class LovekitApi:
920
921
  Returns:
921
922
  list[SearchStreamsQueryStreams]
922
923
  """
923
- variables: dict[str, Any] = {}
924
+ variables: dict[str, builtins.object] = {}
924
925
  if search is not UNSET:
925
926
  variables["search"] = search
926
927
  if values is not UNSET:
@@ -943,7 +944,7 @@ class LovekitApi:
943
944
  Returns:
944
945
  list[Stream]
945
946
  """
946
- variables: dict[str, Any] = {}
947
+ variables: dict[str, builtins.object] = {}
947
948
  if filter is not UNSET:
948
949
  variables["filter"] = filter
949
950
  if pagination is not UNSET:
@@ -966,7 +967,7 @@ class LovekitApi:
966
967
  Returns:
967
968
  list[Stream]
968
969
  """
969
- variables: dict[str, Any] = {}
970
+ variables: dict[str, builtins.object] = {}
970
971
  if filter is not UNSET:
971
972
  variables["filter"] = filter
972
973
  if pagination is not UNSET:
@@ -14,8 +14,8 @@ from rath.links.aiohttp import AIOHttpLink
14
14
  from rath.links.graphql_ws import GraphQLWSLink
15
15
  from rath.links.split import SplitLink
16
16
 
17
- from rekuest.app import AppRegistry
18
- from rekuest.widgets import SearchWidget
17
+ from arkitekt_spec.declare.app import AppRegistry
18
+ from arkitekt_spec.declare.widgets import SearchWidget
19
19
 
20
20
  from lovekit.api.schema import (
21
21
  SearchSoloBroadcastQuery,
@@ -9,7 +9,12 @@ dependencies = [
9
9
  "aiohttp>=3.9.5,<4",
10
10
  "livekit>=0.16.3",
11
11
  "rath>=4",
12
- "rekuest>=4",
12
+ # The service and structures are declared with arkitekt-spec.
13
+ "arkitekt-spec>=1.1.1",
14
+ # The GraphQL-WS link the client subscribes through; it came through rekuest before.
15
+ "websockets>=15.0.1",
16
+ # The service wiring (Alias, Require, FaktsAuthLink); it came through rekuest before.
17
+ "fakts>=4",
13
18
  ]
14
19
 
15
20
  [project.optional-dependencies]
@@ -1,14 +0,0 @@
1
- try:
2
- from .arkitekt import lovekit as lovekit_service
3
- except ImportError as e:
4
- # Only "rekuest is not installed" may pass silently. Anything else that fails
5
- # to import here (a renamed query, a rekuest too old for what the module
6
- # needs) is a bug, and hiding it makes this package's service vanish
7
- # without a word. Whether it is installed is asked the plain way.
8
- try:
9
- import rekuest # noqa: F401 -- presence is the question
10
- except ImportError:
11
- pass
12
- else:
13
- raise e
14
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes