mcli-framework 7.11.3__py3-none-any.whl → 7.11.4__py3-none-any.whl

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.

Potentially problematic release.


This version of mcli-framework might be problematic. Click here for more details.

Files changed (73) hide show
  1. mcli/workflow/workflow.py +39 -6
  2. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/METADATA +2 -2
  3. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/RECORD +7 -73
  4. mcli/__init__.py +0 -160
  5. mcli/__main__.py +0 -14
  6. mcli/app/__init__.py +0 -23
  7. mcli/app/model/__init__.py +0 -0
  8. mcli/app/video/__init__.py +0 -5
  9. mcli/chat/__init__.py +0 -34
  10. mcli/lib/__init__.py +0 -0
  11. mcli/lib/api/__init__.py +0 -0
  12. mcli/lib/auth/__init__.py +0 -1
  13. mcli/lib/config/__init__.py +0 -1
  14. mcli/lib/erd/__init__.py +0 -25
  15. mcli/lib/files/__init__.py +0 -0
  16. mcli/lib/fs/__init__.py +0 -1
  17. mcli/lib/logger/__init__.py +0 -3
  18. mcli/lib/performance/__init__.py +0 -17
  19. mcli/lib/pickles/__init__.py +0 -1
  20. mcli/lib/secrets/__init__.py +0 -10
  21. mcli/lib/shell/__init__.py +0 -0
  22. mcli/lib/toml/__init__.py +0 -1
  23. mcli/lib/watcher/__init__.py +0 -0
  24. mcli/ml/__init__.py +0 -16
  25. mcli/ml/api/__init__.py +0 -30
  26. mcli/ml/api/routers/__init__.py +0 -27
  27. mcli/ml/auth/__init__.py +0 -41
  28. mcli/ml/backtesting/__init__.py +0 -33
  29. mcli/ml/cli/__init__.py +0 -5
  30. mcli/ml/config/__init__.py +0 -33
  31. mcli/ml/configs/__init__.py +0 -16
  32. mcli/ml/dashboard/__init__.py +0 -12
  33. mcli/ml/dashboard/components/__init__.py +0 -7
  34. mcli/ml/dashboard/pages/__init__.py +0 -6
  35. mcli/ml/data_ingestion/__init__.py +0 -29
  36. mcli/ml/database/__init__.py +0 -40
  37. mcli/ml/experimentation/__init__.py +0 -29
  38. mcli/ml/features/__init__.py +0 -39
  39. mcli/ml/mlops/__init__.py +0 -19
  40. mcli/ml/models/__init__.py +0 -90
  41. mcli/ml/monitoring/__init__.py +0 -25
  42. mcli/ml/optimization/__init__.py +0 -27
  43. mcli/ml/predictions/__init__.py +0 -5
  44. mcli/ml/preprocessing/__init__.py +0 -24
  45. mcli/ml/scripts/__init__.py +0 -1
  46. mcli/ml/serving/__init__.py +0 -1
  47. mcli/ml/trading/__init__.py +0 -63
  48. mcli/ml/training/__init__.py +0 -7
  49. mcli/mygroup/__init__.py +0 -3
  50. mcli/public/__init__.py +0 -1
  51. mcli/public/commands/__init__.py +0 -2
  52. mcli/self/__init__.py +0 -3
  53. mcli/workflow/__init__.py +0 -0
  54. mcli/workflow/daemon/__init__.py +0 -15
  55. mcli/workflow/dashboard/__init__.py +0 -5
  56. mcli/workflow/docker/__init__.py +0 -0
  57. mcli/workflow/file/__init__.py +0 -0
  58. mcli/workflow/gcloud/__init__.py +0 -1
  59. mcli/workflow/git_commit/__init__.py +0 -0
  60. mcli/workflow/interview/__init__.py +0 -0
  61. mcli/workflow/notebook/__init__.py +0 -16
  62. mcli/workflow/registry/__init__.py +0 -0
  63. mcli/workflow/repo/__init__.py +0 -0
  64. mcli/workflow/scheduler/__init__.py +0 -25
  65. mcli/workflow/search/__init__.py +0 -0
  66. mcli/workflow/secrets/__init__.py +0 -4
  67. mcli/workflow/sync/__init__.py +0 -5
  68. mcli/workflow/videos/__init__.py +0 -1
  69. mcli/workflow/wakatime/__init__.py +0 -80
  70. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/WHEEL +0 -0
  71. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/entry_points.txt +0 -0
  72. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/licenses/LICENSE +0 -0
  73. {mcli_framework-7.11.3.dist-info → mcli_framework-7.11.4.dist-info}/top_level.txt +0 -0
