aboutsummaryrefslogtreecommitdiffstats
path: root/generate_token.py
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-16 08:11:49 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-16 08:11:49 +0000
commitf7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8 (patch)
tree8e9ea986acf20539aed1ebb753558fb1e89a3785 /generate_token.py
parentUpdate README.md (diff)
downloadjupyter-notebook-docker-compose-f7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8.tar.gz
jupyter-notebook-docker-compose-f7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8.zip
first commmit
Diffstat (limited to '')
-rwxr-xr-xgenerate_token.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/generate_token.py b/generate_token.py
deleted file mode 100755
index 54e3c39..0000000
--- a/generate_token.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env sh
-import IPython as IPython
-
-if __name__ == "__main__":
- print("Generate a access token")
- from argparse import ArgumentParser
- parser = ArgumentParser()
- parser.add_argument("-p",
- "--password",
- dest="password",
- help="The password you want to use for authentication.",
- required=True)
- args = parser.parse_args()
-
- print("\nCopy this line into the .env file:\n")
- hash = IPython.lib.passwd(args.password)
- print("ACCESS_TOKEN=" + hash)