Skip to content

Commit 8e43cce

Browse files
committed
Add fix for setup.py
1 parent 8132fef commit 8e43cce

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

edgar/parser/xbrl.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
from bs4 import BeautifulSoup
2+
3+
import csv
4+
import pprint
5+
import pathlib
6+
import collections
7+
import xml.etree.ElementTree as ET
8+
from typing import Union
9+
10+
11+
class XbrlFiling():
12+
13+
def __init__(self) -> None:
14+
15+
self.file_path = None
16+
self.url = None
17+
18+
def from_url(self, url: str) -> None:
19+
pass
20+
21+
def from_file(self, file_path: Union[str, pathlib.Path]) -> None:
22+
pass

samples/use_api_xbrl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import json
21
from pprint import pprint
32
from edgar.client import EdgarClient
43

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
keywords='finance, sec, api, web scraping, financial disclosures',
4343

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

4747
# here we specify any package data.
4848
package_data={

0 commit comments

Comments
 (0)