alphai 0.2.0__tar.gz → 0.2.1__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.
Files changed (30) hide show
  1. {alphai-0.2.0 → alphai-0.2.1}/PKG-INFO +1 -1
  2. {alphai-0.2.0 → alphai-0.2.1}/pyproject.toml +1 -1
  3. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/__init__.py +1 -1
  4. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/client.py +2 -2
  5. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/notebooks.py +1 -1
  6. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/PKG-INFO +1 -1
  7. {alphai-0.2.0 → alphai-0.2.1}/README.md +0 -0
  8. {alphai-0.2.0 → alphai-0.2.1}/setup.cfg +0 -0
  9. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/auth.py +0 -0
  10. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/cleanup.py +0 -0
  11. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/cli.py +0 -0
  12. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/__init__.py +0 -0
  13. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/config.py +0 -0
  14. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/docker.py +0 -0
  15. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/jupyter.py +0 -0
  16. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/orgs.py +0 -0
  17. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/commands/projects.py +0 -0
  18. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/config.py +0 -0
  19. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/docker.py +0 -0
  20. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/exceptions.py +0 -0
  21. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/jupyter_manager.py +0 -0
  22. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/notebook_renderer.py +0 -0
  23. {alphai-0.2.0 → alphai-0.2.1}/src/alphai/utils.py +0 -0
  24. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/SOURCES.txt +0 -0
  25. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/dependency_links.txt +0 -0
  26. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/entry_points.txt +0 -0
  27. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/requires.txt +0 -0
  28. {alphai-0.2.0 → alphai-0.2.1}/src/alphai.egg-info/top_level.txt +0 -0
  29. {alphai-0.2.0 → alphai-0.2.1}/tests/test_cleanup.py +0 -0
  30. {alphai-0.2.0 → alphai-0.2.1}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alphai
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A CLI tool and Python package for the runalph.ai platform
5
5
  Author-email: Andrew Chang <andrew@runalph.ai>
6
6
  Project-URL: Homepage, https://runalph.ai
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "alphai"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "A CLI tool and Python package for the runalph.ai platform"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  """alphai - A CLI tool and Python package for the runalph.ai platform."""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.1"
4
4
  __author__ = "American Data Science"
5
5
  __email__ = "support@americandatascience.com"
6
6
 
@@ -244,8 +244,8 @@ class AlphAIClient:
244
244
  else:
245
245
  self.console.print("\n[bold yellow]Quick Start:[/bold yellow]")
246
246
  self.console.print(" [cyan]alphai jupyter lab[/cyan] Start Jupyter Lab with cloud sync")
247
- self.console.print(" [cyan]alphai nb list[/cyan] List your notebooks")
248
- self.console.print(" [cyan]alphai orgs list[/cyan] List your organizations")
247
+ self.console.print(" [cyan]alphai nb[/cyan] List your notebooks")
248
+ self.console.print(" [cyan]alphai orgs[/cyan] List your organizations")
249
249
  self.console.print(" [cyan]alphai --help[/cyan] Show all commands")
250
250
 
251
251
  def create_tunnel(
@@ -23,7 +23,7 @@ logger = get_logger(__name__)
23
23
  def get_api_client(config: Config) -> httpx.Client:
24
24
  """Create an HTTP client for API calls."""
25
25
  return httpx.Client(
26
- base_url=config.api_url.rstrip('/api') if config.api_url.endswith('/api') else config.api_url,
26
+ base_url=config.base_url,
27
27
  headers={
28
28
  "Authorization": f"Bearer {config.bearer_token}",
29
29
  "Content-Type": "application/json",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alphai
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A CLI tool and Python package for the runalph.ai platform
5
5
  Author-email: Andrew Chang <andrew@runalph.ai>
6
6
  Project-URL: Homepage, https://runalph.ai
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes