toolsconnector 0.1.0__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.
- toolsconnector-0.1.0/.gitignore +47 -0
- toolsconnector-0.1.0/CHANGELOG.md +62 -0
- toolsconnector-0.1.0/CONTRIBUTING.md +179 -0
- toolsconnector-0.1.0/LICENSE +200 -0
- toolsconnector-0.1.0/NOTICE +13 -0
- toolsconnector-0.1.0/PKG-INFO +582 -0
- toolsconnector-0.1.0/README.md +433 -0
- toolsconnector-0.1.0/docs/API.md +317 -0
- toolsconnector-0.1.0/docs/ARCHITECTURE_FAQ.md +305 -0
- toolsconnector-0.1.0/docs/README.md +63 -0
- toolsconnector-0.1.0/docs/SUMMARY.md +48 -0
- toolsconnector-0.1.0/docs/connectors/README.md +52 -0
- toolsconnector-0.1.0/docs/connectors/ai-ml.md +82 -0
- toolsconnector-0.1.0/docs/connectors/code-platforms.md +61 -0
- toolsconnector-0.1.0/docs/connectors/communication.md +201 -0
- toolsconnector-0.1.0/docs/connectors/crm.md +143 -0
- toolsconnector-0.1.0/docs/connectors/database.md +142 -0
- toolsconnector-0.1.0/docs/connectors/devops.md +143 -0
- toolsconnector-0.1.0/docs/connectors/finance.md +59 -0
- toolsconnector-0.1.0/docs/connectors/project-management.md +115 -0
- toolsconnector-0.1.0/docs/connectors/storage.md +63 -0
- toolsconnector-0.1.0/docs/guides/adding-connector.md +333 -0
- toolsconnector-0.1.0/docs/guides/ai-frameworks.md +244 -0
- toolsconnector-0.1.0/docs/guides/cli.md +135 -0
- toolsconnector-0.1.0/docs/guides/credentials.md +118 -0
- toolsconnector-0.1.0/docs/guides/installation.md +93 -0
- toolsconnector-0.1.0/docs/guides/mcp-server.md +146 -0
- toolsconnector-0.1.0/docs/guides/quickstart.md +136 -0
- toolsconnector-0.1.0/docs/guides/resilience.md +164 -0
- toolsconnector-0.1.0/examples/01_basic_usage.py +41 -0
- toolsconnector-0.1.0/examples/02_mcp_server.py +36 -0
- toolsconnector-0.1.0/examples/03_openai_function_calling.py +67 -0
- toolsconnector-0.1.0/examples/04_anthropic_tool_use.py +56 -0
- toolsconnector-0.1.0/examples/05_multi_connector.py +42 -0
- toolsconnector-0.1.0/examples/06_cli_usage.sh +28 -0
- toolsconnector-0.1.0/examples/07_multi_tenant.py +48 -0
- toolsconnector-0.1.0/examples/08_rest_api.py +36 -0
- toolsconnector-0.1.0/examples/09_health_check.py +36 -0
- toolsconnector-0.1.0/examples/README.md +53 -0
- toolsconnector-0.1.0/pyproject.toml +217 -0
- toolsconnector-0.1.0/src/toolsconnector/__init__.py +3 -0
- toolsconnector-0.1.0/src/toolsconnector/codegen/__init__.py +17 -0
- toolsconnector-0.1.0/src/toolsconnector/codegen/spec_extractor.py +167 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/TEMPLATE.md +116 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/__init__.py +1 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/airtable/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/airtable/__init__.py +15 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/airtable/connector.py +934 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/airtable/types.py +75 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/anthropic_connector/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/anthropic_connector/__init__.py +16 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/anthropic_connector/connector.py +493 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/anthropic_connector/types.py +96 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/asana/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/asana/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/asana/connector.py +1136 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/asana/types.py +153 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/auth0/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/auth0/__init__.py +13 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/auth0/connector.py +847 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/auth0/types.py +62 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/calendly/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/calendly/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/calendly/connector.py +844 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/calendly/types.py +125 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/cloudflare/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/cloudflare/__init__.py +14 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/cloudflare/connector.py +737 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/cloudflare/types.py +100 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/confluence/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/confluence/__init__.py +21 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/confluence/connector.py +889 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/confluence/types.py +78 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/datadog/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/datadog/__init__.py +21 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/datadog/connector.py +742 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/datadog/types.py +115 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/discord/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/discord/__init__.py +27 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/discord/connector.py +777 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/discord/types.py +181 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/dockerhub/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/dockerhub/__init__.py +14 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/dockerhub/connector.py +636 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/dockerhub/types.py +86 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/figma/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/figma/__init__.py +33 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/figma/_parsers.py +257 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/figma/connector.py +711 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/figma/types.py +173 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/firestore/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/firestore/__init__.py +21 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/firestore/connector.py +945 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/firestore/types.py +78 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/freshdesk/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/freshdesk/__init__.py +21 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/freshdesk/connector.py +804 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/freshdesk/types.py +150 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gcalendar/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gcalendar/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gcalendar/connector.py +839 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gcalendar/types.py +150 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdocs/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdocs/__init__.py +12 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdocs/connector.py +246 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdocs/types.py +35 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdrive/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdrive/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdrive/connector.py +939 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gdrive/types.py +138 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/github/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/github/__init__.py +33 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/github/_parsers.py +282 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/github/connector.py +1318 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/github/types.py +340 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gitlab/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gitlab/__init__.py +37 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gitlab/_parsers.py +267 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gitlab/connector.py +864 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gitlab/types.py +286 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gmail/README.md +147 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gmail/__init__.py +35 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gmail/_helpers.py +250 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gmail/connector.py +1180 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gmail/types.py +178 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gsheets/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gsheets/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gsheets/connector.py +674 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gsheets/types.py +83 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gtasks/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gtasks/__init__.py +12 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gtasks/connector.py +464 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/gtasks/types.py +41 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/hubspot/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/hubspot/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/hubspot/_helpers.py +86 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/hubspot/connector.py +602 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/hubspot/types.py +163 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/intercom/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/intercom/__init__.py +19 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/intercom/connector.py +630 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/intercom/types.py +134 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/jira/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/jira/__init__.py +37 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/jira/_helpers.py +211 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/jira/connector.py +997 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/jira/types.py +196 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/linear/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/linear/__init__.py +27 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/linear/_queries.py +124 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/linear/connector.py +840 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/linear/types.py +146 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mailchimp/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mailchimp/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mailchimp/_parsers.py +161 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mailchimp/connector.py +874 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mailchimp/types.py +163 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mixpanel/README.md +109 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mixpanel/__init__.py +19 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mixpanel/connector.py +656 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mixpanel/types.py +102 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mongodb/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mongodb/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mongodb/connector.py +650 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/mongodb/types.py +70 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/notion/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/notion/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/notion/_helpers.py +104 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/notion/connector.py +634 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/notion/types.py +143 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/okta/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/okta/__init__.py +15 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/okta/connector.py +881 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/okta/types.py +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/openai_connector/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/openai_connector/__init__.py +33 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/openai_connector/connector.py +1138 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/openai_connector/types.py +266 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/outlook/README.md +114 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/outlook/__init__.py +31 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/outlook/_helpers.py +249 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/outlook/connector.py +833 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/outlook/types.py +179 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pagerduty/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pagerduty/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pagerduty/connector.py +692 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pagerduty/types.py +164 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pinecone/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pinecone/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pinecone/connector.py +624 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/pinecone/types.py +142 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/plaid/README.md +109 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/plaid/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/plaid/connector.py +784 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/plaid/types.py +160 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/rabbitmq/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/rabbitmq/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/rabbitmq/connector.py +690 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/rabbitmq/types.py +119 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/redis_connector/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/redis_connector/__init__.py +12 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/redis_connector/connector.py +398 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/redis_connector/types.py +37 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/README.md +109 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/__init__.py +37 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/_helpers.py +168 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/_signing.py +144 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/connector.py +855 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/s3/types.py +173 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/salesforce/README.md +115 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/salesforce/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/salesforce/_helpers.py +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/salesforce/connector.py +627 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/salesforce/types.py +117 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/segment/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/segment/__init__.py +13 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/segment/connector.py +606 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/segment/types.py +85 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sendgrid/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sendgrid/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sendgrid/connector.py +766 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sendgrid/types.py +158 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/shopify/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/shopify/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/shopify/_parsers.py +301 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/shopify/connector.py +973 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/shopify/types.py +212 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/slack/README.md +115 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/slack/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/slack/connector.py +1559 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/slack/types.py +261 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sqs/README.md +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sqs/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sqs/connector.py +664 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/sqs/types.py +84 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/README.md +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/__init__.py +47 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/_helpers.py +65 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/_parsers.py +434 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/connector.py +1285 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/stripe/types.py +371 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/supabase/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/supabase/__init__.py +13 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/supabase/connector.py +591 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/supabase/types.py +49 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/teams/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/teams/__init__.py +27 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/teams/connector.py +683 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/teams/types.py +110 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/telegram/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/telegram/__init__.py +21 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/telegram/connector.py +806 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/telegram/types.py +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/trello/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/trello/__init__.py +27 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/trello/_parsers.py +183 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/trello/connector.py +677 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/trello/types.py +131 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/twilio/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/twilio/__init__.py +29 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/twilio/_parsers.py +91 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/twilio/connector.py +783 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/twilio/types.py +210 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/vercel/README.md +112 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/vercel/__init__.py +14 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/vercel/connector.py +582 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/vercel/types.py +99 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/webhook/README.md +104 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/webhook/__init__.py +12 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/webhook/connector.py +567 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/webhook/types.py +41 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/zendesk/README.md +113 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/zendesk/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/zendesk/_parsers.py +111 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/zendesk/connector.py +636 -0
- toolsconnector-0.1.0/src/toolsconnector/connectors/zendesk/types.py +123 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/__init__.py +92 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/api.py +210 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/auth.py +152 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/base.py +98 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/config.py +94 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/connector.py +123 -0
- toolsconnector-0.1.0/src/toolsconnector/errors/transport.py +127 -0
- toolsconnector-0.1.0/src/toolsconnector/health/__init__.py +13 -0
- toolsconnector-0.1.0/src/toolsconnector/health/checker.py +229 -0
- toolsconnector-0.1.0/src/toolsconnector/health/monitor.py +128 -0
- toolsconnector-0.1.0/src/toolsconnector/keystore/__init__.py +24 -0
- toolsconnector-0.1.0/src/toolsconnector/keystore/base.py +69 -0
- toolsconnector-0.1.0/src/toolsconnector/keystore/env.py +94 -0
- toolsconnector-0.1.0/src/toolsconnector/keystore/local.py +201 -0
- toolsconnector-0.1.0/src/toolsconnector/keystore/memory.py +96 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/_sync.py +74 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/action.py +286 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/__init__.py +36 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/api_key.py +101 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/base.py +109 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/basic.py +76 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/bearer.py +65 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/manager.py +208 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/auth/oauth2.py +269 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/base.py +252 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/context.py +35 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/__init__.py +36 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/auth.py +90 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/base.py +119 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/logging.py +106 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/rate_limit.py +120 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/middleware/retry.py +131 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/pagination/__init__.py +23 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/pagination/base.py +50 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/pagination/cursor.py +80 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/pagination/offset.py +108 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/pagination/token.py +87 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/protocol/__init__.py +25 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/protocol/base.py +76 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/protocol/graphql.py +139 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/protocol/rest.py +173 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/protocol/websocket.py +186 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/serialization/__init__.py +0 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/transport/__init__.py +19 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/transport/base.py +72 -0
- toolsconnector-0.1.0/src/toolsconnector/runtime/transport/http.py +159 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/__init__.py +30 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_circuit_breaker.py +106 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_credentials.py +77 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_discovery.py +149 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_filtering.py +136 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_serialization.py +77 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/_validation.py +83 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/adapters.py +87 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/cli.py +342 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/mcp.py +97 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/rest.py +155 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/schema.py +71 -0
- toolsconnector-0.1.0/src/toolsconnector/serve/toolkit.py +958 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/__init__.py +56 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/action.py +94 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/auth.py +119 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/connector.py +137 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/errors.py +75 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/pagination.py +97 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/types.py +27 -0
- toolsconnector-0.1.0/src/toolsconnector/spec/version.py +3 -0
- toolsconnector-0.1.0/src/toolsconnector/types/__init__.py +30 -0
- toolsconnector-0.1.0/src/toolsconnector/types/common.py +31 -0
- toolsconnector-0.1.0/src/toolsconnector/types/credentials.py +76 -0
- toolsconnector-0.1.0/src/toolsconnector/types/file.py +307 -0
- toolsconnector-0.1.0/src/toolsconnector/types/paginated.py +176 -0
- toolsconnector-0.1.0/tests/__init__.py +0 -0
- toolsconnector-0.1.0/tests/conformance/__init__.py +0 -0
- toolsconnector-0.1.0/tests/conformance/test_import_boundaries.py +124 -0
- toolsconnector-0.1.0/tests/conftest.py +12 -0
- toolsconnector-0.1.0/tests/contract/__init__.py +0 -0
- toolsconnector-0.1.0/tests/integration/__init__.py +0 -0
- toolsconnector-0.1.0/tests/unit/__init__.py +0 -0
- toolsconnector-0.1.0/tests/unit/test_connectors.py +265 -0
- toolsconnector-0.1.0/tests/unit/test_errors.py +130 -0
- toolsconnector-0.1.0/tests/unit/test_keystore.py +95 -0
- toolsconnector-0.1.0/tests/unit/test_runtime_action.py +179 -0
- toolsconnector-0.1.0/tests/unit/test_serve_circuit_breaker.py +96 -0
- toolsconnector-0.1.0/tests/unit/test_serve_credentials.py +81 -0
- toolsconnector-0.1.0/tests/unit/test_serve_discovery.py +82 -0
- toolsconnector-0.1.0/tests/unit/test_serve_filtering.py +91 -0
- toolsconnector-0.1.0/tests/unit/test_serve_schema.py +92 -0
- toolsconnector-0.1.0/tests/unit/test_serve_toolkit.py +140 -0
- toolsconnector-0.1.0/tests/unit/test_serve_validation.py +92 -0
- toolsconnector-0.1.0/tests/unit/test_spec.py +197 -0
- toolsconnector-0.1.0/tests/unit/test_types.py +133 -0
- toolsconnector-0.1.0/toolsconnector-mcp/pyproject.toml +18 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.egg-info/
|
|
6
|
+
dist/
|
|
7
|
+
build/
|
|
8
|
+
*.egg
|
|
9
|
+
.eggs/
|
|
10
|
+
|
|
11
|
+
# Virtual environments
|
|
12
|
+
.venv/
|
|
13
|
+
venv/
|
|
14
|
+
ENV/
|
|
15
|
+
|
|
16
|
+
# IDE
|
|
17
|
+
.idea/
|
|
18
|
+
.vscode/
|
|
19
|
+
*.swp
|
|
20
|
+
*.swo
|
|
21
|
+
|
|
22
|
+
# OS
|
|
23
|
+
.DS_Store
|
|
24
|
+
Thumbs.db
|
|
25
|
+
|
|
26
|
+
# Testing
|
|
27
|
+
.coverage
|
|
28
|
+
htmlcov/
|
|
29
|
+
.pytest_cache/
|
|
30
|
+
.mypy_cache/
|
|
31
|
+
.ruff_cache/
|
|
32
|
+
|
|
33
|
+
# Orchestrator state
|
|
34
|
+
.agents/state.db
|
|
35
|
+
.agents/logs/*.log
|
|
36
|
+
|
|
37
|
+
# Credentials (NEVER commit)
|
|
38
|
+
*.env
|
|
39
|
+
.env.*
|
|
40
|
+
credentials.json
|
|
41
|
+
service-account.json
|
|
42
|
+
*.pem
|
|
43
|
+
*.key
|
|
44
|
+
|
|
45
|
+
# Distribution
|
|
46
|
+
*.whl
|
|
47
|
+
*.tar.gz
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to ToolsConnector are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.0] - 2026-04-05
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Core primitive: spec/, runtime/, errors/, types/, keystore/
|
|
13
|
+
- BaseConnector abstract class with @action decorator
|
|
14
|
+
- Auto-generated JSON Schema from type hints and docstrings
|
|
15
|
+
- Sync/async bridge: write async, users get both sync and async
|
|
16
|
+
- Protocol adapter layer (REST, with GraphQL/SOAP reserved)
|
|
17
|
+
- Auth providers: API key, Bearer, OAuth2, Basic
|
|
18
|
+
- Middleware pipeline: auth, retry, rate limit, logging
|
|
19
|
+
- Pagination strategies: cursor, token, offset
|
|
20
|
+
- PaginatedList[T] generic type with auto-pagination
|
|
21
|
+
- FileRef + StorageBackend for file handling
|
|
22
|
+
- Pluggable KeyStore (InMemory, Environment, LocalFile)
|
|
23
|
+
- Full error hierarchy with structured to_dict() for AI consumption
|
|
24
|
+
- 53 connectors with 1,137 real actions:
|
|
25
|
+
- Communication: Gmail, Slack, Discord, Outlook, Teams, Twilio, Telegram
|
|
26
|
+
- Code: GitHub, GitLab
|
|
27
|
+
- Project management: Jira, Asana, Linear, Trello
|
|
28
|
+
- Knowledge: Notion, Confluence
|
|
29
|
+
- CRM: HubSpot, Salesforce, Zendesk, Freshdesk, Intercom
|
|
30
|
+
- Finance: Stripe, Plaid
|
|
31
|
+
- Marketing: SendGrid, Mailchimp
|
|
32
|
+
- Storage: Google Drive, S3
|
|
33
|
+
- Database: Supabase, MongoDB, Airtable, Firestore, Redis
|
|
34
|
+
- DevOps: Datadog, PagerDuty, Vercel, Cloudflare, Docker Hub
|
|
35
|
+
- AI/ML: OpenAI, Anthropic, Pinecone
|
|
36
|
+
- Analytics: Mixpanel, Segment
|
|
37
|
+
- Message Queue: SQS, RabbitMQ
|
|
38
|
+
- Security: Okta, Auth0
|
|
39
|
+
- Productivity: Google Calendar, Calendly, Figma
|
|
40
|
+
- E-commerce: Shopify
|
|
41
|
+
- Custom: Generic Webhook
|
|
42
|
+
- Serve layer with ToolKit central object:
|
|
43
|
+
- MCP server generation (stdio, SSE, streamable-http)
|
|
44
|
+
- OpenAI function calling schema generator
|
|
45
|
+
- Anthropic tool use schema generator
|
|
46
|
+
- Google Gemini function declaration generator
|
|
47
|
+
- tc CLI command (list, actions, execute, serve)
|
|
48
|
+
- REST API exposure (optional starlette)
|
|
49
|
+
- Resilience:
|
|
50
|
+
- Circuit breaker per connector (open/closed/half-open)
|
|
51
|
+
- Pre-validation of arguments against JSON Schema
|
|
52
|
+
- Graceful degradation (one connector fails, others continue)
|
|
53
|
+
- Timeout budget cascading with deadline-aware retries
|
|
54
|
+
- Auto token refresh on TokenExpiredError
|
|
55
|
+
- Dry run mode for dangerous actions
|
|
56
|
+
- Actionable error messages (what, why, how to fix)
|
|
57
|
+
- Structured execution logging
|
|
58
|
+
- Tool filtering: include/exclude glob patterns, exclude_dangerous
|
|
59
|
+
- Enhanced tool descriptions with connector context prefix
|
|
60
|
+
- Agent Army Orchestrator (Claude Agent SDK)
|
|
61
|
+
- Architecture FAQ with 15 decision records
|
|
62
|
+
- CI/CD with GitHub Actions (lint, test, conformance, security)
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# Contributing to ToolsConnector
|
|
2
|
+
|
|
3
|
+
Thank you for your interest in contributing to ToolsConnector. This guide covers everything you need to add a new connector, fix a bug, or improve the core.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Clone and setup
|
|
9
|
+
git clone https://github.com/sachinshelke/ToolsConnector.git
|
|
10
|
+
cd toolsconnector
|
|
11
|
+
python -m venv .venv
|
|
12
|
+
source .venv/bin/activate
|
|
13
|
+
pip install -e ".[dev]"
|
|
14
|
+
|
|
15
|
+
# Run tests
|
|
16
|
+
PYTHONPATH=src pytest tests/ -v
|
|
17
|
+
|
|
18
|
+
# Lint
|
|
19
|
+
ruff check src/
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Adding a New Connector
|
|
23
|
+
|
|
24
|
+
This is the most common contribution. A connector is a Python package in `src/toolsconnector/connectors/` that wraps a tool's API.
|
|
25
|
+
|
|
26
|
+
### Step 1: Create the directory
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
mkdir -p src/toolsconnector/connectors/mytool
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Step 2: Define types (`types.py`)
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
from __future__ import annotations
|
|
36
|
+
from typing import Optional
|
|
37
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
38
|
+
|
|
39
|
+
class MyRecord(BaseModel):
|
|
40
|
+
"""A record from MyTool."""
|
|
41
|
+
model_config = ConfigDict(frozen=True)
|
|
42
|
+
|
|
43
|
+
id: str
|
|
44
|
+
name: str
|
|
45
|
+
created_at: Optional[str] = None
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Step 3: Build the connector (`connector.py`)
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
from __future__ import annotations
|
|
52
|
+
from typing import Optional, Any
|
|
53
|
+
import httpx
|
|
54
|
+
from toolsconnector.runtime import BaseConnector, action
|
|
55
|
+
from toolsconnector.spec.connector import ConnectorCategory, ProtocolType, RateLimitSpec
|
|
56
|
+
from toolsconnector.types import PaginatedList, PageState
|
|
57
|
+
from .types import MyRecord
|
|
58
|
+
|
|
59
|
+
class MyTool(BaseConnector):
|
|
60
|
+
"""Connect to MyTool to manage records."""
|
|
61
|
+
|
|
62
|
+
name = "mytool"
|
|
63
|
+
display_name = "MyTool"
|
|
64
|
+
category = ConnectorCategory.CUSTOM
|
|
65
|
+
protocol = ProtocolType.REST
|
|
66
|
+
base_url = "https://api.mytool.com/v1"
|
|
67
|
+
description = "Connect to MyTool to manage records."
|
|
68
|
+
_rate_limit_config = RateLimitSpec(rate=100, period=60, burst=20)
|
|
69
|
+
|
|
70
|
+
async def _setup(self) -> None:
|
|
71
|
+
self._client = httpx.AsyncClient(
|
|
72
|
+
base_url=self._base_url or self.base_url,
|
|
73
|
+
headers={"Authorization": f"Bearer {self._credentials}"},
|
|
74
|
+
timeout=self._timeout,
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
async def _teardown(self) -> None:
|
|
78
|
+
if hasattr(self, "_client"):
|
|
79
|
+
await self._client.aclose()
|
|
80
|
+
|
|
81
|
+
@action("List all records")
|
|
82
|
+
async def list_records(
|
|
83
|
+
self, limit: int = 10, offset: int = 0
|
|
84
|
+
) -> PaginatedList[MyRecord]:
|
|
85
|
+
"""List records from MyTool.
|
|
86
|
+
|
|
87
|
+
Args:
|
|
88
|
+
limit: Maximum records to return.
|
|
89
|
+
offset: Number of records to skip.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
Paginated list of records.
|
|
93
|
+
"""
|
|
94
|
+
response = await self._client.get(
|
|
95
|
+
"/records", params={"limit": limit, "offset": offset}
|
|
96
|
+
)
|
|
97
|
+
response.raise_for_status()
|
|
98
|
+
data = response.json()
|
|
99
|
+
items = [MyRecord(**r) for r in data.get("records", [])]
|
|
100
|
+
has_more = len(items) == limit
|
|
101
|
+
return PaginatedList(
|
|
102
|
+
items=items,
|
|
103
|
+
page_state=PageState(offset=offset + limit, has_more=has_more),
|
|
104
|
+
)
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Step 4: Create `__init__.py`
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
from .connector import MyTool
|
|
111
|
+
from .types import MyRecord
|
|
112
|
+
|
|
113
|
+
__all__ = ["MyTool", "MyRecord"]
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Step 5: Register in discovery
|
|
117
|
+
|
|
118
|
+
Add your connector to `src/toolsconnector/serve/_discovery.py`:
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
_KNOWN_CONNECTORS["mytool"] = "toolsconnector.connectors.mytool:MyTool"
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
And to `pyproject.toml`:
|
|
125
|
+
|
|
126
|
+
```toml
|
|
127
|
+
mytool = [] # or ["mytool-sdk>=1.0"] if it needs a dependency
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Step 6: Test
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
PYTHONPATH=src python -c "
|
|
134
|
+
from toolsconnector.connectors.mytool import MyTool
|
|
135
|
+
spec = MyTool.get_spec()
|
|
136
|
+
print(f'{spec.name}: {len(spec.actions)} actions')
|
|
137
|
+
for name, action in spec.actions.items():
|
|
138
|
+
print(f' {name}: {action.description}')
|
|
139
|
+
"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Connector Quality Checklist
|
|
143
|
+
|
|
144
|
+
Before submitting a PR, verify:
|
|
145
|
+
|
|
146
|
+
- [ ] All `@action` methods are `async def`
|
|
147
|
+
- [ ] All parameters have type hints (no bare `Any`)
|
|
148
|
+
- [ ] All parameters have descriptions in Google-style docstrings
|
|
149
|
+
- [ ] `connector.py` is under 500 lines
|
|
150
|
+
- [ ] Types use `ConfigDict(frozen=True)` for response models
|
|
151
|
+
- [ ] Uses `from __future__ import annotations`
|
|
152
|
+
- [ ] Uses `Optional[X]` for Pydantic fields (Python 3.9 compat)
|
|
153
|
+
- [ ] Dangerous actions marked with `dangerous=True`
|
|
154
|
+
- [ ] Rate limits declared via `_rate_limit_config`
|
|
155
|
+
- [ ] No credentials hardcoded
|
|
156
|
+
- [ ] `get_spec()` works without instantiation
|
|
157
|
+
- [ ] Tests pass: `pytest tests/ -v`
|
|
158
|
+
|
|
159
|
+
## Architecture Rules
|
|
160
|
+
|
|
161
|
+
- **spec/** imports nothing from other toolsconnector modules
|
|
162
|
+
- **connectors/** never imports from `serve/` or other connectors
|
|
163
|
+
- **serve/** reads metadata via `get_spec()`, never imports connector internals
|
|
164
|
+
- Core dependencies: only pydantic, httpx, docstring-parser
|
|
165
|
+
|
|
166
|
+
## Code Style
|
|
167
|
+
|
|
168
|
+
- Python 3.9+ compatible
|
|
169
|
+
- Lines under 100 characters
|
|
170
|
+
- Google-style docstrings with Args, Returns, Raises
|
|
171
|
+
- Ruff for linting: `ruff check src/`
|
|
172
|
+
|
|
173
|
+
## Pull Request Process
|
|
174
|
+
|
|
175
|
+
1. Fork the repo and create a branch
|
|
176
|
+
2. Make your changes
|
|
177
|
+
3. Ensure all tests pass
|
|
178
|
+
4. Submit a PR with a clear description
|
|
179
|
+
5. Core maintainers will review within 48 hours
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding any notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. Please also get an
|
|
186
|
+
information on the current year for the copyright.
|
|
187
|
+
|
|
188
|
+
Copyright 2026 ToolsConnector Contributors
|
|
189
|
+
|
|
190
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
191
|
+
you may not use this file except in compliance with the License.
|
|
192
|
+
You may obtain a copy of the License at
|
|
193
|
+
|
|
194
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
195
|
+
|
|
196
|
+
Unless required by applicable law or agreed to in writing, software
|
|
197
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
198
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
199
|
+
See the License for the specific language governing permissions and
|
|
200
|
+
limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
ToolsConnector
|
|
2
|
+
Copyright 2026 ToolsConnector Contributors
|
|
3
|
+
|
|
4
|
+
This product includes software developed by the ToolsConnector project
|
|
5
|
+
(https://github.com/sachinshelke/ToolsConnector).
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0.
|
|
8
|
+
|
|
9
|
+
Third-party components:
|
|
10
|
+
|
|
11
|
+
- Pydantic (MIT License) - https://github.com/pydantic/pydantic
|
|
12
|
+
- httpx (BSD License) - https://github.com/encode/httpx
|
|
13
|
+
- docstring-parser (MIT License) - https://github.com/rr-/docstring_parser
|