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.20251224.311.tar.gz (103.7 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.20251224.311-cp312-cp312-win_amd64.whl (151.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pkdevtools-0.13.20251224.311-cp310-cp310-macosx_13_0_arm64.whl (149.9 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251224.311-cp310-cp310-macosx_10_9_x86_64.whl (149.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pkdevtools-0.13.20251224.311.tar.gz
  • Upload date:
  • Size: 103.7 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.20251224.311.tar.gz
Algorithm Hash digest
SHA256 ab64c5d0796cf7c6784fa420073c707b9b4e2da5b514a5455cd477652d054141
MD5 309f1f3be5c2612367f5edb0b8cd7003
BLAKE2b-256 48737258ad9f7b3b320e523d7504a7850844a087828c165a02d7e4af1432bece

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.311-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 af0b1db65e58cd6073c0f00f7df37d9c0cac1fbca1c8a920390fa8aab24a95c5
MD5 aa8aac86ecb0bfdcddaeabc58163d3d8
BLAKE2b-256 110019c32798f013c34f7800a5ead63f22d0450fe67505f14c3afdb2761a4c1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.311-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 125691d48d52424bd88159a36f13897790b8d93fafc6e4d91f19b636da6bab84
MD5 c6d0f56c796bd70ad4cf5f48aec91f15
BLAKE2b-256 1b5014c57a6a203b0bb2c0d7a3a2a62d5b5c6cf653a5222558d39b3539f9bd06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.311-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 230dbf589a31a5814055e3ab2c2c5e8bf9bb98d2ef1e3d7247fc21d92eb68c3f
MD5 92495675b0301b8c178688b3543a1b55
BLAKE2b-256 3821c21da845b6dfb5c863d81c556c49dded897e08aab1a6ffa91299a19baf7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.311-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eb67768ed07327b773cbb7fe90aa2a3e9216b4f002e8aa7be5793372be3f8240
MD5 ebc6a2d844a72f765dfd7a57c5535df8
BLAKE2b-256 faaa6069affa14f1934190f8fa58aa20e8919f065992693e3c824d55258b9605

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