Tirai

Latest version: v0.2.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

Configuration
To use the AWS Claude provider, set the following environment variables:
bash
export AWS_ACCESS_KEY_ID="your_access_key_id"
export AWS_SECRET_ACCESS_KEY="your_secret_access_key"


Example Usage
python
from TIRAI.sdk.providers.awsclaude import AWSClaudeSDK
import os

Initialize the Claude client with credentials from environment variables
claude = AWSClaudeSDK(
aws_access_key_id=os.environ.get("AWS_ACCESS_KEY_ID"),
aws_secret_access_key=os.environ.get("AWS_SECRET_ACCESS_KEY"),
region_name="us-west-2",
model="anthropic.claude-3-7-sonnet-20250219-v1:0",
max_tokens=1000,
temperature=0.7,
)

Generate text
response = claude.generate("Explain quantum computing in one sentence.")
print(response)


Breaking Changes
None

Known Issues
None

Compatibility
- Python 3.7+
- Compatible with all major operating systems

Additional Notes
- It is recommended to use environment variables or secure credential management systems for storing AWS credentials
- Always keep your AWS credentials secure and never commit them to version control

Links
- GitHub Repository: https://github.com/theiresearch/tirai-sdk
- PyPI Package: https://pypi.org/project/TIRAI/
- Documentation: [Link to your documentation]

Support
For issues and feature requests, please open an issue on our [GitHub repository](https://github.com/theiresearch/tirai-sdk/issues).

0.2.0

🔐 Environment Variables
Required for AWS Claude:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION

🎯 Next Steps
- Try out the new AWS Claude integration
- Update your environment variables
- Check out the new examples in the README

For more information, visit our [GitHub repository](https://github.com/theiresearch/tirai-sdk).

0.1.2

What's Changed
* Added temperature parameter (0.6) to DeepSeek provider
* Added GitHub Actions workflow for automated PyPI publishing

0.1.1

Improved environment variable handling and documentation:

- Enhanced environment variable handling with direct access
- Updated documentation for API key requirements
- Improved error messages for missing environment variables
- Simplified example code and README

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.