maivn-tools 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.
- maivn_tools-0.1.0/.github/workflows/publish-pypi.yml +42 -0
- maivn_tools-0.1.0/.gitignore +22 -0
- maivn_tools-0.1.0/.python-version +1 -0
- maivn_tools-0.1.0/CHANGELOG.md +13 -0
- maivn_tools-0.1.0/LICENSE +176 -0
- maivn_tools-0.1.0/NOTICE +4 -0
- maivn_tools-0.1.0/PKG-INFO +76 -0
- maivn_tools-0.1.0/README.md +35 -0
- maivn_tools-0.1.0/docs/AGENT_READY_PATTERN.md +169 -0
- maivn_tools-0.1.0/docs/api-policy.md +87 -0
- maivn_tools-0.1.0/docs/architecture.md +117 -0
- maivn_tools-0.1.0/docs/auth.md +138 -0
- maivn_tools-0.1.0/docs/connectors/ai-providers.md +401 -0
- maivn_tools-0.1.0/docs/connectors/analytics-bi.md +271 -0
- maivn_tools-0.1.0/docs/connectors/aws.md +198 -0
- maivn_tools-0.1.0/docs/connectors/cloud-observability.md +352 -0
- maivn_tools-0.1.0/docs/connectors/collaboration.md +264 -0
- maivn_tools-0.1.0/docs/connectors/commerce.md +277 -0
- maivn_tools-0.1.0/docs/connectors/crm.md +213 -0
- maivn_tools-0.1.0/docs/connectors/databases.md +298 -0
- maivn_tools-0.1.0/docs/connectors/dev-platforms.md +266 -0
- maivn_tools-0.1.0/docs/connectors/email-delivery.md +443 -0
- maivn_tools-0.1.0/docs/connectors/email.md +179 -0
- maivn_tools-0.1.0/docs/connectors/etl.md +221 -0
- maivn_tools-0.1.0/docs/connectors/google-productivity.md +149 -0
- maivn_tools-0.1.0/docs/connectors/google-workspace.md +302 -0
- maivn_tools-0.1.0/docs/connectors/hr.md +199 -0
- maivn_tools-0.1.0/docs/connectors/identity-security.md +438 -0
- maivn_tools-0.1.0/docs/connectors/knowledge-base.md +308 -0
- maivn_tools-0.1.0/docs/connectors/marketing-ads.md +240 -0
- maivn_tools-0.1.0/docs/connectors/microsoft-graph.md +264 -0
- maivn_tools-0.1.0/docs/connectors/microsoft-productivity.md +165 -0
- maivn_tools-0.1.0/docs/connectors/partner-hubs.md +193 -0
- maivn_tools-0.1.0/docs/connectors/payments.md +452 -0
- maivn_tools-0.1.0/docs/connectors/project-management.md +204 -0
- maivn_tools-0.1.0/docs/connectors/social-media.md +640 -0
- maivn_tools-0.1.0/docs/connectors/storage.md +223 -0
- maivn_tools-0.1.0/docs/connectors/support-itsm.md +187 -0
- maivn_tools-0.1.0/docs/connectors/trading.md +339 -0
- maivn_tools-0.1.0/docs/connectors/vector-stores.md +186 -0
- maivn_tools-0.1.0/docs/connectors/warehouses.md +136 -0
- maivn_tools-0.1.0/docs/events.md +110 -0
- maivn_tools-0.1.0/docs/files.md +114 -0
- maivn_tools-0.1.0/docs/generic-adapters.md +210 -0
- maivn_tools-0.1.0/docs/index.md +192 -0
- maivn_tools-0.1.0/docs/permissions.md +126 -0
- maivn_tools-0.1.0/docs/quickstart.md +131 -0
- maivn_tools-0.1.0/docs/release-checklist.md +65 -0
- maivn_tools-0.1.0/docs/runtime.md +141 -0
- maivn_tools-0.1.0/docs/security.md +77 -0
- maivn_tools-0.1.0/docs/templates/provider.md +81 -0
- maivn_tools-0.1.0/docs/testing.md +107 -0
- maivn_tools-0.1.0/docs/toolsets.md +378 -0
- maivn_tools-0.1.0/pyproject.toml +82 -0
- maivn_tools-0.1.0/pyrightconfig.json +23 -0
- maivn_tools-0.1.0/scripts/release_guard.py +105 -0
- maivn_tools-0.1.0/src/maivn_tools/__init__.py +591 -0
- maivn_tools-0.1.0/src/maivn_tools/__version__.py +3 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/__init__.py +48 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/api_key.py +67 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/base.py +64 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/basic.py +42 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/bearer.py +56 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/oauth.py +103 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/oauth_flow.py +363 -0
- maivn_tools-0.1.0/src/maivn_tools/auth/secrets.py +138 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/__init__.py +3 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/_aws/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/_aws/sigv4.py +153 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/airbyte/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/airbyte/connector.py +539 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/airtable/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/airtable/connector.py +572 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/alpaca/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/alpaca/connector.py +636 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/amazon_seller/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/amazon_seller/connector.py +302 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/amplitude/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/amplitude/connector.py +413 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/anthropic/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/anthropic/connector.py +258 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/assemblyai/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/assemblyai/connector.py +281 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/auth0/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/auth0/connector.py +550 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_cloudwatch_logs/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_cloudwatch_logs/connector.py +401 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_iam/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_iam/connector.py +594 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_lambda/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_lambda/connector.py +404 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_s3/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_s3/connector.py +448 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_ses/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/aws_ses/connector.py +376 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/azure_devops/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/azure_devops/connector.py +969 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/azure_openai/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/azure_openai/connector.py +210 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bamboohr/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bamboohr/connector.py +330 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bedrock/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bedrock/connector.py +292 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bigcommerce/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bigcommerce/connector.py +317 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bigquery/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bigquery/connector.py +532 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/billcom/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/billcom/connector.py +375 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/binance/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/binance/connector.py +429 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bitbucket/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bitbucket/connector.py +861 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bitwarden/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bitwarden/connector.py +302 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bluesky/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/bluesky/connector.py +562 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/box/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/box/connector.py +546 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brave_search/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brave_search/connector.py +194 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/braze/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/braze/connector.py +416 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brevo/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brevo/connector.py +378 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brex/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/brex/connector.py +348 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/buffer/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/buffer/connector.py +553 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/census/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/census/connector.py +461 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/chargebee/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/chargebee/connector.py +352 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/chroma/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/chroma/connector.py +386 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/cloudflare/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/cloudflare/connector.py +433 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/cohere/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/cohere/connector.py +189 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/coinbase/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/coinbase/connector.py +434 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/confluence/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/confluence/connector.py +653 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/customerio/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/customerio/connector.py +388 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/databases/__init__.py +21 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/databases/mysql.py +449 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/databases/postgres.py +543 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/databases/sqlite.py +474 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/databases/sqlserver.py +440 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/datadog/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/datadog/connector.py +498 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/dbt_cloud/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/dbt_cloud/connector.py +507 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/deel/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/deel/connector.py +345 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/deepgram/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/deepgram/connector.py +182 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/discord/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/discord/connector.py +540 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/doppler/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/doppler/connector.py +335 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/dropbox/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/dropbox/connector.py +488 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/duo/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/duo/connector.py +415 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ebay/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ebay/connector.py +337 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/elevenlabs/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/elevenlabs/connector.py +275 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/email/__init__.py +8 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/email/imap.py +837 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/email/smtp.py +348 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/expensify/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/expensify/connector.py +294 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/files/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/files/local.py +642 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/fivetran/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/fivetran/connector.py +476 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gemini/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gemini/connector.py +208 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/generic_api/__init__.py +19 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/generic_api/graphql.py +120 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/generic_api/http.py +198 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/generic_api/openapi.py +182 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/generic_api/webhooks.py +123 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/github/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/github/connector.py +2087 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gitlab/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gitlab/connector.py +895 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_ads/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_ads/connector.py +350 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_chat/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_chat/connector.py +543 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_docs/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_docs/connector.py +207 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_sheets/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_sheets/connector.py +318 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_slides/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_slides/connector.py +272 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_workspace/__init__.py +13 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_workspace/_shared.py +47 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_workspace/calendar.py +698 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_workspace/drive.py +659 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/google_workspace/gmail.py +934 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/grafana/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/grafana/connector.py +342 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/greenhouse/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/greenhouse/connector.py +381 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gusto/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/gusto/connector.py +305 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hex/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hex/connector.py +230 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hightouch/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hightouch/connector.py +465 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hubspot/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/hubspot/connector.py +652 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/huggingface/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/huggingface/connector.py +226 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/infisical/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/infisical/connector.py +311 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/instagram/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/instagram/connector.py +417 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/interactive_brokers/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/interactive_brokers/connector.py +377 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/iterable/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/iterable/connector.py +358 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/jira/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/jira/connector.py +693 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/jumpcloud/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/jumpcloud/connector.py +379 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/klaviyo/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/klaviyo/connector.py +453 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/kraken/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/kraken/connector.py +387 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/kubernetes/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/kubernetes/connector.py +468 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/lever/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/lever/connector.py +395 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linear/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linear/connector.py +473 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linkedin/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linkedin/connector.py +369 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linkedin_ads/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/linkedin_ads/connector.py +548 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/looker/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/looker/connector.py +394 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/loops/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/loops/connector.py +251 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/magento/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/magento/connector.py +342 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mailchimp/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mailchimp/connector.py +399 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mailgun/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mailgun/connector.py +363 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mandrill/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mandrill/connector.py +276 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/marketo/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/marketo/connector.py +427 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mastodon/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mastodon/connector.py +411 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mcp_bridge/__init__.py +26 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mcp_bridge/bridge.py +138 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/meta/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/meta/connector.py +396 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/meta_ads/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/meta_ads/connector.py +499 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/metabase/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/metabase/connector.py +305 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/microsoft_graph/__init__.py +13 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/microsoft_graph/_shared.py +55 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/microsoft_graph/calendar.py +578 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/microsoft_graph/files.py +618 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/microsoft_graph/outlook_mail.py +724 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/milvus/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/milvus/connector.py +407 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mistral/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mistral/connector.py +183 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mixpanel/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/mixpanel/connector.py +363 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_excel/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_excel/connector.py +336 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_powerpoint/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_powerpoint/connector.py +198 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_word/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ms_word/connector.py +195 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/netsuite/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/netsuite/connector.py +246 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/new_relic/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/new_relic/connector.py +334 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/notion/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/notion/connector.py +579 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/okta/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/okta/connector.py +487 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/onelogin/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/onelogin/connector.py +374 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/onepassword/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/onepassword/connector.py +322 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/openai/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/openai/connector.py +733 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pagerduty/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pagerduty/connector.py +495 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/__init__.py +19 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/composio.py +274 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/make.py +269 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/n8n.py +287 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/pipedream.py +131 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/workato.py +240 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/partner_hubs/zapier.py +117 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/paypal/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/paypal/connector.py +360 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pinecone/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pinecone/connector.py +366 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pinterest/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/pinterest/connector.py +417 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/plaid/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/plaid/connector.py +310 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/polygon/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/polygon/connector.py +373 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/posthog/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/posthog/connector.py +420 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/postmark/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/postmark/connector.py +360 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/qdrant/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/qdrant/connector.py +341 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/quickbooks/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/quickbooks/connector.py +345 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ramp/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/ramp/connector.py +294 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/recurly/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/recurly/connector.py +422 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/reddit/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/reddit/connector.py +424 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/replicate/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/replicate/connector.py +307 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/resend/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/resend/connector.py +355 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/rippling/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/rippling/connector.py +268 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/salesforce/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/salesforce/connector.py +514 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/schwab/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/schwab/connector.py +414 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/segment/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/segment/connector.py +402 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sendgrid/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sendgrid/connector.py +397 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sentry/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sentry/connector.py +400 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/serpapi/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/serpapi/connector.py +122 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/servicenow/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/servicenow/connector.py +451 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/shopify/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/shopify/connector.py +589 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sigma/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/sigma/connector.py +366 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/slack/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/slack/connector.py +1012 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/snowflake/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/snowflake/connector.py +498 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/snyk/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/snyk/connector.py +383 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/splunk/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/splunk/connector.py +282 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/square/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/square/connector.py +422 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stability/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stability/connector.py +209 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/statuspage/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/statuspage/connector.py +397 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stitch/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stitch/connector.py +312 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stripe/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/stripe/connector.py +723 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/supabase/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/supabase/connector.py +761 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tableau/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tableau/connector.py +480 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tavily/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tavily/connector.py +179 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/teams/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/teams/connector.py +609 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/telegram/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/telegram/connector.py +414 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/threads/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/threads/connector.py +369 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tiktok/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tiktok/connector.py +296 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tiktok_ads/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tiktok_ads/connector.py +530 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tradier/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/tradier/connector.py +396 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/twilio/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/twilio/connector.py +312 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/vault/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/vault/connector.py +297 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/walmart_marketplace/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/walmart_marketplace/connector.py +319 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/weaviate/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/weaviate/connector.py +311 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/whatsapp/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/whatsapp/connector.py +324 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/woocommerce/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/woocommerce/connector.py +369 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/workday/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/workday/connector.py +358 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/x/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/x/connector.py +783 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/xero/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/xero/connector.py +365 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/youtube/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/youtube/connector.py +508 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/zendesk/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/zendesk/connector.py +604 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/zoom/__init__.py +7 -0
- maivn_tools-0.1.0/src/maivn_tools/connectors/zoom/connector.py +447 -0
- maivn_tools-0.1.0/src/maivn_tools/core/__init__.py +57 -0
- maivn_tools-0.1.0/src/maivn_tools/core/connections.py +146 -0
- maivn_tools-0.1.0/src/maivn_tools/core/dry_run.py +90 -0
- maivn_tools-0.1.0/src/maivn_tools/core/metadata.py +19 -0
- maivn_tools-0.1.0/src/maivn_tools/core/permissions.py +25 -0
- maivn_tools-0.1.0/src/maivn_tools/core/protocols.py +74 -0
- maivn_tools-0.1.0/src/maivn_tools/core/registration.py +125 -0
- maivn_tools-0.1.0/src/maivn_tools/events/__init__.py +29 -0
- maivn_tools-0.1.0/src/maivn_tools/events/audit.py +128 -0
- maivn_tools-0.1.0/src/maivn_tools/events/webhooks.py +160 -0
- maivn_tools-0.1.0/src/maivn_tools/files/__init__.py +50 -0
- maivn_tools-0.1.0/src/maivn_tools/files/attachments.py +125 -0
- maivn_tools-0.1.0/src/maivn_tools/files/extra_extractors.py +190 -0
- maivn_tools-0.1.0/src/maivn_tools/files/extractors.py +123 -0
- maivn_tools-0.1.0/src/maivn_tools/files/mime.py +178 -0
- maivn_tools-0.1.0/src/maivn_tools/files/transfers.py +85 -0
- maivn_tools-0.1.0/src/maivn_tools/py.typed +1 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/__init__.py +58 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/errors.py +142 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/http.py +354 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/pagination.py +231 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/rate_limits.py +122 -0
- maivn_tools-0.1.0/src/maivn_tools/runtime/retries.py +79 -0
- maivn_tools-0.1.0/src/maivn_tools/testing/__init__.py +19 -0
- maivn_tools-0.1.0/src/maivn_tools/testing/transport.py +163 -0
- maivn_tools-0.1.0/tests/__init__.py +1 -0
- maivn_tools-0.1.0/tests/auth/__init__.py +1 -0
- maivn_tools-0.1.0/tests/auth/test_auth.py +147 -0
- maivn_tools-0.1.0/tests/auth/test_oauth_flow.py +270 -0
- maivn_tools-0.1.0/tests/connectors/__init__.py +1 -0
- maivn_tools-0.1.0/tests/connectors/test_ai_providers.py +1157 -0
- maivn_tools-0.1.0/tests/connectors/test_analytics_bi.py +1080 -0
- maivn_tools-0.1.0/tests/connectors/test_atlassian_crm.py +1161 -0
- maivn_tools-0.1.0/tests/connectors/test_aws_core.py +776 -0
- maivn_tools-0.1.0/tests/connectors/test_cloud_observability.py +1632 -0
- maivn_tools-0.1.0/tests/connectors/test_cloud_storage.py +466 -0
- maivn_tools-0.1.0/tests/connectors/test_collaboration.py +574 -0
- maivn_tools-0.1.0/tests/connectors/test_commerce.py +699 -0
- maivn_tools-0.1.0/tests/connectors/test_dev_platforms.py +1348 -0
- maivn_tools-0.1.0/tests/connectors/test_email_connectors.py +562 -0
- maivn_tools-0.1.0/tests/connectors/test_email_delivery.py +1177 -0
- maivn_tools-0.1.0/tests/connectors/test_etl.py +716 -0
- maivn_tools-0.1.0/tests/connectors/test_generic_adapters.py +282 -0
- maivn_tools-0.1.0/tests/connectors/test_github_connector.py +841 -0
- maivn_tools-0.1.0/tests/connectors/test_google_workspace.py +1148 -0
- maivn_tools-0.1.0/tests/connectors/test_hr.py +891 -0
- maivn_tools-0.1.0/tests/connectors/test_identity_security.py +1559 -0
- maivn_tools-0.1.0/tests/connectors/test_knowledge_base.py +924 -0
- maivn_tools-0.1.0/tests/connectors/test_marketing_ads.py +1195 -0
- maivn_tools-0.1.0/tests/connectors/test_mcp_bridge.py +94 -0
- maivn_tools-0.1.0/tests/connectors/test_messaging_extra.py +392 -0
- maivn_tools-0.1.0/tests/connectors/test_microsoft_graph.py +995 -0
- maivn_tools-0.1.0/tests/connectors/test_partner_hubs.py +474 -0
- maivn_tools-0.1.0/tests/connectors/test_payments.py +1490 -0
- maivn_tools-0.1.0/tests/connectors/test_postgres_connector.py +381 -0
- maivn_tools-0.1.0/tests/connectors/test_productivity.py +341 -0
- maivn_tools-0.1.0/tests/connectors/test_slack_connector.py +497 -0
- maivn_tools-0.1.0/tests/connectors/test_social_media.py +1151 -0
- maivn_tools-0.1.0/tests/connectors/test_social_media_batch2.py +1396 -0
- maivn_tools-0.1.0/tests/connectors/test_sqlite_connector.py +293 -0
- maivn_tools-0.1.0/tests/connectors/test_supabase_openai.py +641 -0
- maivn_tools-0.1.0/tests/connectors/test_trading.py +1375 -0
- maivn_tools-0.1.0/tests/connectors/test_vector_stores.py +813 -0
- maivn_tools-0.1.0/tests/connectors/test_warehouses_db.py +577 -0
- maivn_tools-0.1.0/tests/core/__init__.py +1 -0
- maivn_tools-0.1.0/tests/core/test_core.py +213 -0
- maivn_tools-0.1.0/tests/events/__init__.py +1 -0
- maivn_tools-0.1.0/tests/events/test_events.py +120 -0
- maivn_tools-0.1.0/tests/files/__init__.py +1 -0
- maivn_tools-0.1.0/tests/files/test_extra_extractors.py +71 -0
- maivn_tools-0.1.0/tests/files/test_files.py +123 -0
- maivn_tools-0.1.0/tests/files/test_local_files.py +374 -0
- maivn_tools-0.1.0/tests/runtime/__init__.py +1 -0
- maivn_tools-0.1.0/tests/runtime/test_runtime.py +288 -0
- maivn_tools-0.1.0/tests/test_import.py +8 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Publish PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: maivn-tools-pypi-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
id-token: write
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
publish:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
environment: pypi
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- uses: actions/setup-python@v5
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.12"
|
|
27
|
+
|
|
28
|
+
- uses: astral-sh/setup-uv@v6
|
|
29
|
+
|
|
30
|
+
- name: Validate release version
|
|
31
|
+
# release_guard imports tomllib (3.11+ stdlib). This repo's .python-version
|
|
32
|
+
# pins 3.10, which uv honors even with --no-project, so pin 3.12 here.
|
|
33
|
+
run: uv run --with packaging --no-project --python 3.12 python scripts/release_guard.py
|
|
34
|
+
|
|
35
|
+
- name: Build distributions
|
|
36
|
+
run: uv build
|
|
37
|
+
|
|
38
|
+
- name: Validate distributions
|
|
39
|
+
run: uvx twine check dist/*
|
|
40
|
+
|
|
41
|
+
- name: Publish to PyPI
|
|
42
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
.pytest_cache/
|
|
3
|
+
.ruff_cache/
|
|
4
|
+
__pycache__/
|
|
5
|
+
*.egg-info/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
htmlcov/
|
|
9
|
+
.coverage
|
|
10
|
+
uv.lock
|
|
11
|
+
|
|
12
|
+
# Internal planning documents. Keep these out of public repository/docs pushes.
|
|
13
|
+
private-docs/
|
|
14
|
+
docs/OFFICIAL_TOOL_SET_OUTLINE.md
|
|
15
|
+
docs/OFFICIAL_TOOL_SET_IMPLEMENTATION_TRACKER.md
|
|
16
|
+
|
|
17
|
+
# Local-only agent adapters that point agents at private planning documents.
|
|
18
|
+
AGENTS.md
|
|
19
|
+
CLAUDE.md
|
|
20
|
+
CLAUDE.local.md
|
|
21
|
+
.windsurf/
|
|
22
|
+
.cursor/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.10
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
4
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
|
|
6
|
+
## [0.1.0] - 2026-06-04
|
|
7
|
+
|
|
8
|
+
Initial release (experimental). First publish to PyPI.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- Agent-ready ToolSet connector suite built on the mAIvn `@toolset` / `@toolify`
|
|
13
|
+
class-based tool pattern, registrable via `agent.add_toolset(...)`.
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
https://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
maivn_tools-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: maivn-tools
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Optional tool integrations for the mAIvn Python SDK
|
|
5
|
+
Project-URL: Homepage, https://maivn.io
|
|
6
|
+
Project-URL: Repository, https://github.com/mAIvn-developer/maivn-tools
|
|
7
|
+
Project-URL: Issues, https://github.com/mAIvn-developer/maivn-tools/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/mAIvn-developer/maivn-tools/blob/master/CHANGELOG.md
|
|
9
|
+
Author-email: Chad Heathcote <developer@maivn.io>
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
License-File: NOTICE
|
|
13
|
+
Keywords: agents,ai,maivn,sdk,tools
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
24
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
25
|
+
Classifier: Typing :: Typed
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
|
+
Requires-Dist: maivn<0.5.0,>=0.4.0
|
|
28
|
+
Requires-Dist: pydantic>=2.0
|
|
29
|
+
Provides-Extra: all
|
|
30
|
+
Requires-Dist: psycopg[binary]>=3.1; extra == 'all'
|
|
31
|
+
Requires-Dist: pypdf>=4.0; extra == 'all'
|
|
32
|
+
Requires-Dist: python-docx>=1.0; extra == 'all'
|
|
33
|
+
Provides-Extra: docx
|
|
34
|
+
Requires-Dist: python-docx>=1.0; extra == 'docx'
|
|
35
|
+
Provides-Extra: html
|
|
36
|
+
Provides-Extra: pdf
|
|
37
|
+
Requires-Dist: pypdf>=4.0; extra == 'pdf'
|
|
38
|
+
Provides-Extra: postgres
|
|
39
|
+
Requires-Dist: psycopg[binary]>=3.1; extra == 'postgres'
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
|
|
42
|
+
# mAIvn Tools
|
|
43
|
+
|
|
44
|
+
Official optional connector layer for the [mAIvn Python SDK](https://github.com/mAIvn-developer/maivn).
|
|
45
|
+
|
|
46
|
+
> [!warning]
|
|
47
|
+
> **Experimental — use with care.** `maivn-tools` is in early development
|
|
48
|
+
> (alpha). Connectors and toolsets are exercised against a mock transport in
|
|
49
|
+
> CI, but **most have not yet been validated end-to-end against live
|
|
50
|
+
> third-party provider APIs**. Request shapes, behavior, and the public surface
|
|
51
|
+
> may change between releases. Test against your own provider accounts before
|
|
52
|
+
> relying on any connector in production, and please
|
|
53
|
+
> [report issues](https://github.com/mAIvn-developer/maivn-tools/issues).
|
|
54
|
+
|
|
55
|
+
`maivn-tools` is a standalone PyPI package that depends on `maivn`. Installing it
|
|
56
|
+
pulls the SDK as well:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
pip install maivn-tools
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The package is not exposed as a `maivn[tools]` extra. That would create the same
|
|
63
|
+
circular release coupling we removed for `maivn[studio]` in 0.3.0; instead,
|
|
64
|
+
`maivn-tools` pins a compatible SDK version range directly.
|
|
65
|
+
|
|
66
|
+
## Development
|
|
67
|
+
|
|
68
|
+
```powershell
|
|
69
|
+
uv sync
|
|
70
|
+
uv run pytest
|
|
71
|
+
uv run ruff check .
|
|
72
|
+
uv run pyright
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
See [`docs/`](docs) for usage guides and [`docs/index.md`](docs/index.md) for the
|
|
76
|
+
documentation index.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# mAIvn Tools
|
|
2
|
+
|
|
3
|
+
Official optional connector layer for the [mAIvn Python SDK](https://github.com/mAIvn-developer/maivn).
|
|
4
|
+
|
|
5
|
+
> [!warning]
|
|
6
|
+
> **Experimental — use with care.** `maivn-tools` is in early development
|
|
7
|
+
> (alpha). Connectors and toolsets are exercised against a mock transport in
|
|
8
|
+
> CI, but **most have not yet been validated end-to-end against live
|
|
9
|
+
> third-party provider APIs**. Request shapes, behavior, and the public surface
|
|
10
|
+
> may change between releases. Test against your own provider accounts before
|
|
11
|
+
> relying on any connector in production, and please
|
|
12
|
+
> [report issues](https://github.com/mAIvn-developer/maivn-tools/issues).
|
|
13
|
+
|
|
14
|
+
`maivn-tools` is a standalone PyPI package that depends on `maivn`. Installing it
|
|
15
|
+
pulls the SDK as well:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pip install maivn-tools
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The package is not exposed as a `maivn[tools]` extra. That would create the same
|
|
22
|
+
circular release coupling we removed for `maivn[studio]` in 0.3.0; instead,
|
|
23
|
+
`maivn-tools` pins a compatible SDK version range directly.
|
|
24
|
+
|
|
25
|
+
## Development
|
|
26
|
+
|
|
27
|
+
```powershell
|
|
28
|
+
uv sync
|
|
29
|
+
uv run pytest
|
|
30
|
+
uv run ruff check .
|
|
31
|
+
uv run pyright
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
See [`docs/`](docs) for usage guides and [`docs/index.md`](docs/index.md) for the
|
|
35
|
+
documentation index.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# Agent-Ready ToolSet Pattern Spec
|
|
2
|
+
|
|
3
|
+
**Reference implementation:** `src/maivn_tools/connectors/google_workspace/gmail.py` (GmailToolSet).
|
|
4
|
+
**Reference demo:** `apps/maivn-demos/demos/custom_toolset_demo.py` (FleetOpsToolSet).
|
|
5
|
+
|
|
6
|
+
A developer should be able to plug any ToolSet into an Agent with
|
|
7
|
+
`agent.add_toolset(MyToolSet(...))` and get useful behavior from ordinary
|
|
8
|
+
user prompts — no custom graph wiring, no demo-specific wrappers, no
|
|
9
|
+
long system prompts.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Permissions and tags
|
|
14
|
+
|
|
15
|
+
Every `@toolify` method must declare a `PermissionSet`:
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
@toolify(permissions=PermissionSet(PermissionFlag.READ))
|
|
19
|
+
def list_records(self, ...) -> ...:
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
@toolify(permissions=PermissionSet(PermissionFlag.WRITE))
|
|
23
|
+
def create_record(self, ...) -> ...:
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
@toolify(permissions=PermissionSet(PermissionFlag.DELETE), destructive=True)
|
|
27
|
+
def delete_record(self, ...) -> ...:
|
|
28
|
+
...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Rules:
|
|
32
|
+
- READ tools are filterable with `include_tags=["read"]`.
|
|
33
|
+
- WRITE tools should be separate from READ tools.
|
|
34
|
+
- DELETE or irreversible tools must use `destructive=True` and are
|
|
35
|
+
filterable with `exclude_tags=["destructive"]`.
|
|
36
|
+
- The "read"/"write"/"destructive" tags are auto-derived from
|
|
37
|
+
`permissions`/`destructive`; do not maintain a parallel `tags=` list.
|
|
38
|
+
|
|
39
|
+
## 2. Tool docstrings
|
|
40
|
+
|
|
41
|
+
Each tool docstring should briefly explain:
|
|
42
|
+
- **when to use** the tool ("Best first tool for triage", "Use after
|
|
43
|
+
list_records to fetch full content", etc.).
|
|
44
|
+
- **what arguments mean** (especially anything non-obvious).
|
|
45
|
+
- **what shape** the tool returns.
|
|
46
|
+
- **what follow-up tool** should consume any returned identifiers.
|
|
47
|
+
- whether **IDs are internal handles** that should not appear in final
|
|
48
|
+
answers.
|
|
49
|
+
|
|
50
|
+
Keep it short. Optimize for model usability, not API-reference prose.
|
|
51
|
+
|
|
52
|
+
## 3. Human-readable defaults for search/list/lookup
|
|
53
|
+
|
|
54
|
+
For broad search/list tools:
|
|
55
|
+
|
|
56
|
+
- Return **compact, human-readable summaries by default**.
|
|
57
|
+
- Avoid dumping raw provider IDs unless needed.
|
|
58
|
+
- Prefer stable display refs like `message_ref`, `record_ref`,
|
|
59
|
+
`ticket_ref`, `page_ref`, etc.
|
|
60
|
+
- Add an opt-in flag `include_ids: bool = False` when downstream tools
|
|
61
|
+
need raw IDs.
|
|
62
|
+
- If raw IDs are included, the docstring must say they are internal
|
|
63
|
+
handles and should not be exposed in final answers.
|
|
64
|
+
|
|
65
|
+
Example pattern:
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
@toolify(permissions=PermissionSet(PermissionFlag.READ))
|
|
69
|
+
def list_records(
|
|
70
|
+
self,
|
|
71
|
+
*,
|
|
72
|
+
table_id: str,
|
|
73
|
+
max_results: int = 25,
|
|
74
|
+
include_ids: bool = False,
|
|
75
|
+
) -> dict[str, Any]:
|
|
76
|
+
"""Search records in a table.
|
|
77
|
+
|
|
78
|
+
Best first tool for record exploration. Returns compact summaries
|
|
79
|
+
with a stable ``record_ref`` (``record_1``, ``record_2``, ...) that
|
|
80
|
+
is safe to show in final answers. Raw provider IDs are omitted by
|
|
81
|
+
default — they are internal handles. Set ``include_ids=True`` only
|
|
82
|
+
when a follow-up tool (update_record, delete_record) needs the raw
|
|
83
|
+
ID.
|
|
84
|
+
"""
|
|
85
|
+
...
|
|
86
|
+
summaries = []
|
|
87
|
+
for index, record in enumerate(records, start=1):
|
|
88
|
+
summary = {
|
|
89
|
+
"record_ref": f"record_{index}",
|
|
90
|
+
# ...display fields like name, status, created_at, ...
|
|
91
|
+
}
|
|
92
|
+
if include_ids:
|
|
93
|
+
summary["record_id"] = record["id"]
|
|
94
|
+
summaries.append(summary)
|
|
95
|
+
return {"records": summaries, ...}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## 4. Bounded list/search behavior
|
|
99
|
+
|
|
100
|
+
- Broad list/search tools should default to a small useful limit (10
|
|
101
|
+
or 25, not 100+).
|
|
102
|
+
- Expensive metadata expansion should be capped — if summary mode
|
|
103
|
+
requires a per-record fetch, cap to a smaller limit (e.g. 10 in Gmail).
|
|
104
|
+
- Raw/full output should be opt-in (e.g. `include_metadata=False` returns
|
|
105
|
+
raw provider response with all fields).
|
|
106
|
+
- Preserve pagination tokens where provider APIs support them.
|
|
107
|
+
|
|
108
|
+
## 5. Tolerant write-tool inputs
|
|
109
|
+
|
|
110
|
+
Write tools should accept the natural output of corresponding read/list
|
|
111
|
+
tools when practical. For example, if `list_records()` returns records
|
|
112
|
+
with `record_id` (in `include_ids=True` mode) or `record_ref` paired with
|
|
113
|
+
raw IDs in another field, then `update_record()` should tolerate:
|
|
114
|
+
|
|
115
|
+
- the raw ID string
|
|
116
|
+
- the returned record dict (look up `record_id` inside it)
|
|
117
|
+
- a list of returned records (select the first valid candidate when safe
|
|
118
|
+
and obvious)
|
|
119
|
+
|
|
120
|
+
Do not make write tools dangerously permissive. Only add tolerance where
|
|
121
|
+
it removes obvious agent friction and preserves safe behavior. See
|
|
122
|
+
`FleetOpsToolSet._select_vehicle_id` for the reference pattern.
|
|
123
|
+
|
|
124
|
+
## 6. Structured model fields
|
|
125
|
+
|
|
126
|
+
Any Pydantic model intended as a model/final tool must use brief
|
|
127
|
+
`Field(description=...)` values for all fields. Descriptions should be
|
|
128
|
+
short and operational, not verbose.
|
|
129
|
+
|
|
130
|
+
## 7. Keep provider toolsets generic
|
|
131
|
+
|
|
132
|
+
Do not bake demo-specific behavior into provider toolsets. Use the SDK
|
|
133
|
+
`ToolOverride` pattern for app-specific behavior:
|
|
134
|
+
|
|
135
|
+
- direct tools: `agent.add_tool(..., override=ToolOverride(...))`
|
|
136
|
+
- toolsets: `agent.add_toolset(toolset, overrides={"method_name": ToolOverride(...)})`
|
|
137
|
+
- MCP servers: `MCPServer(..., tool_overrides={"raw_tool_name": ToolOverride(...)})`
|
|
138
|
+
|
|
139
|
+
Use overrides for: app-specific descriptions, default args,
|
|
140
|
+
always-execute/final-tool behavior, app-specific dependencies, renamed
|
|
141
|
+
public tool names.
|
|
142
|
+
|
|
143
|
+
## 8. Demo prompts
|
|
144
|
+
|
|
145
|
+
Demo prompts should be plain user workflows. They should not instruct
|
|
146
|
+
exact tool order unless the workflow truly requires it. If the demo only
|
|
147
|
+
works with detailed tool choreography, fix the toolset instead.
|
|
148
|
+
|
|
149
|
+
## 9. Tests
|
|
150
|
+
|
|
151
|
+
For each updated toolset, add or update tests for:
|
|
152
|
+
|
|
153
|
+
- Default search/list summaries (verify `_ref` is present and raw IDs
|
|
154
|
+
are absent).
|
|
155
|
+
- `include_ids=True` returns raw IDs (verify the opt-in works).
|
|
156
|
+
- Permission/tag filtering on the toolset class (`include_tags=["read"]`
|
|
157
|
+
drops write/destructive tools).
|
|
158
|
+
- Tolerant input behavior for write tools where added.
|
|
159
|
+
|
|
160
|
+
## Constraints
|
|
161
|
+
|
|
162
|
+
- Do not remove useful existing capabilities.
|
|
163
|
+
- Do not hide IDs when a provider operation cannot be performed without
|
|
164
|
+
them; make IDs opt-in or return them only in fields intended for
|
|
165
|
+
follow-up tool calls.
|
|
166
|
+
- Final answers should be useful to humans and should not be littered
|
|
167
|
+
with raw provider IDs.
|
|
168
|
+
- The core success criterion: an Agent with a ToolSet should work from
|
|
169
|
+
ordinary user requests.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Public API policy
|
|
2
|
+
|
|
3
|
+
`maivn-tools` follows semantic versioning. This page is the contract
|
|
4
|
+
between the package and its users about what is stable, what is not, and
|
|
5
|
+
how breaking changes are introduced.
|
|
6
|
+
|
|
7
|
+
## Versioning
|
|
8
|
+
|
|
9
|
+
Releases use **MAJOR.MINOR.PATCH** semantics:
|
|
10
|
+
|
|
11
|
+
- **MAJOR** — incompatible public-API changes.
|
|
12
|
+
- **MINOR** — new public surface and new connectors that do not break
|
|
13
|
+
existing imports.
|
|
14
|
+
- **PATCH** — bug fixes and internal changes.
|
|
15
|
+
|
|
16
|
+
## Stable surface
|
|
17
|
+
|
|
18
|
+
Anything reachable from `maivn_tools.*` is part of the stable surface.
|
|
19
|
+
Specifically:
|
|
20
|
+
|
|
21
|
+
- `maivn_tools.core` — protocols, metadata, permissions, dry-run, registration.
|
|
22
|
+
- `maivn_tools.auth` — auth strategies, secret resolvers, OAuth flow layer.
|
|
23
|
+
- `maivn_tools.runtime` — HTTP client, retries, rate limits, pagination,
|
|
24
|
+
errors.
|
|
25
|
+
- `maivn_tools.events` — audit events and webhook helpers.
|
|
26
|
+
- `maivn_tools.files` — MIME, attachments, extractors, transfers.
|
|
27
|
+
- `maivn_tools.testing` — mock transport and helpers.
|
|
28
|
+
- `maivn_tools.connectors.*` — every shipped connector and its tools.
|
|
29
|
+
|
|
30
|
+
Stable means:
|
|
31
|
+
|
|
32
|
+
- Module paths do not move between minor releases.
|
|
33
|
+
- Constructor argument names and types follow semver.
|
|
34
|
+
- Tool function names and keyword arguments follow semver.
|
|
35
|
+
- Public dataclass fields can be added but not removed or renamed without a
|
|
36
|
+
major bump.
|
|
37
|
+
- Exceptions raised by public functions stay within the documented
|
|
38
|
+
hierarchy.
|
|
39
|
+
|
|
40
|
+
## Internal surface
|
|
41
|
+
|
|
42
|
+
Anything matching the following patterns is internal and may change at any
|
|
43
|
+
time:
|
|
44
|
+
|
|
45
|
+
- Identifiers prefixed with `_` (e.g. `_SharedCursor`).
|
|
46
|
+
- Anything under `maivn_tools._internal` (currently unused, reserved).
|
|
47
|
+
- Module-level constants prefixed with `_`.
|
|
48
|
+
|
|
49
|
+
## Deprecation policy
|
|
50
|
+
|
|
51
|
+
When a public symbol is replaced:
|
|
52
|
+
|
|
53
|
+
1. The new symbol ships alongside the old in a minor release.
|
|
54
|
+
2. The old symbol emits a `DeprecationWarning` from the same release.
|
|
55
|
+
3. The old symbol is removed no sooner than the next major release.
|
|
56
|
+
|
|
57
|
+
Deprecations are recorded in `CHANGELOG.md` under the affected version.
|
|
58
|
+
|
|
59
|
+
## Optional dependencies
|
|
60
|
+
|
|
61
|
+
Connectors that need third-party drivers (e.g. `psycopg`, `pypdf`,
|
|
62
|
+
`python-docx`) declare them through pip extras:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
pip install maivn-tools[postgres,pdf,docx]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
A new extra is added in a minor release. Removing an extra requires a
|
|
69
|
+
major bump.
|
|
70
|
+
|
|
71
|
+
## Python support
|
|
72
|
+
|
|
73
|
+
The package supports the three most recent CPython minor versions. The
|
|
74
|
+
classifier list in `pyproject.toml` is authoritative.
|
|
75
|
+
|
|
76
|
+
## Connector additions and removals
|
|
77
|
+
|
|
78
|
+
- Adding a new connector is always a minor change.
|
|
79
|
+
- Removing a connector is a major change. Connectors that are being
|
|
80
|
+
superseded are deprecated for at least one major version before removal.
|
|
81
|
+
|
|
82
|
+
## Reporting incompatibilities
|
|
83
|
+
|
|
84
|
+
If a release breaks an import that this policy promises is stable, file
|
|
85
|
+
an issue at https://github.com/mAIvn-developer/maivn-tools/issues. The
|
|
86
|
+
fix is to restore the symbol in a patch release and re-deprecate it if
|
|
87
|
+
necessary.
|