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.312.tar.gz (103.8 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.312-cp312-cp312-win_amd64.whl (151.4 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251224.312-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.312.tar.gz.

File metadata

  • Download URL: pkdevtools-0.13.20251224.312.tar.gz
  • Upload date:
  • Size: 103.8 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.312.tar.gz
Algorithm Hash digest
SHA256 8a000b42b137e889207c0d338d58c067d9b83919967ac8d845ed83769292cca5
MD5 410cfe0a8b3c9836d8e8722939dba9bd
BLAKE2b-256 536a4525c251ac62004773a8c7ce0344cf4707f48e2dd68658a1bb45d9cdcf6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.312-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4bfbabdd45cf44b26a633e6e484c3dab7e94050cfd55bdfc0135addf2c42498d
MD5 7e99acee549fb2c74b4c3aa9781c3648
BLAKE2b-256 c6aac2091ff3713a14ee7bb0bbfdd5be4578688b2eea937ad1464adb5035958c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.312-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1716d13f9b1d264f29b7b3d38a20a9b2bbb233d15075f00d1401c5507d31431
MD5 957eb6c8b8f66c4283377629c846db9b
BLAKE2b-256 44066fe747805d4805e85b75615931d26469518508c4169583693ed3fa0e881a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.312-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 2ee8aeac784a5ca083dc0e95bde78c2992a1f6a5bc0e9a68be54e8094cf0086d
MD5 89c92d3976325e8566988d4c96becc2c
BLAKE2b-256 e9c0ff46a14ea988369f3320f0c53d2be8624273efcfe2a5a2c0dd634607b8a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.312-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 51605e243dec9b92534d33c21e8cc4c59540a9505a172564f6c7a1c55f14f402
MD5 ef7b1c2374215f63ebb802e939a64e44
BLAKE2b-256 4b0d2f80ffbe7d761f92c7d2e98506f8b98364c931867d42d136432b3908b919

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