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

skills.py — anthropic-sdk-python Source File

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

File python AnthropicClient Authentication 24 imports 1 dependents 6 classes

Entity Profile

Dependency Diagram

graph LR
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c["skills.py"]
  b0511fad_5f65_5644_9720_343597f14399["b0511fad:5f65:5644:9720:343597f14399"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> b0511fad_5f65_5644_9720_343597f14399
  8f4235f7_1068_d73a_ef9a_a3e53fdce1e0["versions.py"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 8f4235f7_1068_d73a_ef9a_a3e53fdce1e0
  843974dc_2b09_9927_fd27_81ed9766a677["Versions"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 843974dc_2b09_9927_fd27_81ed9766a677
  715606f2_538f_39fc_0a99_548199c6e67a["AsyncVersions"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 715606f2_538f_39fc_0a99_548199c6e67a
  65b79246_942c_815c_06d7_d15541ee445c["VersionsWithRawResponse"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 65b79246_942c_815c_06d7_d15541ee445c
  5051a7dc_069a_ccb6_b13e_fb0bdb873abe["AsyncVersionsWithRawResponse"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 5051a7dc_069a_ccb6_b13e_fb0bdb873abe
  73cfed91_92ad_3dc8_cb15_9af478b61c93["VersionsWithStreamingResponse"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 73cfed91_92ad_3dc8_cb15_9af478b61c93
  8b01a9da_3d03_fdb0_9721_463af9af020e["AsyncVersionsWithStreamingResponse"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 8b01a9da_3d03_fdb0_9721_463af9af020e
  34d4400e_500b_e40c_6493_7f958f930374["_types"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 34d4400e_500b_e40c_6493_7f958f930374
  d36bbeb0_79ed_099a_33a2_e344d19d986d["_utils"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> d36bbeb0_79ed_099a_33a2_e344d19d986d
  8bb679f8_2b2b_283a_9404_4057f98bc647["_compat"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 8bb679f8_2b2b_283a_9404_4057f98bc647
  494a6071_377d_dae0_45f0_8b51ebc27294["_resource"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 494a6071_377d_dae0_45f0_8b51ebc27294
  f092fbcb_1f68_689a_30f5_c430914feae4["_response"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> f092fbcb_1f68_689a_30f5_c430914feae4
  584d7c01_96cb_5858_d804_19347b56dfd0["pagination"]
  838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c --> 584d7c01_96cb_5858_d804_19347b56dfd0
  style 838ab8e2_8763_65c1_65fc_cb3d8a4f7d3c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

from __future__ import annotations

from typing import List, Mapping, Optional, cast
from itertools import chain

import httpx

from .... import _legacy_response
from .versions import (
    Versions,
    AsyncVersions,
    VersionsWithRawResponse,
    AsyncVersionsWithRawResponse,
    VersionsWithStreamingResponse,
    AsyncVersionsWithStreamingResponse,
)
from ...._types import (
    Body,
    Omit,
    Query,
    Headers,
    NotGiven,
    FileTypes,
    SequenceNotStr,
    omit,
    not_given,
)
from ...._utils import (
    is_given,
    extract_files,
    maybe_transform,
    strip_not_given,
    deepcopy_minimal,
    async_maybe_transform,
)
from ...._compat import cached_property
from ...._resource import SyncAPIResource, AsyncAPIResource
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
from ....pagination import SyncPageCursor, AsyncPageCursor
from ....types.beta import skill_list_params, skill_create_params
from ...._base_client import AsyncPaginator, make_request_options
from ....types.anthropic_beta_param import AnthropicBetaParam
from ....types.beta.skill_list_response import SkillListResponse
from ....types.beta.skill_create_response import SkillCreateResponse
from ....types.beta.skill_delete_response import SkillDeleteResponse
from ....types.beta.skill_retrieve_response import SkillRetrieveResponse

__all__ = ["Skills", "AsyncSkills"]


class Skills(SyncAPIResource):
    @cached_property
    def versions(self) -> Versions:
        return Versions(self._client)

    @cached_property
    def with_raw_response(self) -> SkillsWithRawResponse:
        """
// ... (621 more lines)

Subdomains

Dependencies

Frequently Asked Questions

What does skills.py do?
skills.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain, Authentication subdomain.
What does skills.py depend on?
skills.py imports 24 module(s): AsyncVersions, AsyncVersionsWithRawResponse, AsyncVersionsWithStreamingResponse, Versions, VersionsWithRawResponse, VersionsWithStreamingResponse, _base_client, _compat, and 16 more.
What files import skills.py?
skills.py is imported by 1 file(s): __init__.py.
Where is skills.py in the architecture?
skills.py is located at src/anthropic/resources/beta/skills/skills.py (domain: AnthropicClient, subdomain: Authentication, directory: src/anthropic/resources/beta/skills).

Analyze Your Own Codebase

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

Try Supermodel Free