Skip to main content

tsemodule7

image

A library for managing stock and index data from TSETMC.

Project folder structure:

tsemodule7/
│
│                   
├──tsemodule7/tsemodule7.py                     
| 
├── pyproject.toml
|
├── LICENS
|
└── README.md

StockManager Class

The StockManager class allows you to easily manage, download, process, and extract information about various stocks. This class can be easily used in different projects and more functionality can be added to it by adding new features and methods.

Example:

from tsemodule7 import StockManager, IndexManager

stock_manager = StockManager()
index_manager = IndexManager()

# Example calls
print(stock_manager.stocklist())
print(stock_manager.stock("آپ", value=10, standard=True))
print(index_manager.index(value=10))

Output FROM StockManager Class:

image

IndexManager Class

The IndexManager class allows you to easily manage data related to various stock market indices, download them, process them and extract the information you want. This class can be easily used in different projects and more functionality can be added by adding new features and methods.

Output FROM IndexManager Class:

image

HighPriceManager Class

This class uses an online source to download stock data and then processes and analyzes the data to find the stock's highest closing price.

Using newfile and standard parameters allows you to have more control over the process of downloading and processing data. The get_highest_close_price_today method examines only the data from the previous day and displays them in sorted order.

Example:

high_price_manager = HighPriceManager()

# Example calls
highest_close_prices_df = high_price_manager.get_highest_close_price_today(standard=True)
print(highest_close_prices_df)

Output FROM HighPriceManager Class:

image

https://www.kaggle.com/code/peimandaii/tsemodule7#Extended-version-of-the-library

https://www.kaggle.com/models/peimandaii/tsemodules

Metadata

Release files for Tsemodules7-library 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Tsemodules7-library 0.1.0
File Size Uploaded Provenance Actions
tsemodules7_library-0.1.0.tar.gz 42.7 kB Without provenance Details for tsemodules7_library-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Tsemodules7-library 0.1.0
File Interpreter ABI Platform Actions
tsemodules7_library-0.1.0-py3-none-any.whl Python 3 none any Details for tsemodules7_library-0.1.0-py3-none-any.whl

Total release size: 86.0 kB

Release files / tsemodules7_library-0.1.0.tar.gz

Download URL tsemodules7_library-0.1.0.tar.gz
Size 42.7 kB
Tags Source
SHA-256 checksum
How to use checksums
58f902426ef3c2c73b2dd56f71bd8d3877f87fee14c63a4e8241084fd38dfcd5
BLAKE2b-256 checksum
How to use checksums
18bfa6fa607edb4eb0fa3258ce2234ac109e2df50e4caaa7801132d95df854bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.1

Release files / tsemodules7_library-0.1.0-py3-none-any.whl

Download URL tsemodules7_library-0.1.0-py3-none-any.whl
Size 43.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8bcc2ab01382de4ac08f7aa790383ca16051620ac9a2f39cb94c9c53b2fc693
BLAKE2b-256 checksum
How to use checksums
aec285db026fad7d52d980371080cb7adf00203b2a7981a9e3be64a8af1afb11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.1

Security for Tsemodules7-library 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page