fastpix-python 0.1.5__tar.gz → 0.1.7__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.
Files changed (27) hide show
  1. {fastpix_python-0.1.5/fastpix_python.egg-info → fastpix_python-0.1.7}/PKG-INFO +9 -5
  2. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/README.md +3 -3
  3. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/client.py +7 -1
  4. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/utilis/constants.py +1 -1
  5. {fastpix_python-0.1.5 → fastpix_python-0.1.7/fastpix_python.egg-info}/PKG-INFO +9 -5
  6. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/setup.py +7 -2
  7. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/LICENSE +0 -0
  8. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/__init__.py +0 -0
  9. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/__init__.py +0 -0
  10. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/api.py +0 -0
  11. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/client.py +0 -0
  12. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/live_streams.py +0 -0
  13. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/media.py +0 -0
  14. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/async_client/playback_ids.py +0 -0
  15. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/__init__.py +0 -0
  16. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/api.py +0 -0
  17. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/live_streams.py +0 -0
  18. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/media.py +0 -0
  19. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/client/playback_ids.py +0 -0
  20. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/utilis/__init__.py +0 -0
  21. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/utilis/exceptions.py +0 -0
  22. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix/utilis/utilis.py +0 -0
  23. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix_python.egg-info/SOURCES.txt +0 -0
  24. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix_python.egg-info/dependency_links.txt +0 -0
  25. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix_python.egg-info/requires.txt +0 -0
  26. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/fastpix_python.egg-info/top_level.txt +0 -0
  27. {fastpix_python-0.1.5 → fastpix_python-0.1.7}/setup.cfg +0 -0
@@ -1,10 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastpix_python
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: FastPix SDK with both sync and async support
5
- Home-page: https://github.com/fastpix-io/fastpix-python-server-sdk
5
+ Home-page: https://github.com/FastPix/fastpix-python
6
6
  Author: FastPix
7
7
  Author-email: dev@fastpix.io
8
+ Project-URL: GitHub, https://github.com/FastPix/fastpix-python
9
+ Project-URL: Website, https://fastpix.io
10
+ Project-URL: Dashboard, https://dashboard.fastpix.io
8
11
  Classifier: Development Status :: 3 - Alpha
9
12
  Classifier: Intended Audience :: Developers
10
13
  Classifier: License :: OSI Approved :: MIT License
@@ -25,6 +28,7 @@ Dynamic: description
25
28
  Dynamic: description-content-type
26
29
  Dynamic: home-page
27
30
  Dynamic: license-file
31
+ Dynamic: project-url
28
32
  Dynamic: provides-extra
29
33
  Dynamic: requires-dist
30
34
  Dynamic: requires-python
@@ -79,7 +83,7 @@ pip install git+https://github.com/FastPix/fastpix_python
79
83
  ### Importing the SDK
80
84
 
81
85
  ```python
82
- from fastpix_python import Client
86
+ from fastpix.client import Client
83
87
  ```
84
88
 
85
89
  ### Initialization:
@@ -87,7 +91,7 @@ from fastpix_python import Client
87
91
  Initialize the FastPix SDK with your API credentials.
88
92
 
89
93
  ```python
90
- from fastpix_python import Client
94
+ from fastpix.client import Client
91
95
 
92
96
  client = Client(username="your-access-token-id", password="your-secret-key")
93
97
  ```
@@ -99,7 +103,7 @@ Below is an example of configuring `FastPix Python SDK` into your project.
99
103
  `Note:-` For Async SDK Users: When using the AsyncClient, all SDK methods must be prefixed with the await keyword.
100
104
  ```python
101
105
  # Sync Usage
102
- from fastpix_python import Client
106
+ from fastpix.client import Client
103
107
 
104
108
  client = Client(username="your-access-token-id", password="your-secret-key")
105
109
 
@@ -47,7 +47,7 @@ pip install git+https://github.com/FastPix/fastpix_python
47
47
  ### Importing the SDK
48
48
 
49
49
  ```python
50
- from fastpix_python import Client
50
+ from fastpix.client import Client
51
51
  ```
52
52
 
53
53
  ### Initialization:
@@ -55,7 +55,7 @@ from fastpix_python import Client
55
55
  Initialize the FastPix SDK with your API credentials.
56
56
 
57
57
  ```python
58
- from fastpix_python import Client
58
+ from fastpix.client import Client
59
59
 
