gaulinmp / pyedgar Goto Github PK
View Code? Open in Web Editor NEWPython library for interacting with EDGAR.
License: MIT License
Python library for interacting with EDGAR.
License: MIT License
Running pyedgar.EDGARIndex(force_download = True)
on a fresh install with no config file results in trying to download index files to a temp directory that doesn't exist:
FileNotFoundError('Trying to write to non-existant directory: /var/folders/1m/z793d_z546db544bwmxrq9dw0000gn/T/pyedgar/indices')
pyedgar/pyedgar/utilities/indices.py
Line 128 in d297e72
Add error checking if no cached files exist to be loaded/parsed.
Line 188 in 8156d0c
Doesn't check use_webcache if local_cache is False. Come on, Mac.
Hi,
Nice python tool to download and parse the SEC forms. Can you extract individual sections too, for instance, item 1, item 1A, etc. in form 10-K?
Thanks!
Hello there!
I am running pyedgar on Linux redhat using python 3.6. I followed the instructions for download using pip3 install pyedgar and pip3 install -e . after downloading it from github. Even when I tried running my notebook through google colab, I keep getting an error saying that
from pyedgar.data_manipulation import tlist_to_flat, flat_to_tlist
ModuleNotFoundError: No module named 'pyedgar.data_manipulation'
I'm not sure if I have done something wrong during the installation. Any help is appreciated! Thank you!
I am running this to get started and create index files.
python -m pyedgar.downloader -i --log-level INFO
However, looks like some compressed index files get downloaded partially (just 5kb in size). Attaching screenshot here - https://snipboard.io/ojnBHy.jpg . I tried uninstalling the package from pip and reinstalling from github and I see similar results. Is there any reason this could be happening? I see the entire file present on the url location being downloaded.
I am running this simple code to get started:
import pyedgar
all_indices = pyedgar.EDGARIndex(force_download = True)
I get the following error message:
Traceback (most recent call last):
File "edgar_test.py", line 5, in <module>
all_indices = pyedgar.EDGARIndex(force_download = True)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyedgar/index.py", line 49, in __init__
self.IndexMaker.extract_indexes()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pyedgar/utilities/indices.py", line 121, in extract_indexes
dfi["Accession"] = dfi.Filename.str.slice(start=-24, stop=-4)
UnboundLocalError: local variable 'dfi' referenced before assignment
I installed this package with ! pip install pyedgar
. The version is 0.1.6. I am running it on a Mac.
Is this a bug, or have I missed an installation step? Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.