{"id":13448754,"url":"https://github.com/jazzband/django-pipeline","last_synced_at":"2025-12-11T21:04:31.443Z","repository":{"id":625852,"uuid":"1843992","full_name":"jazzband/django-pipeline","owner":"jazzband","description":"Pipeline is an asset packaging library for Django.","archived":false,"fork":false,"pushed_at":"2025-12-01T06:32:17.000Z","size":1355,"stargazers_count":1545,"open_issues_count":154,"forks_count":375,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-12-10T23:53:26.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://django-pipeline.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jazzband.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://jazzband.co/donate"]}},"created_at":"2011-06-03T19:01:34.000Z","updated_at":"2025-12-02T19:37:34.000Z","dependencies_parsed_at":"2023-01-13T10:31:55.937Z","dependency_job_id":"f9070b5a-1d58-4ade-a62e-0c3b9d2d98e0","html_url":"https://github.com/jazzband/django-pipeline","commit_stats":{"total_commits":996,"total_committers":177,"mean_commits":5.627118644067797,"dds":"0.43775100401606426","last_synced_commit":"e459d87a0e42aab266d6be6a90be685c6f753b09"},"previous_names":["cyberdelia/django-pipeline"],"tags_count":139,"template":false,"template_full_name":null,"purl":"pkg:github/jazzband/django-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazzband%2Fdjango-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazzband%2Fdjango-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazzband%2Fdjango-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazzband%2Fdjango-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jazzband","download_url":"https://codeload.github.com/jazzband/django-pipeline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jazzband%2Fdjango-pipeline/sbom","scorecard":{"id":509607,"data":{"date":"2025-08-11","repo":{"name":"github.com/jazzband/django-pipeline","commit":"927ca9ad250d67402d2e32f64fd5a47cfb60f328"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":8,"reason":"10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8","details":null,"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":6,"reason":"Found 11/17 approved changesets -- score normalized to 6","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/jazzband/django-pipeline/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:92","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:57","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:73","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:74","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:9"],"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/jazzband/.github/SECURITY.md:1","Info: Found linked content: github.com/jazzband/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/jazzband/.github/SECURITY.md:1","Info: Found text in security policy: github.com/jazzband/.github/SECURITY.md:1"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T00:12:36.908Z","repository_id":625852,"created_at":"2025-08-20T00:12:36.908Z","updated_at":"2025-08-20T00:12:36.908Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27653799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-07-31T06:00:20.124Z","updated_at":"2025-12-11T21:04:31.008Z","avatar_url":"https://github.com/jazzband.png","language":"Python","funding_links":["https://jazzband.co/donate"],"categories":["Asset Management","Python","资源管理","资源列表","Web Asset Management","Minifiers","Web资产管理","Web 资源管理","Django Utilities","Web Asset Management [🔝](#readme)","Awesome Python"],"sub_categories":["Web 资源管理","Meetups","Asset Management"],"readme":"Pipeline\n========\n\n.. image:: https://jazzband.co/static/img/badge.svg\n    :alt: Jazzband\n    :target: https://jazzband.co/\n\n.. image:: https://github.com/jazzband/django-pipeline/workflows/Test/badge.svg\n   :target: https://github.com/jazzband/django-pipeline/actions\n   :alt: GitHub Actions\n\n.. image:: https://codecov.io/gh/jazzband/django-pipeline/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/jazzband/django-pipeline\n   :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/django-pipeline/badge/?version=latest\n    :alt: Documentation Status\n    :target: https://django-pipeline.readthedocs.io/en/latest/?badge=latest\n\n\nPipeline is an asset packaging library for Django, providing both CSS and\nJavaScript concatenation and compression, built-in JavaScript template support,\nand optional data-URI image and font embedding.\n\n.. image:: https://github.com/jazzband/django-pipeline/raw/master/img/django-pipeline.svg\n   :alt: Django Pipeline Overview\n\n\nInstallation\n------------\n\nTo install it, simply:\n\n.. code-block:: bash\n\n    pip install django-pipeline\n\n\nQuickstart\n----------\n\nPipeline compiles and compress your assets files from\n``STATICFILES_DIRS`` to your ``STATIC_ROOT`` when you run Django's\n``collectstatic`` command.\n\nThese simple steps add Pipeline to your project to compile multiple ``.js`` and\n``.css`` file into one and compress them.\n\nAdd Pipeline to your installed apps:\n\n.. code-block:: python\n\n    # settings.py\n    INSTALLED_APPS = [\n        ...\n        'pipeline',\n    ]\n\n\nUse Pipeline specified classes for ``STATICFILES_FINDERS`` and ``STATICFILES_STORAGE``:\n\n.. code-block:: python\n\n    STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage'\n\n    STATICFILES_FINDERS = (\n        'django.contrib.staticfiles.finders.FileSystemFinder',\n        'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n        'pipeline.finders.PipelineFinder',\n    )\n\n\nConfigure Pipeline:\n\n.. code-block:: python\n\n    # The folowing config merges CSS files(main.css, normalize.css)\n    # and JavaScript files(app.js, script.js) and compress them using\n    # `yuglify` into `css/styles.css` and `js/main.js`\n    # NOTE: Pipeline only works when DEBUG is False\n    PIPELINE = {\n        'STYLESHEETS': {\n            'css_files': {\n                'source_filenames': (\n                    'css/main.css',\n                    'css/normalize.css',\n                ),\n                'output_filename': 'css/styles.css',\n                'extra_context': {\n                    'media': 'screen,projection',\n                },\n            },\n        },\n        'JAVASCRIPT': {\n            'js_files': {\n                'source_filenames': (\n                    'js/app.js',\n                    'js/script.js',\n                ),\n                'output_filename': 'js/main.js',\n            }\n        }\n    }\n\n\nThen, you have to install compilers and compressors binary manually.\n\nFor example, you can install them using `NPM \u003chttps://www.npmjs.com/\u003e`_\nand address them from ``node_modules`` directory in your project path:\n\n.. code-block:: python\n\n    PIPELINE.update({\n        'YUGLIFY_BINARY': path.join(BASE_DIR, 'node_modules/.bin/yuglify'),\n    })\n    # For a list of all supported compilers and compressors see documentation\n\n\nLoad static files in your template:\n\n.. code-block::\n\n    {% load pipeline %}\n    {% stylesheet 'css_files' %}\n    {% javascript 'js_files' %}\n\n\nDocumentation\n-------------\n\nFor documentation, usage, and examples, see:\nhttps://django-pipeline.readthedocs.io\n\n\nIssues\n------\nYou can report bugs and discuss features on the `issues page \u003chttps://github.com/jazzband/django-pipeline/issues\u003e`_.\n\n\nChangelog\n---------\n\nSee `HISTORY.rst \u003chttps://github.com/jazzband/django-pipeline/blob/master/HISTORY.rst\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazzband%2Fdjango-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjazzband%2Fdjango-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjazzband%2Fdjango-pipeline/lists"}