Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A full reference for this library is available [here](./reference.md).
Instantiate and use the client with the following:

```python
from truefoundry import TrueFoundry
from truefoundry_sdk import TrueFoundry

client = TrueFoundry(
api_key="YOUR_API_KEY",
Expand All @@ -40,7 +40,7 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
```python
import asyncio

from truefoundry import AsyncTrueFoundry
from truefoundry_sdk import AsyncTrueFoundry

client = AsyncTrueFoundry(
api_key="YOUR_API_KEY",
Expand All @@ -65,7 +65,7 @@ When the API returns a non-success status code (4xx or 5xx response), a subclass
will be thrown.

```python
from truefoundry.core.api_error import ApiError
from truefoundry_sdk.core.api_error import ApiError

try:
client.v1.artifact_versions.get_signed_urls(...)
Expand All @@ -79,7 +79,7 @@ except ApiError as e:
Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.

```python
from truefoundry import TrueFoundry
from truefoundry_sdk import TrueFoundry

client = TrueFoundry(
api_key="YOUR_API_KEY",
Expand Down Expand Up @@ -121,7 +121,7 @@ The SDK defaults to a 60 second timeout. You can configure this with a timeout o

```python

from truefoundry import TrueFoundry
from truefoundry_sdk import TrueFoundry

client = TrueFoundry(
...,
Expand All @@ -141,7 +141,7 @@ You can override the `httpx` client to customize it for your use-case. Some comm
and transports.
```python
import httpx
from truefoundry import TrueFoundry
from truefoundry_sdk import TrueFoundry

client = TrueFoundry(
...,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "truefoundry-sdk"

[tool.poetry]
name = "truefoundry-sdk"
version = "0.0.1"
version = "0.0.2"
description = ""
readme = "README.md"
authors = []
Expand All @@ -27,7 +27,7 @@ classifiers = [
"Typing :: Typed"
]
packages = [
{ include = "truefoundry", from = "src"}
{ include = "truefoundry_sdk", from = "src"}
]

[project.urls]
Expand Down
Loading