{"id":17898042,"url":"https://github.com/tindzk/nix-ds","last_synced_at":"2025-07-26T17:36:01.585Z","repository":{"id":136904617,"uuid":"73929895","full_name":"tindzk/nix-ds","owner":"tindzk","description":"Nix for Data Science","archived":false,"fork":false,"pushed_at":"2016-11-29T19:08:42.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T23:45:48.409Z","etag":null,"topics":["data-science","nix","python"],"latest_commit_sha":null,"homepage":null,"language":"Nix","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/tindzk.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-16T14:51:45.000Z","updated_at":"2022-08-23T19:35:19.000Z","dependencies_parsed_at":"2024-05-30T05:22:40.002Z","dependency_job_id":null,"html_url":"https://github.com/tindzk/nix-ds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tindzk%2Fnix-ds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tindzk%2Fnix-ds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tindzk%2Fnix-ds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tindzk%2Fnix-ds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tindzk","download_url":"https://codeload.github.com/tindzk/nix-ds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245081972,"owners_count":20557877,"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":["data-science","nix","python"],"created_at":"2024-10-28T15:27:28.527Z","updated_at":"2025-03-23T09:30:46.743Z","avatar_url":"https://github.com/tindzk.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix for Data Science\nAs Ubuntu's LTS releases usually do not ship the latest versions, it becomes challenging to set up a clean environment for Data Science. Nix provides us with an easy-to-use alternative without needing to interfere with the host system.\n\nHere, we build a Python 3.5 environment with packages commonly used for Data Science. The packages are defined in `default.nix` instead of using Python's package manager (`pip`).\n\n## Nix\nFirst off, install Nix:\n\n```bash\n$ bash \u003c(curl https://nixos.org/nix/install)\n$ source ~/.nix-profile/etc/profile.d/nix.sh\n```\n\n## Building the environment\nClone this repository, change the working directory to it and run `nix-build`:\n\n```bash\n$ git clone git@github.com:tindzk/nix-ds.git\n$ cd nix-ds\n$ nix-build\n```\n\nNow, instead of using the host's Python tools, you can use the ones from `result/bin/`:\n\n```bash\n$ result/bin/python3\n$ result/bin/ipython notebook\n```\n\n## Upgrading environment\nThe environment can be easily upgraded:\n\n```bash\n$ nix-channel --update\n$ nix-env -u\n```\n\n## See also\n* [Getting started with Nix package manager](https://www.domenkozar.com/2014/01/02/getting-started-with-nix-package-manager/)\n* [Nix for Python developers](http://datakurre.pandala.org/2015/10/nix-for-python-developers.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftindzk%2Fnix-ds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftindzk%2Fnix-ds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftindzk%2Fnix-ds/lists"}