Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
dotenv /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-11-03 12:21
__init__.py
1.27
KB
-rw-r--r--
2022-09-17 12:04
__main__.py
129
B
-rw-r--r--
2022-09-17 12:04
cli.py
5.26
KB
-rw-r--r--
2022-09-17 12:04
ipython.py
1.27
KB
-rw-r--r--
2022-09-17 12:04
main.py
11.65
KB
-rw-r--r--
2022-09-17 12:04
parser.py
5.17
KB
-rw-r--r--
2022-09-17 12:04
py.typed
26
B
-rw-r--r--
2022-09-17 12:04
variables.py
2.35
KB
-rw-r--r--
2022-09-17 12:04
version.py
23
B
-rw-r--r--
2022-09-17 12:04
Save
Rename
from IPython.core.magic import Magics, line_magic, magics_class # type: ignore from IPython.core.magic_arguments import (argument, magic_arguments, # type: ignore parse_argstring) # type: ignore from .main import find_dotenv, load_dotenv @magics_class class IPythonDotEnv(Magics): @magic_arguments() @argument( '-o', '--override', action='store_true', help="Indicate to override existing variables" ) @argument( '-v', '--verbose', action='store_true', help="Indicate function calls to be verbose" ) @argument('dotenv_path', nargs='?', type=str, default='.env', help='Search in increasingly higher folders for the `dotenv_path`') @line_magic def dotenv(self, line): args = parse_argstring(self.dotenv, line) # Locate the .env file dotenv_path = args.dotenv_path try: dotenv_path = find_dotenv(dotenv_path, True, True) except IOError: print("cannot find .env file") return # Load the .env file load_dotenv(dotenv_path, verbose=args.verbose, override=args.override) def load_ipython_extension(ipython): """Register the %dotenv magic.""" ipython.register_magics(IPythonDotEnv)