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.313.tar.gz (104.0 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.313-cp312-cp312-win_amd64.whl (151.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pkdevtools-0.13.20251224.313-cp310-cp310-macosx_13_0_arm64.whl (150.2 kB view details)

Uploaded CPython 3.10macOS 13.0+ ARM64

pkdevtools-0.13.20251224.313-cp310-cp310-macosx_10_9_x86_64.whl (150.2 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: pkdevtools-0.13.20251224.313.tar.gz
  • Upload date:
  • Size: 104.0 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.313.tar.gz
Algorithm Hash digest
SHA256 2aa0ffe1fd445cf3606c1dc4e38e29a2ff80cad88f2f2c9b2f0261445ee8b904
MD5 514a75558ac8aef02b2e68e17cb4288a
BLAKE2b-256 8b259ca9375d174841784d9efcb0fb0f1bd6d761f02a8aa35da889d19719f726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.313-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0e6eeab03ae03351e9efcfb49a4e3c10698bf3458e3dc25bbf62d7406e636cb7
MD5 bdb76fe886e97f5b766634612ee14570
BLAKE2b-256 07db135003ccff9022648d01e4ac4b055217bdaea25cc1207c147650eb6c9f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.313-cp312-cp312-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46ddf62bec516ce773335100819b778992514239bcf4d42d592751bc24dc6e59
MD5 f1e61c31596347ab7f1c295099b64610
BLAKE2b-256 b82ccec447801072ad4e614582be01b1facf09f4abb7a1ef196a10df678db524

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.313-cp310-cp310-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 358d9259fffa59cc72ca16410970a0518c212079b47be62911e17eb953c57395
MD5 12cd161056fb6609cad96313fca3bb9a
BLAKE2b-256 3224c9cfa64b7bf5d3326c083e3c87f6b40318f09960ecf414b373e312311094

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkdevtools-0.13.20251224.313-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 00850377260e3b7c09e3fedebc6e72a60e7559b5c6209f6423e8fcac6f37c67b
MD5 75aefbbf621f1594236006601653d5f5
BLAKE2b-256 4468648c5c499091ca6ecd7a9e5d4372f838e0c064d464694e26655926c10cf6

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