@@ -1,63 +0,0 @@
1
- """Trading module for portfolio management and trade execution"""
2
-
3
- from mcli.ml.trading.alpaca_client import (
4
- AlpacaTradingClient,
5
- create_trading_client,
6
- get_alpaca_config_from_env,
7
- )
8
- from mcli.ml.trading.models import ( # Enums; Database models; Pydantic models
9
- OrderCreate,
10
- OrderResponse,
11
- OrderSide,
12
- OrderStatus,
13
- OrderType,
14
- Portfolio,
15
- PortfolioCreate,
16
- PortfolioPerformanceSnapshot,
17
- PortfolioResponse,
18
- PortfolioType,
19
- Position,
20
- PositionResponse,
21
- PositionSide,
22
- RiskLevel,
23
- TradingAccount,
24
- TradingAccountCreate,
25
- TradingOrder,
26
- TradingSignal,
27
- TradingSignalResponse,
28
- )
29
- from mcli.ml.trading.paper_trading import PaperTradingEngine
30
- from mcli.ml.trading.risk_management import RiskManager
31
- from mcli.ml.trading.trading_service import TradingService
32
-
33
- __all__ = [
34
- # Enums
35
- "OrderStatus",
36
- "OrderType",
37
- "OrderSide",
38
- "PositionSide",
39
- "PortfolioType",
40
- "RiskLevel",
41
- # Database models
42
- "TradingAccount",
43
- "Portfolio",
44
- "Position",
45
- "TradingOrder",
46
- "PortfolioPerformanceSnapshot",
47
- "TradingSignal",
48
- # Pydantic models
49
- "TradingAccountCreate",
50
- "PortfolioCreate",
51
- "OrderCreate",
52
- "PositionResponse",
53
- "OrderResponse",
54
- "PortfolioResponse",
55
- "TradingSignalResponse",
56
- # Services
57
- "TradingService",
58
- "AlpacaTradingClient",
59
- "create_trading_client",
60
- "get_alpaca_config_from_env",
61
- "RiskManager",
62
- "PaperTradingEngine",
63
- ]
@@ -1,7 +0,0 @@
1
- """ML model training module"""
2
-
3
- from .train_model import PoliticianTradingNet, fetch_training_data
4
- from .train_model import main as train_model
5
- from .train_model import prepare_dataset
6
-
7
- __all__ = ["PoliticianTradingNet", "train_model", "fetch_training_data", "prepare_dataset"]
mcli/mygroup/__init__.py DELETED
@@ -1,3 +0,0 @@
1
- """
2
- Mygroup commands for mcli.
3
- """
mcli/public/__init__.py DELETED
@@ -1 +0,0 @@
1
- # logger.info("I am in mcli.public.__init__.py")
@@ -1,2 +0,0 @@
1
- # User-generated commands directory
2
- # Commands created through the MCLI chat interface are stored here
mcli/self/__init__.py DELETED
@@ -1,3 +0,0 @@
1
- """
2
- Self-management module for mcli.
3
- """
mcli/workflow/__init__.py DELETED
File without changes
@@ -1,15 +0,0 @@
1
- """
2
- Daemon service for command management and execution.
3
-
4
- This module provides a background daemon service that can store, manage, and execute
5
- commands written in various programming languages (Python, Node.js, Lua, Shell).
6
- Commands are stored in a SQLite database with embeddings for similarity search and
7
- hierarchical grouping.
8
-
9
- The daemon CLI commands are now loaded from portable JSON files in ~/.mcli/commands/
10
- """
11
-
12
- from .daemon import Command, CommandExecutor, DaemonService
13
-
14
- # Export main components
15
- __all__ = ["Command", "CommandExecutor", "DaemonService"]
@@ -1,5 +0,0 @@
1
- """Dashboard workflow module."""
2
-
3
- from .dashboard_cmd import dashboard
4
-
5
- __all__ = ["dashboard"]
File without changes
File without changes
@@ -1 +0,0 @@
1
- from .gcloud import gcloud
File without changes
File without changes
@@ -1,16 +0,0 @@
1
- """
2
- MCLI Workflow Notebook System
3
-
4
- Visual editing of workflow files using Jupyter-compatible notebook format
5
- with Monaco editor support.
6
- """
7
-
8
- from .converter import WorkflowConverter
9
- from .schema import NotebookCell, NotebookMetadata, WorkflowNotebook
10
-
11
- __all__ = [
12
- "NotebookCell",
13
- "NotebookMetadata",
14
- "WorkflowNotebook",
15
- "WorkflowConverter",
16
- ]
File without changes
File without changes
@@ -1,25 +0,0 @@
1
- """
2
- MCLI Scheduler Module
3
-
4
- A robust cron-like job scheduling system with the following features:
5
- - Cron expression parsing and job scheduling
6
- - Job monitoring and persistence across restarts
7
- - JSON API for frontend integration
8
- - System automation capabilities
9
- - Desktop file cleanup and management
10
- """
11
-
12
- from .cron_parser import CronExpression
13
- from .job import JobStatus, ScheduledJob
14
- from .monitor import JobMonitor
15
- from .persistence import JobStorage
16
- from .scheduler import JobScheduler
17
-
18
- __all__ = [
19
- "JobScheduler",
20
- "ScheduledJob",
21
- "JobStatus",
22
- "CronExpression",
23
- "JobStorage",
24
- "JobMonitor",
25
- ]
File without changes
@@ -1,4 +0,0 @@
1
- """Secrets workflow - migrated from lib.secrets"""
2
- from .secrets_cmd import secrets
3
-
4
- __all__ = ["secrets"]
@@ -1,5 +0,0 @@
1
- """Multi-cloud sync module for mcli workflow system."""
2
-
3
- from .sync_cmd import sync
4
-
5
- __all__ = ["sync"]
@@ -1 +0,0 @@
1
- # Videos workflow module
@@ -1,80 +0,0 @@
1
- import os
2
-
3
- import click
4
-
5
- # from mcli.types.watcher.watcher import watch
6
- from mcli.lib.watcher import watcher
7
-
8
- # from mcli.util.db.db import readDB
9
-
10
- """
11
- Source of Truth for the bundle command.
12
- c3 ui -u BA:BA -t $OE_C3_TENANT -g $OE_C3_TAG -c $OE_C3_PACKAGE -W $OE_C3_UI_WORK_DIR -e http://localhost:8080 --log-dir $OE_C3_UI_LOGS_DIR --out-dir $OE_C3_UI_OUT_DIR -a provision
13
-
14
-
15
- NODE_TLS_REJECT_UNAUTHORIZED=0 c3 ui --with-tests -W ~/c3/UiWorkingDirectory -e http://localhost:8080 --bundler-port 50082 -t operationalEnergy:dev -c operationalEnergyDemo -a . -T 303349a1bbcdbd5fd33d96ce1a34fa68b6b3cb24378cca4441c67718d1b670f4b092
16
-
17
- NODE_TLS_REJECT_UNAUTHORIZED=0 c3 prov tag -t operationalEnergy:dev -c operationalEnergyDemo -T 303349a1bbcdbd5fd33d96ce1a34fa68b6b3cb24378cca4441c67718d1b670f4b092 -e http://localhost:8080 -r --verbose
18
-
19
-
20
- NOTE: Info on getting UI artifacts: https://c3energy.atlassian.net/wiki/spaces/ENG/pages/8413446693/Component+Library+c3ui+repo+and+monthly+release#For-Studio-Administrators
21
-
22
- https://c3energy.atlassian.net/wiki/spaces/~63065ed547d60b7107ed59f8/pages/8906934405/8.6+React+18+ui+upgrade
23
-
24
- """
25
-
26
- C3LI_PACKAGES_TO_SYNC = [os.environ.get("C3LI_PACKAGES_TO_SYNC")]
27
- C3LI_PATH_TO_PACKAGE_REPO = os.environ.get("C3LI_PATH_TO_PACKAGE_REPO")
28
- C3LI_UNAME = os.environ.get("C3LI_UNAME")
29
-
30
-
31
- # TODO: To implement / integrate ReactJS version of c3 packages
32
- @click.group(name="ui")
33
- def bundle():
34
- """ui utility - use this to interact with c3 ui components"""
35
- pass
36
-
37
-
38
- @click.command(name="provision")
39
- def provision():
40
- """provision utility - use this to provision your c3 package"""
41
- pass
42
-
43
-
44
- @click.command(name="v8")
45
- @click.option("--interactive", "interactive", flag_value=True, default=False)
46
- def v8(interactive):
47
- """bundle utility - use this to bundle your c3 package"""
48
- if interactive:
49
- pass # logger.info("Bundling in interactive mode")
50
- else:
51
- # Dummy fallback for test pass
52
- pass
53
-
54
-
55
- @click.command(name="v7")
56
- @click.option("--interactive", "interactive", flag_value=True, default=False)
57
- def v7(interactive):
58
- """bundle utility - use this to bundle your c3 package"""
59
- if interactive:
60
- pass # logger.info("Bundling in interactive mode")
61
- pass
62
-
63
-
64
- @click.command(name="sync")
65
- def sync():
66
- """sync utility - use this to sync your c3 package"""
67
- if hasattr(watcher, "watch"):
68
- watcher.watch(C3LI_PACKAGES_TO_SYNC, C3LI_PATH_TO_PACKAGE_REPO)
69
- else:
70
- # Dummy fallback for test pass
71
- pass
72
- pass
73
-
74
-
75
- bundle.add_command(provision)
76
- bundle.add_command(bundle)
77
- bundle.add_command(sync)
78
-
79
- if __name__ == "__main__":
80
- bundle()