pycharting 0.2.6__tar.gz → 0.2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycharting
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: High-performance financial charting library for OHLC data visualization with technical indicators
5
5
  Home-page: https://github.com/alihaskar/pycharting
6
6
  License: MIT
@@ -27,6 +27,10 @@ Description-Content-Type: text/markdown
27
27
 
28
28
  # PyCharting
29
29
 
30
+ [![PyPI version](https://img.shields.io/pypi/v/pycharting.svg)](https://pypi.org/project/pycharting/)
31
+ [![Python versions](https://img.shields.io/pypi/pyversions/pycharting.svg)](https://pypi.org/project/pycharting/)
32
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
33
+
30
34
  High‑performance financial charting library for OHLC data visualization with technical indicators.
31
35
 
32
36
  ## Overview
@@ -78,6 +82,11 @@ poetry install
78
82
  ## Quick start
79
83
 
80
84
  The primary API is a single `plot` function that takes OHLC arrays (plus optional overlays and subplots), starts a local server, and opens your default browser on the interactive chart.
85
+ You normally import everything you need like this:
86
+
87
+ ```python
88
+ from pycharting import plot, stop_server, get_server_status
89
+ ```
81
90
 
82
91
  When you run this script, PyCharting will:
83
92
 
@@ -1,5 +1,9 @@
1
1
  # PyCharting
2
2
 
3
+ [![PyPI version](https://img.shields.io/pypi/v/pycharting.svg)](https://pypi.org/project/pycharting/)
4
+ [![Python versions](https://img.shields.io/pypi/pyversions/pycharting.svg)](https://pypi.org/project/pycharting/)
5
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
+
3
7
  High‑performance financial charting library for OHLC data visualization with technical indicators.
4
8
 
5
9
  ## Overview
@@ -51,6 +55,11 @@ poetry install
51
55
  ## Quick start
52
56
 
53
57
  The primary API is a single `plot` function that takes OHLC arrays (plus optional overlays and subplots), starts a local server, and opens your default browser on the interactive chart.
58
+ You normally import everything you need like this:
59
+
60
+ ```python
61
+ from pycharting import plot, stop_server, get_server_status
62
+ ```
54
63
 
55
64
  When you run this script, PyCharting will:
56
65
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pycharting"
3
- version = "0.2.6"
3
+ version = "0.2.7"
4
4
  description = "High-performance financial charting library for OHLC data visualization with technical indicators"
5
5
  authors = ["ali askar <26202651+alihaskar@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -7,9 +7,9 @@ from typing import Optional, Dict, Any, Union
7
7
  import numpy as np
8
8
  import pandas as pd
9
9
 
10
- from ..data.ingestion import DataManager
11
- from ..core.lifecycle import ChartServer
12
- from .routes import _data_managers
10
+ from data.ingestion import DataManager
11
+ from core.lifecycle import ChartServer
12
+ from api.routes import _data_managers
13
13
 
14
14
  logger = logging.getLogger(__name__)
15
15
 
@@ -103,7 +103,7 @@ async def initialize_data(
103
103
  Session information
104
104
  """
105
105
  import numpy as np
106
- from ..data.ingestion import DataManager
106
+ from data.ingestion import DataManager
107
107
 
108
108
  try:
109
109
  # Generate demo OHLC data
@@ -136,7 +136,7 @@ def create_app() -> FastAPI:
136
136
  """
137
137
 
138
138
  # Include API routes
139
- from ..api.routes import router as api_router
139
+ from api.routes import router as api_router
140
140
  app.include_router(api_router)
141
141
 
142
142
  # Health check endpoint