ssb-konjunk 0.1.20__tar.gz → 0.1.22__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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ssb-konjunk
3
- Version: 0.1.20
3
+ Version: 0.1.22
4
4
  Summary: SSB Konjunk
5
5
  License: MIT
6
6
  Author: Edvard Garmannslund
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
16
  Requires-Dist: click (>=8.0.1)
17
- Requires-Dist: dapla-toolbelt (>=2.0.20)
17
+ Requires-Dist: dapla-toolbelt (>=3.0.0)
18
18
  Requires-Dist: pandas (>=2.2.0)
19
19
  Requires-Dist: pandas-stubs (>=2.2.2.240807)
20
20
  Requires-Dist: pendulum (>=3.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ssb-konjunk"
3
- version = "0.1.20"
3
+ version = "0.1.22"
4
4
  description = "SSB Konjunk"
5
5
  authors = ["Edvard Garmannslund <ged@ssb.no>"]
6
6
  license = "MIT"
@@ -18,7 +18,7 @@ python = ">=3.10, <4.0"
18
18
  click = ">=8.0.1"
19
19
  pandas = ">=2.2.0"
20
20
  pendulum = ">=3.0.0"
21
- dapla-toolbelt = ">=2.0.20"
21
+ dapla-toolbelt = ">=3.0.0"
22
22
  pandas-stubs = ">=2.2.2.240807"
23
23
 
24
24
  [tool.poetry.group.dev.dependencies]
@@ -261,11 +261,11 @@ def _save_df(
261
261
  df.to_csv(file_path, sep=seperator, index=False, encoding=encoding)
262
262
  # Save as jsonl
263
263
  elif filetype == "jsonl":
264
- df.to_json(orient="records", lines=True)
264
+ df.to_json(file_path, orient="records", lines=True)
265
265
 
266
266
  # Save as json
267
267
  elif filetype == "json":
268
- df.to_json(orient="records", lines=False)
268
+ df.to_json(file_path, orient="records", lines=False)
269
269
 
270
270
  # Uknown filetype sent as argument
271
271
  else:
File without changes
File without changes