{"id":49959417,"url":"https://github.com/henryrobbins/dmtools","last_synced_at":"2026-05-18T01:13:45.162Z","repository":{"id":45394574,"uuid":"399678737","full_name":"henryrobbins/dmtools","owner":"henryrobbins","description":"A Python package providing low-level tools for working with digital media programmatically.","archived":false,"fork":false,"pushed_at":"2024-07-17T02:46:47.000Z","size":7725,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T00:12:28.177Z","etag":null,"topics":["digital-media","ffmpeg","image-processing","low-level","netpbm"],"latest_commit_sha":null,"homepage":"https://dmtools.henryrobbins.com","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/henryrobbins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-25T03:33:39.000Z","updated_at":"2024-07-17T02:46:50.000Z","dependencies_parsed_at":"2022-09-05T12:30:54.892Z","dependency_job_id":null,"html_url":"https://github.com/henryrobbins/dmtools","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/henryrobbins/dmtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryrobbins%2Fdmtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryrobbins%2Fdmtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryrobbins%2Fdmtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryrobbins%2Fdmtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henryrobbins","download_url":"https://codeload.github.com/henryrobbins/dmtools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henryrobbins%2Fdmtools/sbom","scorecard":{"id":461623,"data":{"date":"2025-08-11","repo":{"name":"github.com/henryrobbins/dmtools","commit":"62e9cd556f849d9b49ca0c7d03ef81900def5a6b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/29 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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq","Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3","Warn: Project is vulnerable to: GHSA-4fx9-vc88-q2xc","Warn: Project is vulnerable to: PYSEC-2023-227 / GHSA-8ghj-p4vj-mr35","Warn: Project is vulnerable to: PYSEC-2022-10 / GHSA-8vj2-vxx3-667w","Warn: Project is vulnerable to: PYSEC-2022-168 / GHSA-9j59-75qj-795w","Warn: Project is vulnerable to: GHSA-j7hp-h8jx-5ppr","Warn: Project is vulnerable to: PYSEC-2022-42979 / GHSA-m2vv-5vj5-2hm7","Warn: Project is vulnerable to: PYSEC-2022-8 / GHSA-pw3c-h7wp-cvhx","Warn: Project is vulnerable to: PYSEC-2022-9 / GHSA-xrcv-f9gm-v42c","Warn: Project is vulnerable to: PYSEC-2023-175","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T11:16:34.014Z","repository_id":45394574,"created_at":"2025-08-19T11:16:34.014Z","updated_at":"2025-08-19T11:16:34.014Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33161454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: 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":["digital-media","ffmpeg","image-processing","low-level","netpbm"],"created_at":"2026-05-18T01:13:44.778Z","updated_at":"2026-05-18T01:13:45.154Z","avatar_url":"https://github.com/henryrobbins.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg alt=\"dmtools\" src=\"docs/branding/dmtools_dark.png\" height=\"90\"\u003e\n\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/dmtools.svg)](https://pypi.python.org/pypi/dmtools/)\n[![CircleCI](https://circleci.com/gh/henryrobbins/dmtools.svg?style=shield)](https://app.circleci.com/pipelines/github/henryrobbins/dmtools)\n[![Documentation Status](https://readthedocs.org/projects/dmtools/badge/?version=latest)](https://dmtools.readthedocs.io/en/latest/?badge=latest)\n[![codecov](https://codecov.io/gh/henryrobbins/dmtools/branch/master/graphs/badge.svg)](https://codecov.io/gh/henryrobbins/dmtools)\n\ndmtools (Digital Media Tools) is a Python package providing low-level tools for\nworking with digital media programmatically. It supports the PNG and [Netpbm][1]\nimage file formats as well as the MPEG-4 and [WAV][2] video and audio file\nformats respectively.\n\nThe `transform` module provides image transformation tools such as rescale\n(based on the [ImageMagick][3] implementation) and composite (based on the\n[Cairo][4] implementation). The `adjustments` module provides a curves tool and\nthe `colorspace` module provides colorspace conversion tools. The `arrange`\nmodule provides image layout tools. Lastly, the `animation` and `sound` modules\nprovide tools for working with video and sound respectively. For more details,\nsee the [Documentation][8].\n\n# Installations\n\nThe quickest way to get started is with a pip install.\n\n```\npip install dmtools\n```\n\nThe `animation` module requires [ffmpeg][5] which you can install with a package\nmanager like [Homebrew][6]. Note that this may take some time to install.\n\n```\nbrew install ffmpeg\n```\n\nFor in-depth installation instructions see [Installation][7].\n\n# Usage\n\nThe usage example below illustrates how an image can be read, manipulated,\nand exported using dmtools. It features a change of color space, inversion of\nthe red channel, and blur. For more usage examples, see the\n[Introduction to dmtools][9] in [Tutorials][10]. Both the input image\n`checks_5.png` and output image `result.png` can be found in the [dmtools][11]\nGitHub repository.\n\n```python\nimport dmtools\nfrom dmtools import colorspace, transform, adjustments, arrange\n\nimage = dmtools.read(\"checks_5.png\")\nimage = colorspace.gray_to_RGB(image)\nimage = adjustments.apply_curve(image, lambda x: 1 - x, 0)\nimage = transform.blur(image, 5)\nimage = arrange.image_grid([image]*2, 2, 1, 15, color=1)\n\ndmtools.write_png(image, \"result.png\")\n\n```\n\n![checks_5.png](checks_5.png)\n\n*checks_5.png*\n\n![result.png](result.png)\n\n*result.png*\n\n## License\n\nLicensed under the [MIT License](https://choosealicense.com/licenses/mit/)\n\n[1]: \u003chttp://netpbm.sourceforge.net/\u003e \"Netpbm\"\n[2]: \u003chttps://en.wikipedia.org/wiki/WAV\u003e \"WAV\"\n[3]: \u003chttps://legacy.imagemagick.org/Usage/resize/\u003e \"ImageMagick\"\n[4]: \u003chttps://cairographics.org/operators/\u003e \"Cairo\"\n[5]: \u003chttps://ffmpeg.org/about.html\u003e \"ffmpeg\"\n[6]: \u003chttps://brew.sh/\u003e \"Homebrew\"\n[7]: \u003chttps://dmtools.henryrobbins.com/en/latest/install/index.html\u003e \"Installation\"\n[8]: \u003chttps://dmtools.henryrobbins.com/en/latest/modules.html\u003e \"Documentation\"\n[9]: \u003chttps://dmtools.henryrobbins.com/en/latest/tutorials/dmtools.html\u003e \"Introduction\"\n[10]: \u003chttps://dmtools.henryrobbins.com/en/latest/tutorials/index.html\u003e \"Tutorials\"\n[11]: \u003chttps://github.com/henryrobbins/dmtools\u003e \"dmtools\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryrobbins%2Fdmtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenryrobbins%2Fdmtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenryrobbins%2Fdmtools/lists"}