Skip to main content

A general day-to-day toolset for PKScreener repos

Project description

PKDevTools

MADE-IN-INDIA GitHub release (latest by date) GitHub all releases GitHub CodeFactor BADGE

github license Downloads latest download PyPI is wheel Coverage Status codecov

Documentation PKDevTools Test - New Features 1. PKDevTools Build - New Release

What is PKDevTools?

Toolset for day-to-day usage in various repos

Key Components

PKDataProvider

Unified high-performance data provider for stock OHLCV data with automatic source selection.

from PKDevTools.classes.PKDataProvider import get_data_provider

provider = get_data_provider()

# Get stock data with automatic source selection
# Priority: Real-time (PKBrokers) → Local Pickle → Remote Pickle
df = provider.get_stock_data("RELIANCE", interval="5m", count=50)

# Get multiple stocks
data = provider.get_multiple_stocks(["RELIANCE", "TCS"], interval="day")

# Check if real-time data is available
if provider.is_realtime_available():
    price = provider.get_latest_price("INFY")
    ohlcv = provider.get_realtime_ohlcv("INFY")

Supported Intervals: 1m, 2m, 3m, 4m, 5m, 10m, 15m, 30m, 60m, day

Data Sources (in priority order):

  1. InMemoryCandleStore (PKBrokers) - Real-time during market hours
  2. Local Pickle Files - Cached historical data
  3. Remote GitHub Pickle Files - Fallback

Building from source repo

Contributing:

  • Please feel free to Suggest improvements bugs by creating an issue.
  • Please follow the Guidelines for Contributing while making a Pull Request.

Disclaimer:

  • Feel free to use it in your projects!

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pkdevtools-0.13.20251223.308.tar.gz (103.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pkdevtools-0.13.20251223.308-cp312-cp312-win_amd64.whl (151.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pkdevtools-0.13.20251223.308-cp310-cp310-macosx_13_0_arm64.whl (149.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251223.308-cp310-cp310-macosx_10_9_x86_64.whl (149.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file pkdevtools-0.13.20251223.308.tar.gz.

File metadata

  • Download URL: pkdevtools-0.13.20251223.308.tar.gz
  • Upload date:
  • Size: 103.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pkdevtools-0.13.20251223.308.tar.gz
Algorithm Hash digest
SHA256 244df00a6576506637e85cfb5a8e5a476cc7f152ffa887a587b2f5a63ced5060
MD5 cd45be4e618f3a4f4cb7b7ff9953df6d
BLAKE2b-256 e7607d170350330acec1ae098d49c039a3adf56ade0d0dd003c1f846116c1f55

See more details on using hashes here.

File details

Details for the file pkdevtools-0.13.20251223.308-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pkdevtools-0.13.20251223.308-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 103a0200dd65d1fa47e59329d6857fe2f66866565bbaabfa937dad1351f389f4
MD5 5c81d7fa6cfbdf5f740221f3595acab5
BLAKE2b-256 22ecc4b2e0d0b3db87c509e0d98f0bec66897d9eea829b67d35f272fcca9cf39

See more details on using hashes here.

File details

Details for the file pkdevtools-0.13.20251223.308-cp312-cp312-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pkdevtools-0.13.20251223.308-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e58f3dce07629bcc8f1643e15ce01359a58aad71045259beea738220388c6540
MD5 1b39c732fc11e627fac8d9757ed8bb98
BLAKE2b-256 35158f6b8e56a18ac93567dc04bf3ef6e1e116a2a1f41d8f29fe57f223ff1b88

See more details on using hashes here.

File details

Details for the file pkdevtools-0.13.20251223.308-cp310-cp310-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for pkdevtools-0.13.20251223.308-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 1dc4ea2fb57a3cd8d4105f26173aca2a83c62e815588d4f7c38d8af2adebf756
MD5 511cbc899ca8947355e23202fe23086a
BLAKE2b-256 7e94c9aa4d69c2976a5a548cce5398aa84b014f0c7b522253737ada3c5b28d48

See more details on using hashes here.

File details

Details for the file pkdevtools-0.13.20251223.308-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pkdevtools-0.13.20251223.308-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5fdd196f46d6f20a3e2faa3dc6894c3690d4ab97fdf563eacbb5f2c3f89933ec
MD5 ba391c22894b9cf9154814a3158ec4bf
BLAKE2b-256 229f9cc5640b05c05fa9887beba209a2832205a0d3689a64c97fc2b18d24407a

See more details on using hashes here.

Supported by

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