nixpkgs/doc/languages-frameworks
Benjamin Hipple c88290789c doc: Rewrite python onboarding tutorials in manual
Based on some feedback in #87094 and discussion with @fridh, this re-organizes
the onboarding tutorial in the Nixpkgs manual's python section, so that we start
with the simplest, most ad-hoc examples and work our way up. This progresses
from:

1. How to create an temporary python env at the cmdline, then
2. How to create a specific python env for a single script, then
3. How to create a specific python env for a project in a shell.nix, then
4. How to install a specific python env globally on the system or in a user profile.

Additionally, I've tried to standardize on some of the "best practice" ways of
doing things:

1. Instead of saying that this command style is "supported but strongly not
   discouraged", I've just deleted it to avoid confusion.

   Bad:  nix-shell -p python38Packages.numpy python38Packages.toolz
   Good: nix-shell -p 'python38.withPackages(ps: with ps; [ numpy toolz ])'

2. In the portion where we show how to add stuff to the user's
   `XDG_CONFIG_HOME`, use overlays instead of `config.nix`. The former can do
   everything the latter can do, but is also much more generic and powerful,
   because it can compose with other files, compose with other envs, compose
   with overlays that do things like swap whether tensorflow and pytorch are
   built openblas/mkl/cuda stacks, and so on. The user is eventually going to
   see the overlay, so to avoid confusion let's standardize on it.
2020-05-15 22:43:16 +02:00
..
agda.section.md agda: rework builder 2020-05-14 20:54:11 +01:00
android.section.md treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
beam.xml beam-modules/hex-snapshot: remove 2019-11-17 13:45:57 +01:00
bower.xml doc: re-format 2019-09-18 22:12:54 +02:00
coq.xml doc: re-format 2019-09-18 22:12:54 +02:00
crystal.section.md crystal: use latest openssl 2020-02-28 01:32:20 -05:00
dotnet.section.md dotnet: add framework doc 2020-02-09 19:26:15 -08:00
emscripten.section.md doc: organize chapters into parts, and reduce toc depth 2019-10-20 13:35:04 +02:00
gnome.xml Apply suggestions from code review 2020-04-28 14:59:06 -03:00
go.xml go-modules: Doc updates 2020-05-14 07:21:52 +01:00
haskell.section.md ghcHEAD: 20200403 -> 20200505 2020-05-08 21:11:46 +02:00
idris.section.md manual: use quoted homepage urls 2020-02-16 09:49:12 -08:00
index.xml Merge pull request #76653 from alexarice/agda-rework 2020-05-14 18:02:50 -04:00
ios.section.md treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
java.xml doc: re-format 2019-09-18 22:12:54 +02:00
lua.xml doc: re-format 2019-09-18 22:12:54 +02:00
node.section.md doc: organize chapters into parts, and reduce toc depth 2019-10-20 13:35:04 +02:00
ocaml.xml manual: use quoted homepage urls 2020-02-16 09:49:12 -08:00
perl.xml doc: re-format 2019-09-18 22:12:54 +02:00
php.section.md doc/php: Add example for installing composer with extra extensions 2020-05-01 22:30:09 +02:00
python.section.md doc: Rewrite python onboarding tutorials in manual 2020-05-15 22:43:16 +02:00
qt.xml doc: re-format 2019-09-18 22:12:54 +02:00
r.section.md doc: organize chapters into parts, and reduce toc depth 2019-10-20 13:35:04 +02:00
ruby.section.md ruby.withPackages: init 2019-09-03 19:44:49 +00:00
ruby.xml treewide: per RFC45, remove more unquoted URLs 2020-04-18 14:04:37 +02:00
rust.section.md rust: remove legacy cargo fetcher 2020-03-18 20:12:32 -07:00
texlive.xml doc/texlive: remove known problems section 2020-04-21 08:09:39 +02:00
titanium.section.md Add Titanium documentation section 2018-12-18 21:16:07 +01:00
vim.section.md vimPlugins: update auto-commiting based on review 2020-04-01 17:19:01 +00:00