remotion-lambda 4.0.201__tar.gz → 4.0.204__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 (18) hide show
  1. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/PKG-INFO +2 -4
  2. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda/models.py +17 -1
  3. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda/version.py +1 -1
  4. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda.egg-info/PKG-INFO +3 -5
  5. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/LICENSE +0 -0
  6. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/README.md +0 -0
  7. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda/__init__.py +0 -0
  8. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda/remotionclient.py +0 -0
  9. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda.egg-info/SOURCES.txt +0 -0
  10. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda.egg-info/dependency_links.txt +0 -0
  11. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda.egg-info/requires.txt +0 -0
  12. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/remotion_lambda.egg-info/top_level.txt +0 -0
  13. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/setup.cfg +0 -0
  14. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/setup.py +0 -0
  15. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/tests/__init__.py +0 -0
  16. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/tests/test_get_render_progress_client.py +0 -0
  17. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/tests/test_render_client_render_media.py +0 -0
  18. {remotion_lambda-4.0.201 → remotion_lambda-4.0.204}/tests/test_render_client_render_still.py +0 -0
@@ -1,15 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotion_lambda
3
- Version: 4.0.201
3
+ Version: 4.0.204
4
4
  Summary: Remotion Lambda client
5
5
  Home-page: https://github.com/remotion-dev/remotion/tree/main/packages/lambda-python
6
6
  Author: Jonny Burger
7
7
  Author-email: jonny@remotion.dev
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
8
  Requires-Python: >=3.6
11
9
  Description-Content-Type: text/markdown
12
10
  License-File: LICENSE
11
+ Requires-Dist: boto3<1.35.0,>=1.34.23
13
12
 
14
13
  Remotion is a framework for creating videos programmatically using React.
15
-
@@ -183,6 +183,7 @@ class RenderProgressParams:
183
183
  function_name: str
184
184
  region: str
185
185
  log_level: str
186
+ force_path_style: Optional[bool] = None
186
187
 
187
188
  def serialize_params(self) -> Dict:
188
189
  """
@@ -196,6 +197,10 @@ class RenderProgressParams:
196
197
  "logLevel": self.log_level,
197
198
  "s3OutputProvider": None,
198
199
  }
200
+ if self.force_path_style is not None:
201
+ parameters['forcePathStyle'] = self.force_path_style
202
+ else:
203
+ parameters['forcePathStyle'] = False
199
204
  return parameters
200
205
 
201
206
 
@@ -279,6 +284,7 @@ class RenderMediaParams:
279
284
  default_factory=lambda: {'type': 'play-in-browser'})
280
285
  muted: bool = False
281
286
  overwrite: bool = False
287
+ force_path_style: Optional[bool] = None
282
288
  audio_bitrate: Optional[int] = None
283
289
  video_bitrate: Optional[int] = None
284
290
  webhook: Optional[Webhook] = None
@@ -355,6 +361,10 @@ class RenderMediaParams:
355
361
  if self.x264_preset is not None:
356
362
  parameters['x264Preset'] = self.x264_preset
357
363
 
364
+ if self.force_path_style is not None:
365
+ parameters['forcePathStyle'] = self.force_path_style
366
+ else:
367
+ parameters['forcePathStyle'] = False
358
368
  return parameters
359
369
 
360
370
 
@@ -386,6 +396,7 @@ class RenderStillParams:
386
396
  force_bucket_name: Optional[str] = None
387
397
  dump_browser_logs: Optional[bool] = None
388
398
  delete_after: Optional[DeleteAfter] = None
399
+ force_path_style: Optional[bool] = None
389
400
  offthreadvideo_cache_size_in_bytes: Optional[int] = None
390
401
  streamed: bool = False
391
402
 
@@ -431,9 +442,14 @@ class RenderStillParams:
431
442
  'deleteAfter': self.delete_after,
432
443
  'attempt': self.attempt,
433
444
  'offthreadVideoCacheSizeInBytes': self.offthreadvideo_cache_size_in_bytes,
434
- 'streamed': self.streamed
445
+ 'streamed': self.streamed,
435
446
  }
436
447
 
448
+ if self.force_path_style is not None:
449
+ parameters['forcePathStyle'] = self.force_path_style
450
+ else:
451
+ parameters['forcePathStyle'] = False
452
+
437
453
  return parameters
438
454
 
439
455
 
@@ -1,2 +1,2 @@
1
1
  # pylint: disable=missing-module-docstring, missing-final-newline
2
- VERSION = "4.0.201"
2
+ VERSION = "4.0.204"
@@ -1,15 +1,13 @@
1
1
  Metadata-Version: 2.1
2
- Name: remotion-lambda
3
- Version: 4.0.201
2
+ Name: remotion_lambda
3
+ Version: 4.0.204
4
4
  Summary: Remotion Lambda client
5
5
  Home-page: https://github.com/remotion-dev/remotion/tree/main/packages/lambda-python
6
6
  Author: Jonny Burger
7
7
  Author-email: jonny@remotion.dev
8
- License: UNKNOWN
9
- Platform: UNKNOWN
10
8
  Requires-Python: >=3.6
11
9
  Description-Content-Type: text/markdown
12
10
  License-File: LICENSE
11
+ Requires-Dist: boto3<1.35.0,>=1.34.23
13
12
 
14
13
  Remotion is a framework for creating videos programmatically using React.
15
-