New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

edgar-sec

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edgar-sec

A simple python wrapper for interacting with the US Securities and Exchange Commission API: EDGAR

  • 0.0.2
  • PyPI
  • Socket score

Maintainers
1

edgar-sec

A simple python wrapper for interacting with the US Securities and Exchange Commission API: EDGAR

This package is still in beta please try it out and please report any comments, concerns, and issues.

Build and test GitHub PyPI version Downloads

Latest Update

  • Complete methods for all EDGAR Endpoints

Installation

You can install the package using pip:

pip install edgar-sec

Rest API Usage

I recommend consulting the offical SEC EDGAR documentation at: https://www.sec.gov/search-filings/edgar-application-programming-interfaces

Here is a simple example of how to use the package:

# Imports
from edgar-sec import EdgarAPI

# EDGAR API
client = EdgarAPI()

# Get company concept disclosures
company_concept = client.get_company_concept(central_index_key='0001067983', taxonomy='us-gaap', tag='AccountsPayableCurrent')
print(company_concept)

Important Notes

  • Currently all all responses are returned as text.
  • Store your API keys and secrets in environment variables or secure storage solutions.
  • Do not hardcode your API keys and secrets in your scripts.

Features

  • Get company filing data
  • Get Historical data
  • Interact with all SEC EDGAR API endpoints

Next Update

  • Pandas dataframe output

Planned Updates

  • XBLR parsing options
  • Polars dataframe outtput

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc