datamarket 0.9.54__py3-none-any.whl → 0.9.55__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.

Potentially problematic release.


This version of datamarket might be problematic. Click here for more details.

@@ -64,5 +64,8 @@ class AWSInterface:
64
64
  def read_file_as_bytes(self, s3_path: str) -> io.BytesIO:
65
65
  return io.BytesIO(self.get_file(s3_path)["Body"].read())
66
66
 
67
- def upload_file(self, local_path: str, s3_path: str) -> None:
68
- self.s3.Bucket(self.bucket).upload_file(local_path, s3_path)
67
+ def upload_file(self, local_path: str, s3_path: str, **kwargs) -> None:
68
+ if not self.bucket:
69
+ logger.warning("No active bucket selected")
70
+ return
71
+ self.s3.Bucket(self.bucket).upload_file(local_path, s3_path, **kwargs)
@@ -1,9 +1,8 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: datamarket
3
- Version: 0.9.54
3
+ Version: 0.9.55
4
4
  Summary: Utilities that integrate advanced scraping knowledge into just one library.
5
5
  License: GPL-3.0-or-later
6
- License-File: LICENSE
7
6
  Author: DataMarket
8
7
  Author-email: techsupport@datamarket.es
9
8
  Requires-Python: >=3.12,<3.13
@@ -3,7 +3,7 @@ datamarket/exceptions/__init__.py,sha256=-Vu-RZNKjW6fYCLqbUJTkKNuHeA8Yi_gyR50oZN
3
3
  datamarket/exceptions/main.py,sha256=MP5ql6M7DoMbBf-Dg_2ohcUFdWXgzv-dXHntPPit31s,453
4
4
  datamarket/interfaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  datamarket/interfaces/alchemy.py,sha256=mQwjDqBpz1QHRV2JTCALvn5iK_ky69oE2Gw-EtRXsqQ,14664
6
- datamarket/interfaces/aws.py,sha256=7KLUeBxmPN7avEMPsu5HC_KHB1N7W6Anp2X8fo43mlw,2383
6
+ datamarket/interfaces/aws.py,sha256=0KWVMClVmyR50xGR_7rkvDCPobixgU8Gy_pz-j25bVU,2506
7
7
  datamarket/interfaces/azure.py,sha256=4lxjL4O4nGO8aDmzY8m9x6vzgYpzQaBWwhERrTuwtqA,4936
8
8
  datamarket/interfaces/drive.py,sha256=3nhx3THr2SHNWKYwme9F2nPpvsqyEMFIxz0whF2FjHk,4840
9
9
  datamarket/interfaces/ftp.py,sha256=EJQBhbHncZxNO-2xL9vS7PpwwbeE_Q8m-toG8hDS_VA,2812
@@ -27,7 +27,7 @@ datamarket/utils/strings/normalization.py,sha256=rj0wfJSjqcCRp-ruHqc5pylO3_TOmY5
27
27
  datamarket/utils/strings/obfuscation.py,sha256=8gMepfjPq0N4_IpKR6i2dy_9VJugQ3qJiRiRvKavB3s,5246
28
28
  datamarket/utils/typer.py,sha256=FDF3l6gh3UlAFPsHCtesnekvct2rKz0oFn3uKARBQvE,814
29
29
  datamarket/utils/types.py,sha256=vxdQZdwdXrfPR4Es52gBgol-tMRIOD6oK9cBo3rB0JQ,74
30
- datamarket-0.9.54.dist-info/METADATA,sha256=caOmusJiELioCV1XKJ0FMX2UJZe30coHDHTOS3I7L_k,7348
31
- datamarket-0.9.54.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
32
- datamarket-0.9.54.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
33
- datamarket-0.9.54.dist-info/RECORD,,
30
+ datamarket-0.9.55.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
31
+ datamarket-0.9.55.dist-info/METADATA,sha256=vd7oF92t0jzK6sbxgdY98nQv8r0B6HthT-NC9s1j4wM,7326
32
+ datamarket-0.9.55.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
33
+ datamarket-0.9.55.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.2.1
2
+ Generator: poetry-core 2.1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any