python-edgar icon indicating copy to clipboard operation
python-edgar copied to clipboard

Run as module

Open stefansjs opened this issue 1 year ago • 1 comments

Moves run.py to edgar/main.py so that you can invoke the script from the command-line using python -m edgar ...

stefansjs avatar May 11 '24 00:05 stefansjs

To clarify one detail, installing module outside of our package is error-prone. When you pip install the package, you will end up with .../site-packages/run.py and .../site-packages/edgar/. run.py is likely to get overwritten by or overwrite another package's run.py if any other package violates their own encapsulation like this.

stefansjs avatar May 13 '24 21:05 stefansjs