{"id":21715178,"url":"https://github.com/chicolucio/integrals","last_synced_at":"2026-02-15T12:36:22.443Z","repository":{"id":99055391,"uuid":"486387631","full_name":"chicolucio/integrals","owner":"chicolucio","description":"Computing integrals","archived":false,"fork":false,"pushed_at":"2022-04-28T17:43:10.000Z","size":1186,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T01:37:19.293Z","etag":null,"topics":["animation","integral","integration","math","matplotlib","matplotlib-animation","python","riemann","riemann-sum"],"latest_commit_sha":null,"homepage":"","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/chicolucio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-28T00:01:00.000Z","updated_at":"2025-07-13T10:40:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2c02765-2839-40d6-b696-6e641ad88051","html_url":"https://github.com/chicolucio/integrals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chicolucio/integrals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicolucio%2Fintegrals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicolucio%2Fintegrals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicolucio%2Fintegrals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicolucio%2Fintegrals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chicolucio","download_url":"https://codeload.github.com/chicolucio/integrals/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicolucio%2Fintegrals/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29478354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"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":["animation","integral","integration","math","matplotlib","matplotlib-animation","python","riemann","riemann-sum"],"created_at":"2024-11-26T00:41:32.005Z","updated_at":"2026-02-15T12:36:22.425Z","avatar_url":"https://github.com/chicolucio.png","language":"Python","readme":"# Integrals\n\n[![author](https://img.shields.io/badge/author-Francisco\u0026nbsp;Bustamante-red.svg)](https://www.linkedin.com/in/flsbustamante/) \n[![](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/) \n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/chicolucio/integrals/issues)\n\n![header image](images/animation.gif)\n\nA Python project to compute integrals:\n\n- symbolically with SymPy\n- numerically through Riemann sums\n\nThe project aims to be educational, showing how numerical integration works\nthrough animations like the one at the beginning. There are more animations in\nthe [images folder](images/). Yes, you can do such calculations with SciPy\nbut without the nice animations :-)\n\n## Usage\n\n1. clone the repo, not a package yet :-(\n2. create a virtual environment with Python 3.8+\n3. activate the virtual environment\n4. install dependencies\n5. run the scripts\n\n```bash\ngit clone https://github.com/chicolucio/integrals\ncd integrals\npython -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\npython animation.py\npython integral.py\npython antiderivatives.py\n```\n\n`animation.py` shows how more Riemann rectangles make the approximation better.\n`integral.py` has examples of how to use the other methods. Both files have\nmore examples that can be uncommented in the code as instructed in them.\n`antiderivatives.py` just plots a family of functions that are antiderivatives\nof *2x*.\n\n## Testing\n\nTests can be run in the top-level directory with the command `pytest -v tests/`.\n\n## Contributing\n\nAll contributions are welcome.\n\n**Issues**\n\nFeel free to submit issues regarding:\n\n- recommendations\n- more animations or examples\n- enhancement requests and new useful features\n- code bugs\n\nThere are some open issues waiting for your help, see\n[here](https://github.com/chicolucio/integrals/issues).\n\n**Pull requests**\n\n- before starting to work on your pull request, please submit an issue first\n- fork the repo\n- clone the project to your own machine\n- commit changes to your own branch\n- push your work back up to your fork\n- submit a pull request so that your changes can be reviewed\n\n## License\n\nMIT, see [LICENSE](LICENSE)\n\n## Citing\n\nIf you use this project in a scientific publication or in classes, please consider citing as\n\nF. L. S. Bustamante, Integrals, 2022 - Available at: https://github.com/chicolucio/integrals\n\n## More\n\n- [LinkedIn](https://www.linkedin.com/in/flsbustamante/)\n- [Portfolio](https://franciscobustamante.com.br/portfolio)\n- [Curriculum Vitae](https://franciscobustamante.com.br/about/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicolucio%2Fintegrals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchicolucio%2Fintegrals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicolucio%2Fintegrals/lists"}