{"catalogRevision":"cat_f13ab9a494120b5e","recipeId":"page:blueprints:developer-tools:asset-library:django","recipeRevision":"r1","canonicalPath":"/blueprints/developer-tools/asset-library/django","label":"Developer tools: asset library using Django","family":"Industry blueprint","summary":"A asset library blueprint for developer tools built with Django on Ample. Domain schema: customer_workspaces (name, plan, api_key_count): customer organizations; doc_versions (product_version, title, object_key, published_at): versioned reference docs and guides; sdk_releases (language, version, changelog_object_key, released_at): SDK releases and changelogs; customer_assets (workspace_id, title, object_key, visibility): customer-specific artifacts; uploads (id, owner_reference, object_key, content_type, size, uploaded_at): validated uploads linked to their owner. Public information: versioned API reference and guides, SDK release notes, status page links. Kept out of scope until handling is reviewed: customer API keys and usage logs, private integration details. API keys and usage logs are secrets or personal data; keep them out of documentation workflows. Technical basis verified on Django: content-type and size validation that rejects disallowed files, an object written to a private bucket and a row linking the record to the object key (reject=ok upload=ok linked=ok).","representativeQueries":["Developer tools: asset library using Django","Where can I host Developer tools: Asset library built with Django?","I need a genuinely specialized asset library workflow covering organization access, versioned technical docs and build artifacts."],"breadcrumbIds":["discovery","industry","industry:software-and-media","industry:developer-tools","page:blueprints:developer-tools:asset-library:django"],"breadcrumbs":[{"id":"discovery","label":"Agent hosting discovery","canonicalPath":"/discover/discovery","kind":"root"},{"id":"industry","label":"Industries and specialties","canonicalPath":"/discover/industry","kind":"facet"},{"id":"industry:software-and-media","label":"Software and media","canonicalPath":"/discover/industry/software-and-media","kind":"group"},{"id":"industry:developer-tools","label":"Developer tools","canonicalPath":"/discover/industry/developer-tools","kind":"atom"},{"id":"page:blueprints:developer-tools:asset-library:django","label":"Developer tools: asset library using Django","canonicalPath":"/blueprints/developer-tools/asset-library/django","kind":"recipe"}],"parentIds":["industry:developer-tools","workload:asset-library","stack:framework-django","intent:deploy-web-app"],"parents":[{"id":"industry:developer-tools","label":"Developer tools","canonicalPath":"/discover/industry/developer-tools","kind":"atom"},{"id":"workload:asset-library","label":"Asset library","canonicalPath":"/discover/workload/asset-library","kind":"atom"},{"id":"stack:framework-django","label":"Django","canonicalPath":"/discover/stack/framework-django","kind":"atom"},{"id":"intent:deploy-web-app","label":"Deploy web app","canonicalPath":"/discover/intent/deploy-web-app","kind":"atom"}],"resourceRequirements":["primitive:compute","primitive:postgres","primitive:s3-compatible-object-storage"],"infrastructureRequirements":[{"primitiveId":"primitive:compute","label":"Compute","canonicalPath":"/discover/primitive/compute","status":"verified","summary":"Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes."},{"primitiveId":"primitive:postgres","label":"Postgres","canonicalPath":"/discover/primitive/postgres","status":"verified","summary":"Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied."},{"primitiveId":"primitive:s3-compatible-object-storage","label":"S3-compatible object storage","canonicalPath":"/discover/primitive/s3-compatible-object-storage","status":"verified","summary":"Buckets are S3-compatible with issued credentials; PutObject and GetObject are verified by canary. Other S3 operations are not verified."}],"framework":"Django","workload":"Asset library","industry":"Developer tools","releaseStatus":"published","supportStatus":"verified","executionStatus":"ready","docsOnly":false,"prerequisites":["A Django project (pip install into .ample/python from requirements.txt, then waitress serving project.wsgi from run.py reading PORT on the python-3.12 template)","A PostgreSQL driver reading DATABASE_URL (auto-provisioned when omitted)","Bucket credentials from `ample bucket create` passed as encrypted S3_* environment variables","A review of which developer tools data classes may be handled at all; this blueprint models public information only"],"testedConfiguration":{"template":"python-3.12","runtime":"python","size":"s-1vcpu-1gb","install":"python3 -m pip install --target .ample/python -r requirements.txt","start":"PYTHONPATH=.ample/python:${PYTHONPATH:-} python3 run.py"},"inputSchema":{"additionalProperties":false,"properties":{"env":{"description":"Encrypted environment variables","items":{"pattern":"^[A-Z][A-Z0-9_]*=.*$","type":"string"},"maxItems":50,"type":"array"},"name":{"description":"App name","maxLength":63,"minLength":1,"pattern":"^[a-z0-9-]+$","type":"string"},"path":{"description":"Project directory or ample.toml service","maxLength":512,"minLength":1,"type":"string"},"release_command":{"description":"Migration command run before activation","maxLength":512,"type":"string"},"start":{"description":"Start command","maxLength":512,"type":"string"}},"required":["env","name","path","start"],"type":"object"},"outputSchema":null,"workflowSteps":[{"title":"Model the developer tools domain","body":"Create the tables customer_workspaces, doc_versions, sdk_releases, customer_assets, uploads. Customer organizations lives in customer_workspaces; keep the sensitive classes (customer API keys and usage logs, private integration details) out of this schema."},{"title":"Workflow step 1","body":"Model assets linked to their owning group or workspace"},{"title":"Workflow step 2","body":"Validate uploads and store them in the private bucket; link each object to its row"},{"title":"Workflow step 3","body":"Authorize downloads by membership"},{"title":"Workflow step 4","body":"Deploy and verify rejection of disallowed files and a linked upload"},{"title":"Deploy","body":"Run the synchronous deploy once and read the result. Re-running with no change is a no-op.","command":"ample deploy . --name <app-name> --public --start \"python3 run.py\" --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=..."},{"title":"Verify","body":"Run the pattern self-test(s) from the example (/p/browser-file-uploads) and your own acceptance checks for the developer tools workflow.","command":"ample logs <deployment_id> --kind build"}],"examples":[{"title":"Django pattern fixture","description":"Verified browser file uploads basis for this blueprint.","sourceRef":"tests/deploy-canaries/django-patterns"}],"successChecks":[{"description":"app responds on its public URL","kind":"http_get","path":"/","expect":"ample canary django patterns"},{"description":"browser-file-uploads self-test from the example","kind":"http_get","path":"/p/browser-file-uploads","expect":"see the pattern fixture checks"}],"limitations":["The technical basis (browser file uploads on Django) was verified with the pattern fixture; the developer tools schema and workflow are an original design for this blueprint and were not executed as a separate application.","No health, financial, privacy or other compliance claim is made. API keys and usage logs are secrets or personal data; keep them out of documentation workflows.","Public content and synthetic examples only until actual data-handling requirements have been reviewed.","Verified on the python-3.12 template at s-1vcpu-1gb; region, request-duration limits and other sizes are unknown or unverified.","Managed PostgreSQL 16 only; extensions, connection limits and backup or restore procedures are not verified.","PutObject and GetObject with path-style addressing are verified; other S3 operations and CDN cache rules are not."],"costEstimate":{"currency":"USD","monthlyAmount":10.0,"authoritative":true,"basis":"size prices from pricing.toml (loaded by the API) at build revision 084676a47ba1bba65d47f8b6eb86bca27c92a57a","components":[{"name":"app server","size":"s-1vcpu-1gb","quantity":1.0,"monthlyAmount":5.0},{"name":"managed PostgreSQL database","size":"s-1vcpu-1gb","quantity":1.0,"monthlyAmount":5.0}],"note":"Always-on monthly price of the tested sizes; apps and databases auto-pause when idle. Buckets are allocation-priced per quota and not included."},"evidenceSummary":[{"kind":"canary_run","summary":"Django pattern fixture deployed on Ample (pip install into .ample/python from requirements.txt, then waitress serving project.wsgi from run.py reading PORT on the python-3.12 template); the browser file uploads checks passed: content-type and size validation that rejects disallowed files, an object written to a private bucket and a row linking the record to the object key (reject=ok upload=ok linked=ok). The blueprint's Developer tools schema and workflow below build on that verified basis and were not separately executed.","observedAt":"2026-09-20T03:31:44Z","implementationRevision":"03b6402b1b3e19178985f08ea4033804521d85d4 (CLI b75e104)","expiresAt":"2027-03-19T03:31:44Z","scope":{"checks":["/p/browser-file-uploads"],"pattern":"pattern:browser-file-uploads","template":"python-3.12"}}],"lastVerifiedAt":"2026-09-20T03:31:44Z","mcpBinding":{"registryRef":"mcp:ample_deploy","toolName":"ample_deploy","schemaHash":"876465fce906da0c224d62961d3343064108ebe30af80cf1b87094974e948853","observedAt":"2026-09-22T00:31:22.774679+00:00","implementationRevision":"e6446ceea69b","requiredScopes":["servers:write","databases:read","buckets:read"],"bindingState":"current"},"unknowns":["region availability is unknown until a verified region fact is recorded","compliance attestations are unknown; none are claimed"],"formats":{"html":"https://ample.computer/blueprints/developer-tools/asset-library/django","markdown":"https://ample.computer/blueprints/developer-tools/asset-library/django.md","json":"https://api.ample.computer/v1/catalog/recipes/page%3Ablueprints%3Adeveloper-tools%3Aasset-library%3Adjango"},"nextActions":[{"actionId":"browse-catalog","label":"Browse the catalog index","operationId":"catalog_index","method":"GET","relativePath":"/v1/catalog","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"search-recipes","label":"Search published recipes by intent, stack and constraints","operationId":"search_recipes","method":"POST","relativePath":"/v1/catalog/search","origin":"api","parameters":{"body":{"limit":5,"query":"Developer tools: asset library using Django"}},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"plan:page:blueprints:developer-tools:asset-library:django","label":"Prepare a side-effect-free deployment plan for an authorized project","operationId":"plan_deployment","method":"POST","relativePath":"/v1/catalog/plan","origin":"api","parameters":{"body":{"inputs":{},"projectId":"<workspace or server id you own>","recipeId":"page:blueprints:developer-tools:asset-library:django","recipeRevision":"r1"}},"requiresAuthentication":true,"requiresApproval":false},{"actionId":"auth-setup","label":"Read the existing agent authentication setup","operationId":"existing_auth_setup","method":"GET","relativePath":"/mcp/setup","origin":"api","parameters":{},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:industry:developer-tools","label":"Browse Developer tools","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/industry%3Adeveloper-tools","origin":"api","parameters":{"nodeId":"industry:developer-tools"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:workload:asset-library","label":"Browse Asset library","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/workload%3Aasset-library","origin":"api","parameters":{"nodeId":"workload:asset-library"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:stack:framework-django","label":"Browse Django","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/stack%3Aframework-django","origin":"api","parameters":{"nodeId":"stack:framework-django"},"requiresAuthentication":false,"requiresApproval":false},{"actionId":"browse:intent:deploy-web-app","label":"Browse Deploy web app","operationId":"browse_node","method":"GET","relativePath":"/v1/catalog/nodes/intent%3Adeploy-web-app","origin":"api","parameters":{"nodeId":"intent:deploy-web-app"},"requiresAuthentication":false,"requiresApproval":false}]}