{"id":27455,"library":"tinys3","title":"tinys3","description":"A small library for uploading files to S3 with support for async uploads, worker pools, cache headers, etc. Current version is 0.1.12, released infrequently.","status":"active","version":"0.1.12","language":"python","source_language":"en","source_url":"https://github.com/smore-inc/tinys3","tags":["s3","upload","async","pool"],"install":[{"cmd":"pip install tinys3","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"The standard pattern is direct import, not module prefix. Most examples do 'from tinys3 import Connection'.","wrong":"import tinys3; conn = tinys3.Connection(...)","symbol":"Connection","correct":"from tinys3 import Connection"}],"quickstart":{"code":"from tinys3 import Connection\nconn = Connection('ACCESS_KEY', 'SECRET_KEY', tls=True)\nf = open('test.txt', 'rb')\nconn.upload('test.txt', f, 'mybucket')","lang":"python","description":"Initialize a connection and upload a file. Replace ACCESS_KEY and SECRET_KEY with your AWS credentials."},"warnings":[{"fix":"Explicitly pass keys to Connection(), or set environment variables and use conn = Connection(None, None, tls=True) — but note that None keys may cause attribute errors in some versions.","message":"tinys3 uses Boto-style credentials (access key, secret key) but does not read from ~/.aws/credentials or environment variables automatically. You must pass them explicitly or set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables before importing.","severity":"gotcha","affected_versions":"all"},{"fix":"Consider migrating to boto3 for long-term support.","message":"The library is not actively maintained; last release was in 2017. It may not work with newer Python versions or AWS SDK changes.","severity":"deprecated","affected_versions":"all"},{"fix":"Use boto3's multipart upload for files > 5GB.","message":"The library does not support multipart uploads for large files. Uploading files larger than ~5GB will fail silently or raise an error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, or pass valid key strings to Connection().","cause":"Passing None for access_key or secret_key when not using environment variables.","error":"AttributeError: 'NoneType' object has no attribute 'get'"},{"fix":"Enable TLS and ensure you are using valid credentials. If problem persists, use boto3.","cause":"Likely due to using old AWS Signature Version (e.g., v2) that is no longer supported.","error":"tinys3.exceptions.ConnectionError: The authorization mechanism you have provided is not supported"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}