{"id":37071618,"url":"https://github.com/alej0varas/djassr","last_synced_at":"2026-01-14T08:24:14.256Z","repository":{"id":57418970,"uuid":"62403770","full_name":"alej0varas/djassr","owner":"alej0varas","description":"Django rest framework views to get a S3 signed url to PUT or GET to AWS S3","archived":true,"fork":false,"pushed_at":"2018-02-19T09:09:09.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T03:17:15.092Z","etag":null,"topics":["django","django-rest-framework","python","s3","signed-requests"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alej0varas.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-01T15:51:55.000Z","updated_at":"2024-01-08T11:27:36.000Z","dependencies_parsed_at":"2022-09-13T21:02:53.020Z","dependency_job_id":null,"html_url":"https://github.com/alej0varas/djassr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alej0varas/djassr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alej0varas%2Fdjassr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alej0varas%2Fdjassr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alej0varas%2Fdjassr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alej0varas%2Fdjassr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alej0varas","download_url":"https://codeload.github.com/alej0varas/djassr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alej0varas%2Fdjassr/sbom","scorecard":{"id":178922,"data":{"date":"2025-08-11","repo":{"name":"github.com/alej0varas/djassr","commit":"1c7ead6979e370b5551a766c63002b490fea8905"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T18:24:48.981Z","repository_id":57418970,"created_at":"2025-08-16T18:24:48.981Z","updated_at":"2025-08-16T18:24:48.981Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:16:59.381Z","status":"ssl_error","status_checked_at":"2026-01-14T08:13:45.490Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-rest-framework","python","s3","signed-requests"],"created_at":"2026-01-14T08:24:13.706Z","updated_at":"2026-01-14T08:24:14.242Z","avatar_url":"https://github.com/alej0varas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\n Djassr\n========\n\nDjango rest framework views to get a S3 signed url to PUT or GET to AWS S3\n\n.. note::\n  This views doesn't provide any authentication nor permission classes. This means that *ANYONE* can have access to them if your API is public. It's highly recomended to add `authentication_classes` and `permission_classes`.\n\nExample `views.py`\n\n::\n\n   import djassr\n\n   class MyS3PUTSignatureAPIView(djassr.GetPUTSignature):\n       authentication_classes = (TokenAuthentication, )\n       permission_classes = (IsAuthenticated,)\n\n.. note::\n   File names are replaced by a `uuid.uuid4` + the extension. For example \"myfile.png\" will become \"7afad9bc-00d3-46ed-86bf-5ccc52eebd50.png\". You can overwrite the `get_object_name` method of the `GetPUTSignature` and `GetPUTPublicSignature`.\n\n\n.. note::\n   The duration of the link is by default 60 seconds. To change this you can set `DJASSR_DEFAULT_EXPIRE` in your `settings.py` or overwrite the `get_expire` method for the signature class. The method must return an integer wich is the time in seconds the link will be valid.\n\nInstall\n=======\n::\n\n   $ pip install djassr\n\n\nUsage\n=====\nIn `urls.py`\n\n::\n\n   ...\n   url('^put_signed_url/$', djassr.views.GetPUTSignature.as_view()),\n   ...\n\nDemo\n====\n\nYou can look at and run the demo project.\n\n::\n\n   pip install -r requirements-dev.txt\n   pip install -e ../\n   cd demop\n   python manage.py migrate\n   python manage.py runserver\n\nGo to http://localhost:8000/api/\n\n\nRunning Tests\n=============\n::\n\n   python runtests.py [tests.\u003ctests_module\u003e[.\u003cTestClass\u003e[.\u003ctest_method\u003e]]]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falej0varas%2Fdjassr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falej0varas%2Fdjassr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falej0varas%2Fdjassr/lists"}