Home / File/ __init__.py — anthropic-sdk-python Source File

__init__.py — anthropic-sdk-python Source File

Architecture documentation for __init__.py, a python file in the anthropic-sdk-python codebase. 16 imports, 1 dependents.

File python AnthropicClient 16 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  48bcc20e_babc_e84d_5930_20cba9e79312["__init__.py"]
  359adaa8_f938_4372_5c68_79f4564b6b10["__init__.py"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 359adaa8_f938_4372_5c68_79f4564b6b10
  4a949196_7222_6f5f_da12_31c9260bb10f["models.py"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 4a949196_7222_6f5f_da12_31c9260bb10f
  feefa0ea_204d_3792_0bc0_49d99e6cc984["Models"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> feefa0ea_204d_3792_0bc0_49d99e6cc984
  c46bbe0c_9ae7_3070_b751_905cdb25b6c0["AsyncModels"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> c46bbe0c_9ae7_3070_b751_905cdb25b6c0
  4788ebf7_1115_fbc0_0ca0_e99e972586c3["ModelsWithRawResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 4788ebf7_1115_fbc0_0ca0_e99e972586c3
  3b7253d9_b005_030b_a6ff_e92310a4173f["AsyncModelsWithRawResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 3b7253d9_b005_030b_a6ff_e92310a4173f
  4f024a1d_3ebd_05cf_f055_d793ad58410a["ModelsWithStreamingResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 4f024a1d_3ebd_05cf_f055_d793ad58410a
  d039c4f4_c981_4975_6cbe_b3b26ec15920["AsyncModelsWithStreamingResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> d039c4f4_c981_4975_6cbe_b3b26ec15920
  7397540d_94d0_f55d_a6bc_277bbdaede21["__init__.py"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 7397540d_94d0_f55d_a6bc_277bbdaede21
  f5340606_93f4_b0e0_a723_bb2136763e51["completions.py"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> f5340606_93f4_b0e0_a723_bb2136763e51
  3f9319c4_6f30_5159_c278_2ec1abd634e9["Completions"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 3f9319c4_6f30_5159_c278_2ec1abd634e9
  239057dd_0ecb_e90d_0d61_ae3f0bfadde4["AsyncCompletions"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> 239057dd_0ecb_e90d_0d61_ae3f0bfadde4
  f37eb494_e087_33cc_5a90_db73b52d4259["CompletionsWithRawResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> f37eb494_e087_33cc_5a90_db73b52d4259
  b611a148_ce8e_4428_7cf2_8c85f7ee1d91["AsyncCompletionsWithRawResponse"]
  48bcc20e_babc_e84d_5930_20cba9e79312 --> b611a148_ce8e_4428_7cf2_8c85f7ee1d91
  style 48bcc20e_babc_e84d_5930_20cba9e79312 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .beta import (
    Beta,
    AsyncBeta,
    BetaWithRawResponse,
    AsyncBetaWithRawResponse,
    BetaWithStreamingResponse,
    AsyncBetaWithStreamingResponse,
)
from .models import (
    Models,
    AsyncModels,
    ModelsWithRawResponse,
    AsyncModelsWithRawResponse,
    ModelsWithStreamingResponse,
    AsyncModelsWithStreamingResponse,
)
from .messages import (
    Messages,
    AsyncMessages,
    MessagesWithRawResponse,
    AsyncMessagesWithRawResponse,
    MessagesWithStreamingResponse,
    AsyncMessagesWithStreamingResponse,
)
from .completions import (
    Completions,
    AsyncCompletions,
    CompletionsWithRawResponse,
    AsyncCompletionsWithRawResponse,
    CompletionsWithStreamingResponse,
    AsyncCompletionsWithStreamingResponse,
)

__all__ = [
    "Completions",
    "AsyncCompletions",
    "CompletionsWithRawResponse",
    "AsyncCompletionsWithRawResponse",
    "CompletionsWithStreamingResponse",
    "AsyncCompletionsWithStreamingResponse",
    "Messages",
    "AsyncMessages",
    "MessagesWithRawResponse",
    "AsyncMessagesWithRawResponse",
    "MessagesWithStreamingResponse",
    "AsyncMessagesWithStreamingResponse",
    "Models",
    "AsyncModels",
    "ModelsWithRawResponse",
    "AsyncModelsWithRawResponse",
    "ModelsWithStreamingResponse",
    "AsyncModelsWithStreamingResponse",
    "Beta",
    "AsyncBeta",
    "BetaWithRawResponse",
    "AsyncBetaWithRawResponse",
    "BetaWithStreamingResponse",
    "AsyncBetaWithStreamingResponse",
]

Frequently Asked Questions

What does __init__.py do?
__init__.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does __init__.py depend on?
__init__.py imports 16 module(s): AsyncCompletions, AsyncCompletionsWithRawResponse, AsyncCompletionsWithStreamingResponse, AsyncModels, AsyncModelsWithRawResponse, AsyncModelsWithStreamingResponse, Completions, CompletionsWithRawResponse, and 8 more.
What files import __init__.py?
__init__.py is imported by 1 file(s): _client.py.
Where is __init__.py in the architecture?
__init__.py is located at src/anthropic/resources/__init__.py (domain: AnthropicClient, directory: src/anthropic/resources).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free