numerblox 1.6.1
Legitimate ML pipeline library
Calls glob for filename searchPython JSON parsing or serialization reference
SHA-256f9b5586e475e0145154b2c2f20de55e92595addad62300e50e6a798af61d9ea6
Evidence
1Metadata-Version: 2.4
2Name: numerblox
3Version: 1.6.1
4Summary: Solid Numerai Pipelines
5Author-email: CrowdCent <[email protected]>
6License: MIT License
7Requires-Python: <4,>=3.10
8Description-Content-Type: text/markdown
9License-File: LICENSE
10Requires-Dist: tqdm>=4.66.1
11Requires-Dist: numpy>=1.26.3
12Requires-Dist: scipy>=1.10.0
13Requires-Dist: pandas>=2.1.1
14Requires-Dist: pandas-ta-classic>=0.3.14 …
37:16… ruff>=0.3.0; extra == "test"
38Dynamic: license-file
39
40
41:
22 """
23 Basic functionality for IO (downloading and uploading).
24
25 :param directory_path: Base folder for IO. Will be created if it does not exist.
⋯4 lines
32:17… ase_directory(self):
33 """Remove directory with all contents."""
34 abs_path = self.dir.resolve()
35 print(f"WARNING: Deleting directory for '{self.__class__.__name__}'\nPath: '{abs_path}'")
36 shutil.rmtree(abs_path)
37
38 def download_file_from_gcs(self, bucket_name: str, gcs_path: str):
39 """
40 Get file from GCS bucket …
63:40… t_name=bucket_name, blob_path=blob_path)
64 for gcs_file in glob.glob(gcs_path + "/**", recursive=True):
65 if os.path.isfile(gcs_file):
66 blob.download_to_filename(blob_path)
67 print(f"Directory '{gcs_path}' from bucket '{blob.bucket.id}' downloaded to '{blob_path}'")
68
69 def upload_directory_to_gcs(self, bucke …
Showing the top 5 files — 5 more files (45 regions) not shown.
No evidence locations were recorded for this file. Raw result