alphai 0.2.0__py3-none-any.whl → 0.2.1__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.
alphai/__init__.py CHANGED
@@ -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
 
alphai/client.py CHANGED
@@ -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
@@ -1,8 +1,8 @@
1
- alphai/__init__.py,sha256=bqujmQ7WrxKzmGVS_QFOJCTFi3u1EFzV4eaxiBv7uSE,1063
1
+ alphai/__init__.py,sha256=7_9cfGEY6jvsnaL_pnos6QidIO6UpDeJq55AUvcaKOg,1063
2
2
  alphai/auth.py,sha256=rmMlikW9M0wVlNb8FXixrvcemPLaKXFO3Ocaiijjge8,15589
3
3
  alphai/cleanup.py,sha256=JEgysHuvK0sR1X4M5u0mBdKB8Kz1KIyF7fhW0i4uU0Q,12250
4
4
  alphai/cli.py,sha256=HTSqjDOJPAGj4WqsCFavjUEGqx4rzQ_a6CahhfRyU04,4660
5
- alphai/client.py,sha256=RD6XnpBkHaJY2pqOxIouEHZxUmkSVVfg_43oIrbK8wA,18892
5
+ alphai/client.py,sha256=GloDcFWTreZrasHdbiHsQ5A9dr5Q8cUTv8YIcNf03Gg,18882
6
6
  alphai/config.py,sha256=b6494qVN_lN2Xuy64W7Ceo5fAnP5f97Z2wH5-lIHMQQ,3449
7
7
  alphai/docker.py,sha256=t86SnK2_QeQjqn3yisWLod5DBlDOAF05qpEZcFxYZD8,32387
8
8
  alphai/exceptions.py,sha256=ShSHxwc7WnsMu2ugRUxNgF4C9bipKu0_PvfoK7591dE,3401
@@ -13,11 +13,11 @@ alphai/commands/__init__.py,sha256=8ZFsPVBcT4KqgVv7xLI_uiv_Sb2FGDyStFF5Gcsjnd4,5
13
13
  alphai/commands/config.py,sha256=y_kIxoC7t0TV5pRVYP5pKCDz2xWybWv43PeA1R07L80,1780
14
14
  alphai/commands/docker.py,sha256=alDM2ZBhGGHRgayIwPz3gKkX8dLIPzNrBXlHq2_qi7s,23782
15
15
  alphai/commands/jupyter.py,sha256=UzKZvloB0J4iwri59PZ_EK_imXjKVDGvG4hyAUJ24Pk,13367
16
- alphai/commands/notebooks.py,sha256=flYKfVVTvlooB1ijFmSJLlK-j28RiphmCAP7JNbFl80,43264
16
+ alphai/commands/notebooks.py,sha256=vZK5EX-8wmvlFUwe66FjAWq1bQgDvOnV4OkvrT-vbjk,43195
17
17
  alphai/commands/orgs.py,sha256=qhcuXXTCfwxspe3SAgpaITyyqPye2747jPNz91ysHv4,735
18
18
  alphai/commands/projects.py,sha256=-udwF_cew5DUR9m_BhHjjm2cFEJb1HBtWeiKdzrNPlQ,988
19
- alphai-0.2.0.dist-info/METADATA,sha256=6x3WJ2pDWmrQxuxcvlclcJnJY5GtP_OdI1MgO0fV9S8,9634
20
- alphai-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- alphai-0.2.0.dist-info/entry_points.txt,sha256=ITOwv5erK-gjYw47KsOoENHvIAUW_ynEsEMLZ7GHZwA,43
22
- alphai-0.2.0.dist-info/top_level.txt,sha256=dFmybyT4Kzcgpsccun8RnBxkm9lK0Y0TPfaVe2FyxNY,7
23
- alphai-0.2.0.dist-info/RECORD,,
19
+ alphai-0.2.1.dist-info/METADATA,sha256=vLWfkhK2p2lhe16xF1AStAm8na_cNAJSy4romTwpCAY,9634
20
+ alphai-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ alphai-0.2.1.dist-info/entry_points.txt,sha256=ITOwv5erK-gjYw47KsOoENHvIAUW_ynEsEMLZ7GHZwA,43
22
+ alphai-0.2.1.dist-info/top_level.txt,sha256=dFmybyT4Kzcgpsccun8RnBxkm9lK0Y0TPfaVe2FyxNY,7
23
+ alphai-0.2.1.dist-info/RECORD,,
File without changes