{"id":34070084,"url":"https://github.com/jonathangjertsen/jchord","last_synced_at":"2025-12-14T07:02:17.867Z","repository":{"id":48077860,"uuid":"209645885","full_name":"jonathangjertsen/jchord","owner":"jonathangjertsen","description":"Python toolkit for working with chord progressions","archived":false,"fork":false,"pushed_at":"2023-07-20T13:24:56.000Z","size":603,"stargazers_count":25,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-29T23:24:40.882Z","etag":null,"topics":["chord-progressions","midi","music","music-theory"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/jchord","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/jonathangjertsen.png","metadata":{"files":{"readme":"README.rst","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":"2019-09-19T20:47:49.000Z","updated_at":"2024-11-28T08:48:43.000Z","dependencies_parsed_at":"2022-08-03T16:30:19.548Z","dependency_job_id":null,"html_url":"https://github.com/jonathangjertsen/jchord","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/jonathangjertsen/jchord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathangjertsen%2Fjchord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathangjertsen%2Fjchord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathangjertsen%2Fjchord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathangjertsen%2Fjchord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathangjertsen","download_url":"https://codeload.github.com/jonathangjertsen/jchord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathangjertsen%2Fjchord/sbom","scorecard":{"id":530293,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonathangjertsen/jchord","commit":"afffce0181a7a1f3fa4a302d9aeb788214f0db00"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"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":"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/jonathangjertsen/jchord/build.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:22","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:35","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand 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":"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":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"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-20T05:31:39.071Z","repository_id":48077860,"created_at":"2025-08-20T05:31:39.071Z","updated_at":"2025-08-20T05:31:39.071Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27720807,"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-14T02:00:11.348Z","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":["chord-progressions","midi","music","music-theory"],"created_at":"2025-12-14T07:01:31.125Z","updated_at":"2025-12-14T07:02:17.857Z","avatar_url":"https://github.com/jonathangjertsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"jchord - toolkit for working with chord progressions\r\n====================================================\r\n\r\n.. image:: https://github.com/jonathangjertsen/jchord/actions/workflows/build.yml/badge.svg\r\n    :target: https://github.com/jonathangjertsen/jchord/actions/workflows/build.yml\r\n\r\n.. image:: https://codecov.io/gh/jonathangjertsen/jchord/branch/master/graph/badge.svg\r\n    :target: https://codecov.io/gh/jonathangjertsen/jchord\r\n\r\nWhat's this then?\r\n=================\r\n\r\n``jchord`` is a Python package which provides tools for working with chord progressions. ``jchord``:\r\n\r\n* has object representations for notes, chords, and progressions (in the Western 12-tone system)\r\n* knows about naming conventions for chords, and can convert back and forth between objects and names\r\n* can be used as a converter between strings, text files, XLSX files, PDFs and MIDI files (see \"converter script\" below)\r\n\r\nGet it\r\n======\r\n\r\nBasic installation:\r\n\r\n   ``pip install jchord``\r\n\r\nInstallation with dependencies for reading and writing MIDI/XLSX/PDF files:\r\n\r\n   ``pip install jchord[midi,xlsx,pdf]``\r\n\r\n\r\nConvert between formats\r\n=======================\r\n\r\nIf you just want the converter functionality, invoke `jchord` on the command line::\r\n\r\n   usage: jchord [-h] [--midi MIDI] [--pdf PDF] file_in file_out\r\n\r\n   Converts between different representations of the same format\r\n\r\n   positional arguments:\r\n     file_in      Input progression as string, .txt, .xlsx or .midi\r\n     file_out     Output file as .txt, .xlsx, .midi or .pdf\r\n\r\n   optional arguments:\r\n     -h, --help   show this help message and exit\r\n     --midi MIDI  comma separated list of arguments for midi, e.g. tempo=8,beats_per_chord=2\r\n     --pdf PDF    comma separated list of arguments for pdf, e.g. chords_per_row=8,fontsize=30\r\n\r\nExample::\r\n\r\n   jchord \"Cm A E7 F#m7\" example.mid --midi tempo=80,beats_per_chord=1\r\n\r\nAs a library\r\n============\r\n\r\nHere is an example that parses a chord progression written as a string, transposes it upwards by 2 semitones,\r\nconverts it back to a string and then creates a midi file from it.::\r\n\r\n\r\n   from jchord import ChordProgression, MidiConversionSettings\r\n   prog = ChordProgression.from_string(\"C -- Fm7 -- C -- G7 -- C -- E7 Am F Bm7b5 E7 Am9 F Bo C69 --\")\r\n   prog = prog.transpose(+2)\r\n   print(prog.to_string())\r\n   prog.to_midi(MidiConversionSettings(filename=\"example.midi\", tempo=100, beats_per_chord=2, instrument=4))\r\n\r\nOutput::\r\n\r\n   D       --      Gm7     --\r\n   D       --      A7      --\r\n   D       --      F#7     Bm\r\n   G       C#m7b5  F#7     Bm9\r\n   G       C#o     D69     --\r\n\r\nFor more examples, see the `documentation \u003chttps://jonathangjertsen.github.io/jchord/#examples\u003e`_.\r\n\r\nDocumentation\r\n=============\r\n\r\nDocumentation lives here: `jonathangjertsen.github.io/jchord/ \u003chttps://jonathangjertsen.github.io/jchord/\u003e`_\r\n\r\nContributing\r\n============\r\n\r\nTo contribute, open an issue or create a Pull Request in the `Github repo \u003chttps://github.com/jonathangjertsen/jchord\u003e`_.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathangjertsen%2Fjchord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathangjertsen%2Fjchord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathangjertsen%2Fjchord/lists"}