{"id":15018325,"url":"https://github.com/4surix/atomion","last_synced_at":"2025-10-23T17:31:49.360Z","repository":{"id":56617537,"uuid":"251394464","full_name":"4surix/atomion","owner":"4surix","description":"Manipuler des concepts physiques/chimiques (atomes, ions, équations, ...) facilement.","archived":false,"fork":false,"pushed_at":"2022-09-11T18:25:41.000Z","size":254,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T20:05:08.923Z","etag":null,"topics":["atome","equation","ion","molecule","quark"],"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/4surix.png","metadata":{"files":{"readme":"README-EN.md","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":"2020-03-30T18:31:50.000Z","updated_at":"2022-09-08T20:35:46.000Z","dependencies_parsed_at":"2022-08-15T22:00:57.984Z","dependency_job_id":null,"html_url":"https://github.com/4surix/atomion","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4surix%2Fatomion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4surix%2Fatomion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4surix%2Fatomion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4surix%2Fatomion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4surix","download_url":"https://codeload.github.com/4surix/atomion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237869084,"owners_count":19379263,"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","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":["atome","equation","ion","molecule","quark"],"created_at":"2024-09-24T19:51:49.925Z","updated_at":"2025-10-23T17:31:43.954Z","avatar_url":"https://github.com/4surix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"- [Atomion](atomion)\n- [Overview](#overview)\n- [Soon](#soon)\n- [Install](#install)\n- [Documentation](#documentation)\n\n# Atomion\n\n[![Build Status](https://travis-ci.com/4surix/atomion.svg?branch=master)](https://travis-ci.com/4surix/atomion)\n[![PyPI](https://img.shields.io/pypi/v/atomion)](https://pypi.org/project/atomion/)\n[![GitHub issues](https://img.shields.io/github/issues/4surix/atomion)](https://github.com/4surix/atomion/issues)\n\nModule used for atoms, ions _(monoatomics/polyatomics)_ and molecules easy handling\n\nYou'll find a [examples.py](https//github.com/4surix/atomion/blob/master/exemples.py) file with various features.\n\nThis module is compatible with `Micro Python 1.9.4`, therefore, also with calculators !\n\n# Overview\n\n```python\nfrom atomion import *\n\noxygen = Atome('O') # With symbol\nhydrogen = Atome(1) # With proton amount\n\nwater = hydrogen * 2 + oxygen\n# Or\nwater = Molecule('H2O')\n\nchloride = Ion('Cl')\n# Or\nchloride = IonMonoAtomique('Cl')\n\ncarbonate = Ion('CO3')\n# Or\ncarbonate = IonPolyAtomique('CO3')\n\nequation = Equation('Cu + O2 -\u003e CuO')\nequation.equilibrer()\nequation == '2 Cu + O₂ -\u003e 2 CuO'\n\nreaction = Reaction(\n    equation = equation,\n    quantites_reactifs = {\n        Atome('Cu'): 1.6,\n        Molecule('O2'): 1.3\n    }\n)\nreaction.final() == {\n    Atome('Cu'): 0.0,\n    Molecule('O2'): 0.5,\n    Molecule('CuO'): 1.6\n}\n\nfrom atomion.raccourcis import *\n\nwater = H * 2 + O\n# Or\nwater = H2O\n\nprint(water)\n```\n\nTo see the other functionnalities, look at [examples.py](https://github.com/4surix/atomion/blob/master/exemples.py) file.\n\n# Soon\n\n### v1.3.0\n\n- Quarks adding (Up \u0026 down)\n- Nucleus object adding.\n  - Will contain \"proton\" \u0026 \"neutron\" objects\n  - Will be able to be added with Electron objects to create atoms or ions.\n\n### v1.4.0\n\n- Nuclear fusion adding\n- Nuclear fission adding\n\n# Install\n\n### Computer\n\n- Open a Command Prompt.\n  \u003cdetails\u003e\n    \u003csummary\u003eHow to ?\u003c/summary\u003e\n\n  Appuyez sur la touche `Windows` + la touche `R`, et écrivez `cmd` dans la fenêtre qui s'est ouverte.\n  Push `Windows` and `R` keys and write `cmd` in the window.\n  \u003c/details\u003e\n\n- Make sure to have Python 3.6 or greater installed.\n  \u003cdetails\u003e\n    \u003csummary\u003eHow to know ?\u003c/summary\u003e\n\n  Write `python --version` in command prompt. If python is installed, it will show the version (it has to be greater or egal to 3.6)\n\n  If it doesn't show the version, you have to [install Python](https://python.org/downloads) in a version greater or egal to 3.6 to avoid compatibility issues.\n  \u003c/details\u003e\n\n- Make sure to have `pip` install\n  \u003cdetails\u003e\n    \u003csummary\u003eHow to check ?\u003c/summary\u003e\n\n  Write `pip --version` in command prompt. If pip is installed, it will show its version that has to be greater than 10.0.0.\n\n  If it is lower than 10.0.0, write `python -m pip install --upgrade pip` to update.\n  \u003c/details\u003e\n\n- Write the following command :\n  ```sh\n  pip install atomion\n  ```\n- To update it, just add `--upgrade` to update the module :\n\n```sh\npip install atomion --upgrade\n```\n\n- Then, create a new file, import the module and enjoy !\n\n  ```python\n  from atomion import *\n\n  print(Atome('C') + Molecule('O2'))\n  ```\n\n### Calculator\n\n_**Warning**, for calculators that cannot have folders, it is not possible to use this module, but a single file version is WIP to permise you to use it_\n\n- Notice the green button with \"Code\" written on it on this page et push it.\n- Click on \"Download ZIP\".\n- When download is finished, open the .zip file et move the inside folder to another place (in an accessible place).\n- Open the folder that you moved and put the `atomion` folder in your calculator _(that you have plugged to your computer)_.\n- You can also add `exemples.py` file in your calculator to check that all is functionning properly.\n- Now, unplug you calculator, execute `exemples.py` if you added it and, if all works, enjoy !\n\n# Docs\n\nNot yet finished but available :\n\n- 🇫🇷 [En français](https://4surix.github.io/atomion-doc/fr/annotated.html)\n- 🇪🇸 [En español](https://4surix.github.io/atomion-doc/es/annotated.html)\n\n_Made with [DoxyTH](https://github.com/BioTheWolff/DoxyTH)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4surix%2Fatomion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4surix%2Fatomion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4surix%2Fatomion/lists"}