-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathipython_config.py
61 lines (44 loc) · 2.92 KB
/
ipython_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# ipython_config.py
import sys
sys.path.append('/apps')
reload(sys)
sys.setdefaultencoding('utf8')
c = get_config()
# Allow all IP addresses to use the service and run it on port 80.
c.NotebookApp.ip = '*'
c.NotebookApp.port = 8888
# Don't load the browser on startup.
c.NotebookApp.open_browser = False
#c.TerminalIPythonApp.display_banner = False
c.TerminalInteractiveShell.banner1 = u"""
=========================================================================
Welcome to :
██████╗ ██╗ ██████╗ ███████╗██████╗ ██╗ ██╗████████╗██╗ █████╗ ██╗
██╔══██╗██║██╔═══██╗██╔════╝██╔══██╗╚██╗ ██╔╝╚══██╔══╝██║██╔══██╗██║
██████╔╝██║██║ ██║███████╗██████╔╝ ╚████╔╝ ██║ ██║███████║██║
██╔══██╗██║██║ ██║╚════██║██╔═══╝ ╚██╔╝ ██║ ██║██╔══██║██║
██████╔╝██║╚██████╔╝███████║██║ ██║ ██║ ██║██║ ██║███████╗
╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
-(2.C.I. 2017)-
A multipurpose opensource framework for modelling biodiversity in Earth
----------------------------------------------------------------------------
Copyright: Juan M. Escamilla Mólgora
http://juan.escamilla.holobio.me
Docs : test.holobio.me
@docker : https://hub.docker.com/r/molgor/biospytial/
@github : https://github.com/molgor/biospytial
Funded by: CONACYT (Mexico), Lancaster University (U.K), GBIF (Int.)
"""
c.TerminalInteractiveShell.banner2 = u"""
|
|.===.
{}o o{}
ooO--(_)--Ooo-------------------------------------------------------
This console is based on IPython 5.1.0
Type \"copyright\", \"credits\" or \"license\" for more information
====================================================================
"""