juselara commited on
Commit
9884b76
·
1 Parent(s): c706f45

Initial commit

Browse files
Files changed (5) hide show
  1. .envrc +1 -0
  2. .gitignore +11 -0
  3. flake.lock +61 -0
  4. flake.nix +24 -0
  5. pyproject.toml +17 -0
.envrc ADDED
@@ -0,0 +1 @@
 
 
1
+ use flake . --impure
.gitignore ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ build/
2
+ .firebase/
3
+ .obsidian/*
4
+ *.env
5
+ .direnv/*
6
+ *.venv
7
+ *.ipynb
8
+ *.egg
9
+ *.egg-info
10
+ **/*__pycache__/*
11
+ **/*.ipynb_checkpoints/*
flake.lock ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nodes": {
3
+ "flake-utils": {
4
+ "inputs": {
5
+ "systems": "systems"
6
+ },
7
+ "locked": {
8
+ "lastModified": 1689068808,
9
+ "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
10
+ "owner": "numtide",
11
+ "repo": "flake-utils",
12
+ "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
13
+ "type": "github"
14
+ },
15
+ "original": {
16
+ "owner": "numtide",
17
+ "repo": "flake-utils",
18
+ "type": "github"
19
+ }
20
+ },
21
+ "nixpkgs": {
22
+ "locked": {
23
+ "lastModified": 1691831739,
24
+ "narHash": "sha256-6e12VCvA7jOjhzJ1adLiUV1GTPXGBcCfhggsDwiuNB4=",
25
+ "owner": "nixos",
26
+ "repo": "nixpkgs",
27
+ "rev": "3fe694c4156b84dac12627685c7ae592a71e2206",
28
+ "type": "github"
29
+ },
30
+ "original": {
31
+ "owner": "nixos",
32
+ "ref": "nixos-23.05",
33
+ "repo": "nixpkgs",
34
+ "type": "github"
35
+ }
36
+ },
37
+ "root": {
38
+ "inputs": {
39
+ "flake-utils": "flake-utils",
40
+ "nixpkgs": "nixpkgs"
41
+ }
42
+ },
43
+ "systems": {
44
+ "locked": {
45
+ "lastModified": 1681028828,
46
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
47
+ "owner": "nix-systems",
48
+ "repo": "default",
49
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
50
+ "type": "github"
51
+ },
52
+ "original": {
53
+ "owner": "nix-systems",
54
+ "repo": "default",
55
+ "type": "github"
56
+ }
57
+ }
58
+ },
59
+ "root": "root",
60
+ "version": 7
61
+ }
flake.nix ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ inputs = {
3
+ nixpkgs = {
4
+ url = "github:nixos/nixpkgs/nixos-23.05";
5
+ };
6
+ flake-utils = {
7
+ url = "github:numtide/flake-utils";
8
+ };
9
+ };
10
+ outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
11
+ let
12
+ pkgs = import nixpkgs {
13
+ inherit system;
14
+ };
15
+ in rec {
16
+ devShell = pkgs.mkShell {
17
+ LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
18
+ buildInputs = with pkgs; [
19
+ python311 python311Packages.pip git git-lfs
20
+ ];
21
+ };
22
+ }
23
+ );
24
+ }
pyproject.toml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [build-system]
2
+ requires = ["setuptools", "setuptools-scm"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ authors = [{name = "Juan Lara", email = "julara@unal.edu.co"}]
7
+ description = "Dataset with python code used for an assignment for MLDS7."
8
+ requires-python = ">3.8"
9
+ dependencies = [
10
+ "huggingface_hub"
11
+ ]
12
+
13
+ [project.optional-dependencies]
14
+ dev = ["black", "textbook-nvim", "asyncmake", "ipython"]
15
+
16
+ [project.scripts]
17
+ gpttui = "gpttui.tui.main:cli"