diff options
author | terminaldweller <thabogre@gmail.com> | 2022-06-16 08:11:49 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-06-16 08:11:49 +0000 |
commit | f7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8 (patch) | |
tree | 8e9ea986acf20539aed1ebb753558fb1e89a3785 /generate_token.py | |
parent | Update README.md (diff) | |
download | jupyter-notebook-docker-compose-f7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8.tar.gz jupyter-notebook-docker-compose-f7cdbcd0d1aa7c514698a253bec9b3ff8fd61cd8.zip |
first commmit
Diffstat (limited to '')
-rwxr-xr-x | generate_token.py | 17 |
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) |