datamule 2.3.3__py3-none-any.whl → 2.3.4__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 datamule might be problematic. Click here for more details.

datamule/datasets.py CHANGED
@@ -8,7 +8,8 @@ import csv
8
8
  # Dataset URLs
9
9
  DATASET_URLS = {
10
10
  "cik_cusip_crosswalk": "https://github.com/john-friedman/datamule-data/raw/refs/heads/master/data/datasets/cik_cusip_crosswalk.csv.gz",
11
- "financial_security_identifiers_crosswalk" : "https://github.com/john-friedman/datamule-data/raw/refs/heads/master/data/datasets/financial_security_identifiers_crosswalk.csv.gz"
11
+ "financial_security_identifiers_crosswalk" : "https://github.com/john-friedman/datamule-data/raw/refs/heads/master/data/datasets/financial_security_identifiers_crosswalk.csv.gz",
12
+ "proposal_results" : "https://github.com/Structured-Output/SEC/raw/refs/heads/main/datasets/proposal_results.csv.gz"
12
13
  }
13
14
 
14
15
  def update_dataset(name):
@@ -43,9 +44,10 @@ def _get_dataset(name, update=False):
43
44
  gz_path.unlink()
44
45
 
45
46
  # Read CSV and return as list of dicts
46
- with open(file_path, 'r') as f:
47
+ with open(file_path, 'r',encoding='utf-8') as f:
47
48
  return list(csv.DictReader(f))
48
49
 
49
50
  # Dataset available as list of dicts on import
50
51
  cik_cusip_crosswalk = _get_dataset("cik_cusip_crosswalk")
51
- financial_security_identifiers_crosswalk = _get_dataset("financial_security_identifiers_crosswalk")
52
+ financial_security_identifiers_crosswalk = _get_dataset("financial_security_identifiers_crosswalk")
53
+ proposal_results = _get_dataset('proposal_results')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datamule
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: Work with SEC submissions at scale.
5
5
  Home-page: https://github.com/john-friedman/datamule-python
6
6
  Author: John Friedman
@@ -1,6 +1,6 @@
1
1
  datamule/__init__.py,sha256=gsWTW0emwGtM-KVtwe2OICVmW7ImvLvP0SORULTPe-Y,1220
2
2
  datamule/config.py,sha256=Y--CVv7JcgrjJkMOSLrvm2S8B9ost6RMSkGviP-MKtg,883
3
- datamule/datasets.py,sha256=-2_5kTRS3mxlkKbXwBg8aiistYljLYRnZjDLZNhV8bk,1867
3
+ datamule/datasets.py,sha256=1A9PPPyLIQ51evXLSsiKmVxNmjbO6c2FGszrairREjc,2058
4
4
  datamule/helper.py,sha256=KqhAmTMdvATEh3I-O4xLcAcrHB9zXQERBuwzue7zyQw,3674
5
5
  datamule/index.py,sha256=Rrcna9FJV-Oh_K6O2IuUEIDmtay_7UZ4l4jgKCi7A7I,2079
6
6
  datamule/package_updater.py,sha256=Z9zaa_y0Z5cknpRn8oPea3gg4kquFHfpfhduKKCZ6NU,958
@@ -61,7 +61,7 @@ datamule/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
61
61
  datamule/utils/construct_submissions_data.py,sha256=NB_hvfxlRXPyt4Fgc-5qA8vJRItkLhBedCSTaxwW7Jg,5887
62
62
  datamule/utils/format_accession.py,sha256=60RtqoNqoT9zSKVb1DeOv1gncJxzPTFMNW4SNOVmC_g,476
63
63
  datamule/utils/pdf.py,sha256=Z9xrdVhKex2YdvjYsaPaygRE_J6P_JNiUGkwflz2Hw0,735
64
- datamule-2.3.3.dist-info/METADATA,sha256=JMcgYr82lya0HVcKBUOsyALZu4-5J9qwQOVihtduou8,609
65
- datamule-2.3.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
66
- datamule-2.3.3.dist-info/top_level.txt,sha256=iOfgmtSMFVyr7JGl_bYSTDry79JbmsG4p8zKq89ktKk,9
67
- datamule-2.3.3.dist-info/RECORD,,
64
+ datamule-2.3.4.dist-info/METADATA,sha256=TBPwdO8QYq6QDVKp6YHZTjV27vee5CHIkpX_tG4ROx4,609
65
+ datamule-2.3.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
66
+ datamule-2.3.4.dist-info/top_level.txt,sha256=iOfgmtSMFVyr7JGl_bYSTDry79JbmsG4p8zKq89ktKk,9
67
+ datamule-2.3.4.dist-info/RECORD,,