{"id":41834006,"url":"https://github.com/mordy-python/chemyst","last_synced_at":"2026-01-25T08:46:23.985Z","repository":{"id":51511274,"uuid":"355957603","full_name":"mordy-python/chemyst","owner":"mordy-python","description":"Chemistry Library for python","archived":false,"fork":false,"pushed_at":"2021-05-11T13:38:29.000Z","size":38,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T18:16:06.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mordy-python.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-08T15:19:00.000Z","updated_at":"2023-11-27T22:05:04.000Z","dependencies_parsed_at":"2022-08-21T13:50:09.493Z","dependency_job_id":null,"html_url":"https://github.com/mordy-python/chemyst","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mordy-python/chemyst","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordy-python%2Fchemyst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordy-python%2Fchemyst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordy-python%2Fchemyst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordy-python%2Fchemyst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mordy-python","download_url":"https://codeload.github.com/mordy-python/chemyst/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mordy-python%2Fchemyst/sbom","scorecard":{"id":659874,"data":{"date":"2025-08-11","repo":{"name":"github.com/mordy-python/chemyst","commit":"6ded98e79bb98fcc514956f3314e816dfe4269bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"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":"Code-Review","score":1,"reason":"Found 4/23 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.2.2 not signed: https://api.github.com/repos/mordy-python/chemyst/releases/42372618","Warn: release artifact 2.1.1 not signed: https://api.github.com/repos/mordy-python/chemyst/releases/41143651","Warn: release artifact 2.2.2 does not have provenance: https://api.github.com/repos/mordy-python/chemyst/releases/42372618","Warn: release artifact 2.1.1 does not have provenance: https://api.github.com/repos/mordy-python/chemyst/releases/41143651"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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 12 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-21T15:47:02.225Z","repository_id":51511274,"created_at":"2025-08-21T15:47:02.225Z","updated_at":"2025-08-21T15:47:02.225Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28749780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T08:31:04.260Z","status":"ssl_error","status_checked_at":"2026-01-25T08:30:28.859Z","response_time":113,"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":[],"created_at":"2026-01-25T08:46:22.821Z","updated_at":"2026-01-25T08:46:23.967Z","avatar_url":"https://github.com/mordy-python.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Chemyst library\n\nTo install chemyst run ```pip install chemyst```  \n\n## Usage For P_total\n\n```python\n# gas_laws stands for Pressure, Volume, Number of Moles, R is the ideal gas law constant, T is temperature\nfrom chemyst.gas_laws import P_total\n# Mixture of 3 gases lets say\ntotal_pressure = P_total([9.987, 2.33, 123.9])\nprint(total_pressure)\n# OUTPUT: 136.217\n```\n\nArgs:\n\n- pressure is the only argument to P_total\n  - It is a list of the partial pressure of all the gases in a mixture\n\n## Usage For partial_pressure\n\n```python\nfrom chemyst.gas_laws import partial_pressure\n# Args: num_moles, ideal_gas_law, temp, volume, is_temp_kelvin=True\npressureO2 = partial_pressure(2, 'atm', 31, 15.0, False)\nprint(pressureO2)\n# OUTPUT: 13.2\n```\n\nArgs:\n\n- num_of_moles is the number of moles of the given gas  \n- ideal_gas_law is the ideal gas law constant to use for the given pressure unit\n  - if the pressure unit is atm\n    - ideal_gas_law should be 'atm'\n  - if the pressure unit is kpa\n    - ideal_gas_law should be 'kpa'\n  - if the pressure unit is mmHg\n    - ideal_gas_law should be 'mmhg'\n- temp is the given temperature can be either Celsius or Kelvin\n- volume is the volume of the container\n- is_temp_kelvin determines whether the temperature should be converter to Kelvin or not\n  - if the temperature is in celsius is_temp_kelvin should equal false\n\n## Usage For the conversions module\n\n```python\nfrom chemyst.conversions import moles_to_mass, mass_to_moles, atoms_to_grams, grams_to_atoms, ml_to_l, l_to_ml\n# Moles to mass OUTPUT: 512g\nmoles_to_mass(16, 32)\n# Mass to moles OUTPUT: 16.0\nmass_to_moles(512, 32)\n# Atoms to grams OUTPUT: 7.18e20\natoms_to_grams(1352, 32)\n# Grams to atoms OUTPUT: 1.88e24 \ngrams_to_atoms(100, 32)\n# Mililiters to liters OUTPUT: 1 liter\nml_to_l(1000)\n# Liters to mililiters OUTPUT: 1000ml\nl_to_ml(1)\n```\n\nArgs:\n\n- moles_to_mass(num_moles, molar_mass)\n  - num_moles is the number of moles to be converted to grams\n  - molar_mass is the mass of the element in grams\n    - for example O2 would have a molar mass of 32\n- mass_to_moles(g_of_element, molar_mass)\n  - g_of_element is the amount of grams which will be converted to moles\n  - molar_mass is the mass of the element in grams\n- atoms_to_grams(num_atoms, molar_mass)\n  - num_atoms is the number of atoms to be converted to grams\n  - molar_mass is the mass of the element in grams\n- grams_to_atoms(g_of_element, molar_mass)\n  - g_of_element is the amount of grams which will be converted to moles\n  - molar_mass is the mass of the element in grams\n- ml_to_l(ml)\n  - ml is the number of mililiters to convert into liters\n- l_to_ml(l)\n  - l is the number of liters to convert into mililiters\n\n## Usage for the molar module\n\n### Molar and finding the moles\n\nThe molar module gives the Molar amount (M) from the moles and volume of a solution\n\n```python\nfrom chemyst.molar import molar, find_moles\n# Find the Molar amount of 3 moles of sugar in 5 liters of water\nmolar(3, 5) # OUTPUT: 0.6M\n# Find the number of moles of sugar with the Volume and Moles of the same siolution\nfind_moles(0.6, 5) # OUTPUT: 3 Moles Sugar\n```\n\n## Usage For the yields module\n\n### Theoretical yield\n\nThe yields module is slightly different than the others  \n\nthe theoretical_yield() function takes 3 arguments:\n\n- actual_yield\n  - the yield given in the equation\n- mole_ratio_top which is\n  - From the balanced equation given, the number of moles of the wanted element\n- mole_ratio_bottom which likewise is\n  - From the balanced equation given, the number of moles of the given element\n\nIMPORTANT: the theoretical_yield() function arguments MUST all be moles  \nthis can be easily achieved by using the ```moles_to_mass``` and ```mass_to_moles``` functions of ```chemyst.conversions```\n\n### Percent Yield\n\nthe percent yield() function take 2 arguments\n\n- actual_yield\n  - yield given in the equation\n- theoretical_yield\n  - this yield can be calculated using the theoretical_yield() function\n\nIMPORTANT: the percent_yield() function arguments MUST all be grams  \nthis can be easily achieved by using the ```moles_to_mass``` and ```mass_to_moles``` functions of ```chemyst.conversions```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmordy-python%2Fchemyst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmordy-python%2Fchemyst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmordy-python%2Fchemyst/lists"}