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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251224.309-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.309.tar.gz.

File metadata

  • Download URL: pkdevtools-0.13.20251224.309.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.309.tar.gz
Algorithm Hash digest
SHA256 b027aab82370dacc132b88a9fb096d4090ee5b2bdd75f7c832988b7a203a0637
MD5 14d92a7409324dfdec6f89c1df439b01
BLAKE2b-256 6d59b12824693907d3725b5a285f419a4017a5710927066a3f5e17f1f2825973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.309-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e0192773bab401151d8d7a6c15c83fbeacfc5239a4324dc6f78bca640c5d2f49
MD5 6b7acb97966817f2c60c6bd2c2afed05
BLAKE2b-256 db69565080b0279d628bd95948040016cfc7bb68805bb3474fea01d910bfe63f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.309-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e40530cbd2b38682f19c53eff51b29fcb15279572051977db44cd14131467cf1
MD5 5e7997d4a81eaa046742050a55b8f4f8
BLAKE2b-256 b292f0ce5ede957d6be9930e96df4a296816934eecc1eab78ee181fb8e9ffd2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.309-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 57c3213f5b2de04dc6fffc1348dd4fc660cd6b5845234209293efd44d1d323fd
MD5 6c0a396d639f1d6b0db8cafaa9f2de85
BLAKE2b-256 9fb041534cb1a59838f14703ea1cbb9d011e86d6c294e1b322fe6bdf48530231

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.309-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f7d76255811c2ce60a141cd223ba4cac007c84568b12c62ae7d6a4c173ec43a3
MD5 664f813260dbf6f4fb94e7a94f7c8c58
BLAKE2b-256 269f6264ea95ab330c63644ffc778b7cca070173b8dc4345e8659407d8e9aaca

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