first commit
This commit is contained in:
		
							
								
								
									
										6
									
								
								.ipynb_checkpoints/demo-checkpoint.ipynb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.ipynb_checkpoints/demo-checkpoint.ipynb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					 "cells": [],
 | 
				
			||||||
 | 
					 "metadata": {},
 | 
				
			||||||
 | 
					 "nbformat": 4,
 | 
				
			||||||
 | 
					 "nbformat_minor": 2
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										248
									
								
								demo.ipynb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										248
									
								
								demo.ipynb
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										25
									
								
								shell.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								shell.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  tinypkgs ? import (fetchTarball https://gitlab.inria.fr/nix-tutorial/packages-repository/-/archive/master/packages-repository-master.tar.gz) {}
 | 
				
			||||||
 | 
					}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					with tinypkgs; # Put tinypkgs's attributes in the current scope.
 | 
				
			||||||
 | 
					with pkgs; # Same for pkgs.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mkShell {
 | 
				
			||||||
 | 
					  buildInputs = [
 | 
				
			||||||
 | 
					    chord
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Defines a python + set of packages.
 | 
				
			||||||
 | 
					    (python3.withPackages (ps: with ps; with python3Packages; [
 | 
				
			||||||
 | 
					      jupyter
 | 
				
			||||||
 | 
					      ipython
 | 
				
			||||||
 | 
					       seaborn
 | 
				
			||||||
 | 
					       pandas
 | 
				
			||||||
 | 
					       numpy
 | 
				
			||||||
 | 
					       matplotlib
 | 
				
			||||||
 | 
					    ]))
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Automatically run jupyter when entering the shell.
 | 
				
			||||||
 | 
					  shellHook = "jupyter notebook";
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user