60
60
  client = Client(username="your-access-token-id", password="your-secret-key")
61
61
  ```
@@ -67,7 +67,7 @@ Below is an example of configuring `FastPix Python SDK` into your project.
67
67
  `Note:-` For Async SDK Users: When using the AsyncClient, all SDK methods must be prefixed with the await keyword.
68
68
  ```python
69
69
  # Sync Usage
70
- from fastpix_python import Client
70
+ from fastpix.client import Client
71
71
 
72
72
  client = Client(username="your-access-token-id", password="your-secret-key")
73
73
 
@@ -49,7 +49,13 @@ class Client:
49
49
  """
50
50
  try:
51
51
  # Attempt to fetch media to verify credentials
52
- response = self.media.get_all_media()
52
+ media_request_params = {
53
+ "limit": 10, # Number of media assets to fetch in one request
54
+ "offset": 1, # Starting position for the list of media assets
55
+ "orderBy": "desc" # Sort order for the media assets
56
+ }
57
+
58
+ response = self.media.get_all_media(params=media_request_params)
53
59
  return response
54
60
 
55
61
  except APIError as e:
@@ -1,4 +1,4 @@
1
- BASE_URL = "https://v1.fastpix.io"
1
+ BASE_URL = "https://api.fastpix.io/v1"
2
2
 
3
3
  import re
4
4
  import uuid
@@ -1,10 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastpix_python
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: FastPix SDK with both sync and async support
5
- Home-page: https://github.com/fastpix-io/fastpix-python-server-sdk
5
+ Home-page: https://github.com/FastPix/fastpix-python
6
6
  Author: FastPix
7
7
  Author-email: dev@fastpix.io
8
+ Project-URL: GitHub, https://github.com/FastPix/fastpix-python
9
+ Project-URL: Website, https://fastpix.io
10
+ Project-URL: Dashboard, https://dashboard.fastpix.io
8
11
  Classifier: Development Status :: 3 - Alpha
9
12
  Classifier: Intended Audience :: Developers
10
13
  Classifier: License :: OSI Approved :: MIT License
@@ -25,6 +28,7 @@ Dynamic: description
25
28
  Dynamic: description-content-type
26
29
  Dynamic: home-page
27
30
  Dynamic: license-file
31
+ Dynamic: project-url
28
32
  Dynamic: provides-extra
29
33
  Dynamic: requires-dist
30
34
  Dynamic: requires-python
@@ -79,7 +83,7 @@ pip install git+https://github.com/FastPix/fastpix_python
79
83
  ### Importing the SDK
80
84
 
81
85
  ```python
82
- from fastpix_python import Client
86
+ from fastpix.client import Client
83
87
  ```
84
88
 
85
89
  ### Initialization:
@@ -87,7 +91,7 @@ from fastpix_python import Client
87
91
  Initialize the FastPix SDK with your API credentials.
88
92
 
89
93
  ```python
90
- from fastpix_python import Client
94
+ from fastpix.client import Client
91
95
 
92
96
  client = Client(username="your-access-token-id", password="your-secret-key")
93
97
  ```
@@ -99,7 +103,7 @@ Below is an example of configuring `FastPix Python SDK` into your project.
99
103
  `Note:-` For Async SDK Users: When using the AsyncClient, all SDK methods must be prefixed with the await keyword.
100
104
  ```python
101
105
  # Sync Usage
102
- from fastpix_python import Client
106
+ from fastpix.client import Client
103
107
 
104
108
  client = Client(username="your-access-token-id", password="your-secret-key")
105
109
 
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="fastpix_python",
8
- version="0.1.5",
8
+ version="0.1.7",
9
9
  packages=find_packages(),
10
10
  install_requires=[
11
11
  "requests>=2.25.0",
@@ -20,7 +20,12 @@ setup(
20
20
  long_description_content_type="text/markdown",
21
21
  author="FastPix",
22
22
  author_email="dev@fastpix.io",
23
- url="https://github.com/fastpix-io/fastpix-python-server-sdk",
23
+ url="https://github.com/FastPix/fastpix-python",
24
+ project_urls={
25
+ "GitHub": "https://github.com/FastPix/fastpix-python",
26
+ "Website": "https://fastpix.io",
27
+ "Dashboard": "https://dashboard.fastpix.io",
28
+ },
24
29
  classifiers=[
25
30
  "Development Status :: 3 - Alpha",
26
31
  "Intended Audience :: Developers",
File without changes
File without changes