Skip to content

Commit

Permalink
Add fix for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
areed1192 committed Oct 23, 2021
1 parent 8132fef commit 8e43cce
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
22 changes: 22 additions & 0 deletions edgar/parser/xbrl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from bs4 import BeautifulSoup

import csv
import pprint
import pathlib
import collections
import xml.etree.ElementTree as ET
from typing import Union


class XbrlFiling():

def __init__(self) -> None:

self.file_path = None
self.url = None

def from_url(self, url: str) -> None:
pass

def from_file(self, file_path: Union[str, pathlib.Path]) -> None:
pass
1 change: 0 additions & 1 deletion samples/use_api_xbrl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
from pprint import pprint
from edgar.client import EdgarClient

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
keywords='finance, sec, api, web scraping, financial disclosures',

# here are the packages I want "build."
packages=find_packages(include=['pysec']),
packages=find_packages(include=['edgar']),

# here we specify any package data.
package_data={
Expand Down

0 comments on commit 8e43cce

Please sign in to comment.