Skip to main content

RPython package that utilizes requests and regex to make digging through the SEC database eand analyzing 10 forms easy.

Project description

tenform

https://img.shields.io/pypi/v/tenform.svg https://travis-ci.com/tyfal/tenform.svg Documentation Status

Python package that utilizes requests and regex to make digging through the SEC database and analyzing 10 forms easy.

Usage

>>> from tenform.tenform import stock
>>> import pandas as pd
>>> import os, webbrowser

>>> s = stock('F')
>>> print(s.get_ticker)
<bound method stock.get_ticker of <Stock F>>

>>> l = s.tenk_links('2016-01-01','2018-01-01')
>>> print(l[0])
https://www.sec.gov/Archives/edgar/data/37996/000003799617000013/f1231201610-k.htm

>>> IncStmt = s.tenk_IS('2017-01-01', '2018-01-01')
>>> path = os.path.abspath('temp.html')
>>> url = 'file://' + path
>>> with open(path, 'w') as f:
>>>   f.write(IncStmt)
>>> webbrowser.open(url)
>>> os.remove('temp.html')
images/tenk_IS.png

Functions

  • stock(ticker)

  • tenk_links(start_date=’YYYY-MM-DD’, end_date=’YYYY-MM-DD’)

  • tenk_IS(start_date=’YYYY-MM-DD’, end_date=’YYYY-MM-DD’)

  • tenq_links(start_date=’YYYY-MM-DD’, end_date=’YYYY-MM-DD’)

  • tenq_IS(start_date=’YYYY-MM-DD’, end_date=’YYYY-MM-DD’)

License

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-07-12)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tenform-0.1.5.tar.gz (110.8 kB view details)

Uploaded Source

Built Distribution

tenform-0.1.5-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tenform-0.1.5.tar.gz.

File metadata

  • Download URL: tenform-0.1.5.tar.gz
  • Upload date:
  • Size: 110.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tenform-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9d70738da002bdda558c2848d226a83de5679613326ede21757324dd561936ee
MD5 bdc7f758aa04339891f57b4f24681bce
BLAKE2b-256 4daa06072b345ab51fb149424b2224e2c4b233626eb01f52994f4b6c82ed2e10

See more details on using hashes here.

File details

Details for the file tenform-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tenform-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 473187675e07ee75ccad593443d45d7198f9bf7ccf600f20b8a4a8484b5e12ca
MD5 9c3ce8ff74ac176b72c5199179b36ac4
BLAKE2b-256 f16db4dd4188641b628b7b3e58b220534d393c48d8978e66d46171daf50b034c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page