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.310.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.310-cp312-cp312-win_amd64.whl (151.3 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251224.310-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.310.tar.gz.

File metadata

  • Download URL: pkdevtools-0.13.20251224.310.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.310.tar.gz
Algorithm Hash digest
SHA256 a6ff91afb05156fbbf8b49fc9a8f6f1eb646eedb585a3583e5c142e2fb58946f
MD5 ed0c8a0c701a8225b3473cfd57a8d7d6
BLAKE2b-256 31d39ef292a64944eedf9f30543cb8c83a7205a8d6bbc3d92ff972dd383f8e57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.310-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9a14fad9f5b6d94bfa16d74548f41207b67120f5577bb2056ff0950daa862d76
MD5 a8964afdb5904cde552268b1eb2f02fe
BLAKE2b-256 8377147c77ab75994d776d1839854c9ba88be2a3a0af5bb9c2609640cc7597cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.310-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e77e79341dc1d0bce68519f813bb4e95778a2052df6eb58cd9d5745bfac37378
MD5 dbdbdaeb7b1d6140e33533eb7e2d593a
BLAKE2b-256 b9616cd3166749e988c4ef0cc559412df95fc8fddd3932cb65863eda70ab8f60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.310-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 beaa791639032cb62f4c7ffdc1837b3f93bce6e0078fd0f25dd311065e42d65d
MD5 63fe75908ab52202f314779ade210622
BLAKE2b-256 1316e19e88154e66ec2c7ec75b61bf0fea5cd6bde9df6d54e7c3ea12b90f8c33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.310-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7f0352abeef144cbd0a7aee92f779d454c9881a141dc4de41e015df456d04a49
MD5 8269cb0586e0c92d8f48c3094b9ab779
BLAKE2b-256 5379aa69149efb3f0cf6a0fdcf4be0391a094497674ad728eb1848221e5e3d18

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