Build Pythonic development environments in nix

Amit Kumar Jaiswal (~amitkumarj441)


0

Votes

Description:

Our aim of this session is the Introduction of rqtxt2nix, which is a small utility which converts requirements.txt file into .nix file that contains myEnvFun declaration, which helps to build pythonic development environments in nix.

Build nix expressions from pythonic requirements.txt

Key Features:

  1. Generates nice short and clean dev environment expression
  2. Makes specific versions of python libraries from requirements.txt
  3. Writes url/hash code boiler plate
  4. Doesn’t execute untrusted code (i.e., setup.py)
  5. Very short and simple script

Apart from the above feature, our session outlines are:

  1. Dependency Tracking

    Note: The rqtxt2nix does absolutely nothing to track dependencies, The main idea is that it’s easy to add buildInputs.

  2. Customization

    • Python Version
    • Customizing the environment
    • Altering packages
  3. Updating environments

Prerequisites:

Since this would be a development workshop on Python, so participants should come with their own laptop given that they should know the Python programming language. Development should be from scratch and can be shown, still without any problem related to a varying number of participants.

Important links for attendees: 1. Nixos and Nixos documentation, myEnvFun

Content URLs:

I'll be sharing my talk slides and codebase soon.

Speaker Info:

Amit Kumar Jaiswal is an open hacktivist and a Mozilla Representative acting as a Mozilla Science Lab collaborator, developer at WorldBrain, is a final year undergrad of Computer Science & Engineering from Kanpur University. He is a former internee at IIM Ahmadabad, CMIE and evangelizing Open Source and Mozilla. He has delivered talks at Mozilla Global Sprint, University of California Berkeley 2016 and an invited attendee to LEAP Summit'16( Croatia), PWA Summit'16 (Amsterdam) and Blockchain Money Conference'16 (London) and WikiToLearn India Conference'17.

Section: Core Python
Type: Workshops
Target Audience: Beginner
Last Updated:

Hi! Could you please add up slides to your talk/workshop?

Shivani Bhardwaj (~shivan1b)

Hi Amit! Selection process will begin by 4th, I'll increase your chances if you add slides as soon as possible.

Shashank Kumar (~realslimshanky)

@shashank correction selection process has already begun, it will end on 4th.

@amitkumarj441please upload your slides as soon as possible.

Akshay Arora (~akshayaurora)

@shivan1b @realslimshanky @akshayaurora I'll be adding my talk slides soon. Thanks for the reminder.

Apologies for late reply.

Amit Kumar Jaiswal (~amitkumarj441)

Login to add a new comment.