{"id":13415782,"url":"https://github.com/ipython-books/cookbook-code","last_synced_at":"2025-05-06T15:33:19.719Z","repository":{"id":74417085,"uuid":"13955959","full_name":"ipython-books/cookbook-code","owner":"ipython-books","description":"[DEPRECATED] See the new edition:","archived":false,"fork":false,"pushed_at":"2018-06-11T09:56:08.000Z","size":3341,"stargazers_count":971,"open_issues_count":18,"forks_count":457,"subscribers_count":90,"default_branch":"master","last_synced_at":"2024-07-31T21:54:35.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ipython-books.github.io/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipython-books.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2013-10-29T13:03:16.000Z","updated_at":"2024-04-15T20:13:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fe07d53-b4fe-4f2d-8f96-ab13dce9329c","html_url":"https://github.com/ipython-books/cookbook-code","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython-books%2Fcookbook-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython-books%2Fcookbook-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython-books%2Fcookbook-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipython-books%2Fcookbook-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipython-books","download_url":"https://codeload.github.com/ipython-books/cookbook-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252713045,"owners_count":21792421,"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":[],"created_at":"2024-07-30T21:00:52.073Z","updated_at":"2025-05-06T15:33:19.699Z","avatar_url":"https://github.com/ipython-books.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"IPython Cookbook\r\n================\r\n\r\nThis repository contains the recipes of the [IPython Cookbook](http://ipython-books.github.io), the definitive guide to **high-performance scientific computing** and **data science** in Python, by [Dr. Cyrille Rossant](http://cyrille.rossant.net), Packt Publishing, 500 pages, September 2014.\r\n\r\n[Follow me on Twitter to get all updates](https://twitter.com/cyrillerossant)\r\n\r\n\r\n## Featured recipes\r\n\r\nA selection of free recipes from the book:\r\n\r\n1. [Getting the best performance out of NumPy](http://ipython-books.github.io/featured-01/)\r\n2. [Simulating a physical system by minimizing an energy](http://ipython-books.github.io/featured-02/)\r\n3. [Creating a route planner for road network](http://ipython-books.github.io/featured-03/)\r\n4. [Introduction to machine learning in Python with scikit-learn](http://ipython-books.github.io/featured-04/)\r\n5. [Simulating a partial differential equation: reaction-diffusion systems and Turing patterns](http://ipython-books.github.io/featured-05/)\r\n6. [Getting started with Vispy](http://ipython-books.github.io/featured-06/)\r\n* more coming soon...\r\n\r\n\r\n## Table of contents\r\n\r\n* [See the full table of contents here](toc.md)\r\n\r\n\r\n## Errata\r\n\r\nYou can report inaccuracies or errors in the [GitHub issue tracker](https://github.com/ipython-books/cookbook-code/issues). Even better, propose your own corrections by submitting a pull request!\r\n\r\n* [See the list of errata here](errata.md)\r\n\r\n\r\n## Example data\r\n\r\n[You will find the data used in the recipes here](https://github.com/ipython-books/cookbook-data).\r\n\r\n\r\n## Structure of the repository\r\n\r\nThe structure of the repo is the following:\r\n\r\n```\r\nnotebooks/                      all notebooks with the code of all examples\r\n    chapter01_tour/             \r\n    chapter02_best_practices/   \r\n    ...\r\n    extra/                      extra code example that didn't make it in the book\r\n    guests/                     guest recipes\r\nfeatured/                       a selection of complete recipes with all text, figures and code\r\nreferences/                     a curated list of references about scientific Python programming\r\ntools/                          various building Python scripts\r\n```\r\n\r\n\r\n## Installation\r\n\r\nYou need Python 3 (or 2) and a bunch of scientific modules for the code examples, mainly IPython 2.0+, NumPy, SciPy, Pandas, and matplotlib. Many recipes that require other modules come with the appropriate installation instructions.\r\n\r\nWe highly recommend that you use an all-in-one Python distribution like [Anaconda](http://continuum.io/downloads). This distribution comes with an excellent package manager named *conda*. It lets you install easily many modules on most platforms (Windows, Linux, Mac OS X), in 64-bit (recommended if you have a 64-bit OS) or 32-bit.\r\n\r\nThe recipes are written for Python 3 first, but they also work with Python 2. Please favor Python 3 over Python 2 if you can.\r\n\r\n\r\n## Cloning the repository\r\n\r\nYou need [git](http://git-scm.com/), a distributed versioning system, to download a local copy of this repository. Open a terminal and type:\r\n\r\n```\r\ngit clone https://github.com/ipython-books/cookbook-code.git\r\n```\r\n\r\nThis will copy the repository in a local folder named `cookbook-code`.\r\n\r\n\r\n## Running the examples\r\n\r\nLaunch the IPython notebook server with:\r\n\r\n```\r\nipython notebook\r\n```\r\n\r\nIn your browser, go to `127.0.0.1:8888`. You can navigate in the repository and open the notebooks.\r\n\r\n\r\n## Contribute\r\n\r\nYou are welcome to contribute to this repository. You can use the issue tracker to report any problem. You can also propose a pull request (PR) to fix an error, to add some information, or even propose a brand new recipe in the `guests/` folder!\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipython-books%2Fcookbook-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipython-books%2Fcookbook-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipython-books%2Fcookbook-code/lists"}