1. Hide »
  2. Versions
    Flask 1.0.2
  3. Time
    CPU: 2.83ms (2.83ms)
  4. HTTP Headers
  5. Request Vars
  6. Config
  7. Templates
    1 rendered
  8. SQLAlchemy
    0 queries
  9. Logging
    0 messages
  10. Route List
    23 routes
  11. Profiler
    View: 2.52ms
«
Close

Versions

Installed Packages

Installation paths relative to:

/usr/local/lib/python3.6/site-packages
Package Version Installed Path
alembic 1.7.1
aniso8601 9.0.1
attrs 21.2.0
Babel 2.8.0
blinker 1.4
certifi 2021.5.30
chardet 3.0.4
click 8.0.1
dnspython 1.16.0
ecdsa 0.17.0
environs 7.1.0
eventlet 0.29.1
Flask 1.0.2
Flask-Cors 3.0.8
Flask-DebugToolbar 0.10.1
Flask-Migrate 2.5.2
flask-restplus 0.13.0
Flask-Script 2.0.6
Flask-SQLAlchemy 2.4.1
Flask-Testing 0.8.0
greenlet 1.1.1
gunicorn 20.0.4
idna 2.10
importlib-metadata 4.8.1
importlib-resources 5.2.2
itsdangerous 2.0.1
Jinja2 3.0.1
jsonschema 3.2.0
Mako 1.1.5
MarkupSafe 2.0.1
marshmallow 3.13.0
pika 1.1.0
pip 21.2.4
psycopg2-binary 2.9.1
pyasn1 0.4.8
pyrsistent 0.18.0
python-dotenv 0.15.0
python-jose 3.1.0
pytz 2021.1
redis 3.3.11
requests 2.24.0
rsa 4.7.2
sentry-sdk 0.14.1
setuptools 57.5.0
six 1.15.0
SQLAlchemy 1.4.23
typing-extensions 3.10.0.2
urllib3 1.25.11
Werkzeug 0.14.1
wheel 0.37.0
zipp 3.5.0
Close

Resource Usage

Resource Value
User CPU time 1.355 msec
System CPU time 1.473 msec
Total CPU time 2.828 msec
Elapsed time 2.827 msec
Context switches 0 voluntary, 0 involuntary
Close

HTTP Headers

Key Value
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_CONNECTION close
HTTP_HOST artellence.web.ts.soscredit.info
HTTP_REFERER https://artellence.web.ts.soscredit.info/api/v1/doc
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
QUERY_STRING
REMOTE_ADDR 216.73.216.11
REQUEST_METHOD GET
SCRIPT_NAME
SERVER_NAME 0.0.0.0
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE gunicorn/20.0.4
Close

Request Vars

View information

View Function args kwargs
flask_restplus.api.render_doc [] None

COOKIES Variables

No COOKIE data

SESSION Variables

No SESSION data

GET Variables

Variable Value

POST Variables

Variable Value
Close

Config

Key Value
API_ARTELLENCE_KEY 'X7FCfdTLwum24q7XHjUg'
API_ARTELLENCE_KEY_ID 15
API_ARTELLENCE_URL_V1_TASK 'https://api.artellence.com/v1/task'
APP_PATH '/opt/web'
APPLICATION_ENV 'ci'
APPLICATION_ROOT '/'
ARTELLENCE_MS_HTTP_CHECKER_DELAY_QUEUE_NAME 'ARTELLENCE_MS_http-checker-delay'
ARTELLENCE_MS_HTTP_CHECKER_QUEUE_NAME 'ARTELLENCE_MS_http-checker'
ARTELLENCE_MS_RAW_DATA_HTTP_CHECKER_DELAY_QUEUE_NAME 'ARTELLENCE_MS_raw-data-http-checker-delay'
ARTELLENCE_MS_REASPONSE_NORMALIZE_QUEUE_NAME 'ARTELLENCE_MS_response-normalize'
ARTELLENCE_MS_REQUEST_COLLECTION_QUEUE_NAME 'ARTELLENCE_MS_request-collection'
DEBUG True
DEBUG_TB_ENABLED True
DEBUG_TB_HOSTS ()
DEBUG_TB_INTERCEPT_REDIRECTS False
DEBUG_TB_PANELS ('flask_debugtoolbar.panels.versions.VersionDebugPanel', 'flask_debugtoolbar.panels.timer.TimerDebugPanel', 'flask_debugtoolbar.panels.headers.HeaderDebugPanel', 'flask_debugtoolbar.panels.request_vars.RequestVarsDebugPanel', 'flask_debugtoolbar.panels.config_vars.ConfigVarsDebugPanel', 'flask_debugtoolbar.panels.template.TemplateDebugPanel', 'flask_debugtoolbar.panels.sqlalchemy.SQLAlchemyDebugPanel', 'flask_debugtoolbar.panels.logger.LoggingPanel', 'flask_debugtoolbar.panels.route_list.RouteListDebugPanel', 'flask_debugtoolbar.panels.profiler.ProfilerDebugPanel')
DEBUG_TB_PROFILER_ENABLED True
ENV 'development'
EXPLAIN_TEMPLATE_LOADING False
FLASK_APP 'app'
JSON_AS_ASCII True
JSON_SORT_KEYS True
JSONIFY_MIMETYPE 'application/json'
JSONIFY_PRETTYPRINT_REGULAR False
MAX_CONTENT_LENGTH None
MAX_COOKIE_SIZE 4093
PERMANENT_SESSION_LIFETIME datetime.timedelta(31)
PREFERRED_URL_SCHEME 'http'
PRESERVE_CONTEXT_ON_EXCEPTION None
PROPAGATE_EXCEPTIONS None
RABBITMQ_HOST 'artellence_rabbitmq'
RABBITMQ_PASSWORD 'guest'
RABBITMQ_PORT '5672'
RABBITMQ_USERNAME 'guest'
REDIS_HOST 'artellence_redis'
REDIS_PORT 6379
REDIS_URL 'redis://artellence_redis:6379'
RESTPLUS_MASK_HEADER 'X-Fields'
RESTPLUS_MASK_SWAGGER True
SECRET_KEY 'AVZr98j3yXR~XHH!jmN]LWB,?RR'
SEND_FILE_MAX_AGE_DEFAULT datetime.timedelta(0, 43200)
SENTRY_DSN_TEMPLATE 'https://86af8903488944f7a59848f93516dde3@sentry.ts.soscredit.info/9'
SENTRY_ENABLE True
SERVER_NAME None
SESSION_COOKIE_DOMAIN False
SESSION_COOKIE_HTTPONLY True
SESSION_COOKIE_NAME 'session'
SESSION_COOKIE_PATH None
SESSION_COOKIE_SAMESITE None
SESSION_COOKIE_SECURE False
SESSION_REFRESH_EACH_REQUEST True
SQLALCHEMY_BINDS None
SQLALCHEMY_COMMIT_ON_TEARDOWN False
SQLALCHEMY_DATABASE_URI 'postgresql://artellence:artellence@artellence_postgres:5432/artellence_ms'
SQLALCHEMY_ECHO False
SQLALCHEMY_ENGINE_OPTIONS {}
SQLALCHEMY_MAX_OVERFLOW None
SQLALCHEMY_NATIVE_UNICODE None
SQLALCHEMY_POOL_RECYCLE None
SQLALCHEMY_POOL_SIZE None
SQLALCHEMY_POOL_TIMEOUT None
SQLALCHEMY_RECORD_QUERIES True
SQLALCHEMY_TRACK_MODIFICATIONS False
TEMPLATES_AUTO_RELOAD None
TESTING True
TRAP_BAD_REQUEST_ERRORS None
TRAP_HTTP_EXCEPTIONS False
USE_X_SENDFILE False
Close

Templates

swagger-ui.html

Variable Value
g <flask.g of 'app'>
request <Request 'https://artellence.web.ts.soscredit.info/api/v1/doc/' [GET]>
session <SecureCookieSession {}>
specs_url 'https://artellence.web.ts.soscredit.info/api/swagger.json'
title 'REST-API for SOSCREDIT project'
Close

Log Messages

No messages logged.

Close

Route List

URL route Endpoint name HTTP methods Is alias Redirect to
/ frontend.index GET, HEAD, OPTIONS False None
/_debug_toolbar/static/<path:filename> _debug_toolbar.static GET, HEAD, OPTIONS False None
/_debug_toolbar/views/sqlalchemy/sql_explain debugtoolbar.sql_select GET, HEAD, OPTIONS, POST False None
/_debug_toolbar/views/sqlalchemy/sql_select debugtoolbar.sql_select GET, HEAD, OPTIONS, POST False None
/_debug_toolbar/views/template/<key> debugtoolbar.template_editor GET, HEAD, OPTIONS False None
/_debug_toolbar/views/template/<key> debugtoolbar.template_preview OPTIONS, POST False None
/_debug_toolbar/views/template/<key>/save debugtoolbar.save_template OPTIONS, POST False None
/api/ api.root GET, HEAD, OPTIONS False None
/api/swagger.json api.specs GET, HEAD, OPTIONS False None
/api/v1/client-info/ api.client_info_resource GET, HEAD, OPTIONS False None
/api/v1/client-info/create/ api.client_info_create_resource OPTIONS, POST False None
/api/v1/client-raw-info/ api.client_raw_info_resource GET, HEAD, OPTIONS False None
/api/v1/doc/ api.doc GET, HEAD, OPTIONS False None
/api/v1/network-dict/ api.network_dict_list_resource GET, HEAD, OPTIONS False None
/api/v1/network-dict/<int:id> api.network_dict_resource GET, HEAD, OPTIONS False None
/api/v1/relation-dict/ api.relation_dict_list_resource GET, HEAD, OPTIONS False None
/api/v1/relation-dict/<int:id> api.relation_dict_resource GET, HEAD, OPTIONS False None
/api/v1/social-network-state/ api.social_network_state_list_resource GET, HEAD, OPTIONS False None
/api/v1/social-network-state/<int:id> api.social_network_state_resource GET, HEAD, OPTIONS False None
/api/v1/task-state/ api.task_state_list_resource GET, HEAD, OPTIONS False None
/api/v1/task-state/<int:id> api.task_state_resource GET, HEAD, OPTIONS False None
/static/<path:filename> static GET, HEAD, OPTIONS False None
/swaggerui/<path:filename> restplus_doc.static GET, HEAD, OPTIONS False None
Close

View: 2.52ms

Calls Total Time (ms) Per Call (ms) Cumulative Time (ms) Per Call (ms) Function
20 0.26899999999999996 0.0134 0.369 0.0185 <werkzeug/urls.py:452(url_quote)>
6 0.09499999999999999 0.0158 0.281 0.0468 <werkzeug/urls.py:852(url_join)>
7 0.094 0.0134 0.584 0.0834 <werkzeug/routing.py:797(build)>
110 0.092 0.0008 0.11499999999999999 0.0010 {built-in method builtins.getattr}
3 0.087 0.0290 0.087 0.0290 {built-in method posix.stat}
33 0.07999999999999999 0.0024 2.041 0.0618 <flask_restplus/templates/swagger-ui.html:5(root)>
7 0.074 0.0106 1.046 0.1494 <werkzeug/routing.py:1701(build)>
12 0.07200000000000001 0.0060 0.15999999999999998 0.0133 <jinja2/utils.py:82(from_obj)>
7 0.06499999999999999 0.0093 1.268 0.1811 <flask/helpers.py:216(url_for)>
12 0.063 0.0053 0.098 0.0082 <werkzeug/urls.py:404(url_parse)>
268 0.06 0.0002 0.06 0.0002 {built-in method builtins.isinstance}
40 0.05499999999999999 0.0014 0.09499999999999999 0.0024 <werkzeug/local.py:160(top)>
56 0.045 0.0008 0.045 0.0008 {built-in method builtins.hasattr}
6 0.044 0.0073 1.343 0.2238 <jinja2/runtime.py:311(call)>
12 0.039999999999999994 0.0033 0.088 0.0073 {built-in method markupsafe._speedups.escape}
14/7 0.037 0.0026 0.642 0.0917 <werkzeug/routing.py:1680(_partial_build)>
40 0.036000000000000004 0.0009 0.039999999999999994 0.0010 <werkzeug/local.py:68(__getattr__)>
3 0.036000000000000004 0.0120 0.146 0.0487 <jinja2/runtime.py:104(new_context)>
203 0.036000000000000004 0.0002 0.036000000000000004 0.0002 {method 'append' of 'bytearray' objects}
3 0.034 0.0113 0.077 0.0257 <jinja2/runtime.py:197(__init__)>
7 0.034 0.0049 0.049999999999999996 0.0071 <jinja2/environment.py:469(getattr)>
22 0.031 0.0014 0.11399999999999999 0.0052 <werkzeug/local.py:300(_get_current_object)>
7 0.03 0.0043 0.051 0.0073 <werkzeug/datastructures.py:393(__init__)>
12 0.03 0.0025 0.039 0.0032 <werkzeug/_compat.py:160(normalize_string_tuple)>
3 0.028 0.0093 0.058 0.0193 <jinja2/utils.py:575(__getitem__)>
14 0.028 0.0020 0.052 0.0037 <markupsafe/__init__.py:69(__new__)>
16/2 0.026 0.0016 2.058 1.0290 {method 'join' of 'str' objects}
2 0.024 0.0120 0.119 0.0595 <flask/json/__init__.py:92(_dump_arg_defaults)>
14 0.024 0.0017 0.03799999999999999 0.0027 <werkzeug/_compat.py:183(to_bytes)>
18 0.022 0.0012 0.148 0.0082 <werkzeug/local.py:344(__getattr__)>
60 0.022 0.0004 0.022 0.0004 {method 'encode' of 'str' objects}
4 0.022 0.0055 0.022 0.0055 {built-in method _warnings.warn}
20 0.020999999999999998 0.0010 0.036000000000000004 0.0018 <werkzeug/_compat.py:192(to_native)>
7 0.019999999999999997 0.0029 0.032999999999999995 0.0047 <flask/app.py:2030(inject_url_defaults)>
26 0.019999999999999997 0.0008 0.019999999999999997 0.0008 {built-in method __new__ of type object at 0x7f57f602dfe0}
7 0.018999999999999996 0.0027 0.018999999999999996 0.0027 <werkzeug/routing.py:839(suitable_for)>
3 0.018999999999999996 0.0063 0.202 0.0673 <jinja2/environment.py:939(_load_template)>
5 0.018000000000000002 0.0036 0.037 0.0074 <blinker/base.py:285(receivers_for)>
7 0.018000000000000002 0.0026 0.024999999999999998 0.0036 <werkzeug/routing.py:1613(get_host)>
2 0.017 0.0085 0.017 0.0085 <json/encoder.py:204(iterencode)>
17 0.016 0.0009 0.016 0.0009 {method 'rsplit' of 'str' objects}
10 0.015 0.0015 0.024999999999999998 0.0025 <flask/wrappers.py:161(blueprint)>
3 0.015 0.0050 0.026 0.0087 <jinja2/nodes.py:74(__init__)>
13 0.015 0.0012 0.015 0.0012 <collections/__init__.py:877(__getitem__)>
11 0.014 0.0013 0.037 0.0034 <flask/globals.py:34(_lookup_req_object)>
13 0.014 0.0011 0.020999999999999998 0.0016 <werkzeug/_compat.py:127(<lambda>)>
4 0.014 0.0035 0.020999999999999998 0.0052 <collections/__init__.py:891(__iter__)>
28 0.014 0.0005 0.014 0.0005 {method 'get' of 'dict' objects}
6 0.013 0.0022 1.135 0.1892 <flask_restplus/apidoc.py:28(swagger_static)>
1 0.013 0.0130 2.2369999999999997 2.2370 <flask/templating.py:113(_render)>
2 0.013 0.0065 0.046 0.0230 <json/__init__.py:183(dumps)>
144 0.013 0.0001 0.013 0.0001 <werkzeug/_compat.py:18(<lambda>)>
3 0.013 0.0043 0.014 0.0047 <eventlet/semaphore.py:65(acquire)>
19 0.013 0.0007 0.013 0.0007 {method 'split' of 'str' objects}
2 0.012 0.0060 0.19999999999999998 0.1000 <flask/json/__init__.py:167(dumps)>
6 0.012 0.0020 0.147 0.0245 <werkzeug/routing.py:940(to_url)>
3 0.012 0.0040 0.119 0.0397 <jinja2/environment.py:1496(is_up_to_date)>
20 0.012 0.0006 0.012 0.0006 {method 'decode' of 'bytes' objects}
44 0.012 0.0003 0.012 0.0003 {method 'replace' of 'str' objects}
6 0.011 0.0018 0.45099999999999996 0.0752 <flask_restplus/templates/swagger-ui-libs.html:5(root)>
3 0.011 0.0037 0.216 0.0720 <jinja2/environment.py:964(get_template)>
6 0.011 0.0018 0.037 0.0062 <werkzeug/urls.py:492(url_unparse)>
6 0.011 0.0018 0.014 0.0023 <werkzeug/urls.py:898(<listcomp>)>
12 0.011 0.0009 0.018999999999999996 0.0016 <string>:12(__new__)
6 0.009999999999999998 0.0017 0.521 0.0868 <flask_restplus/templates/swagger-ui-css.html:5(root)>
3 0.009999999999999998 0.0033 0.107 0.0357 <jinja2/loaders.py:207(uptodate)>
1 0.009999999999999998 0.0100 0.022 0.0220 <flask/app.py:773(update_template_context)>
3 0.009999999999999998 0.0033 0.097 0.0323 <genericpath.py:53(getmtime)>
1 0.009000000000000001 0.0090 2.35 2.3500 <flask/templating.py:122(render_template)>
1 0.009000000000000001 0.0090 2.153 2.1530 <jinja2/environment.py:1269(render)>
3 0.009000000000000001 0.0030 0.155 0.0517 <jinja2/environment.py:1382(new_context)>
2 0.009000000000000001 0.0045 0.028 0.0140 <json/encoder.py:182(encode)>
4 0.008 0.0020 0.018999999999999996 0.0047 <flask_debugtoolbar/panels/template.py:39(_store_template_info)>
2 0.008 0.0040 0.071 0.0355 <blinker/base.py:241(send)>
2 0.008 0.0040 0.24 0.1200 <flask/json/__init__.py:326(tojson_filter)>
24 0.008 0.0003 0.012 0.0005 <werkzeug/_compat.py:155(make_literal_wrapper)>
42 0.008 0.0002 0.008 0.0002 {method 'pop' of 'dict' objects}
1 0.007 0.0070 2.522 2.5220 <flask_restplus/api.py:368(render_doc)>
1 0.007 0.0070 2.5149999999999997 2.5150 <flask_restplus/apidoc.py:33(ui_for)>
1 0.007 0.0070 0.063 0.0630 <blinker/base.py:266(<listcomp>)>
2 0.007 0.0035 0.21 0.1050 <flask/json/__init__.py:217(htmlsafe_dumps)>
2 0.007 0.0035 0.022 0.0110 <itsdangerous/_json.py:21(__getattribute__)>
3 0.007 0.0023 0.009000000000000001 0.0030 <flask/app.py:763(select_jinja_autoescape)>
7 0.007 0.0010 0.007 0.0010 {method 'lstrip' of 'str' objects}
1 0.006 0.0060 0.009000000000000001 0.0090 <flask_restplus/api.py:442(endpoint)>
4 0.006 0.0015 0.006 0.0015 <blinker/_saferef.py:219(__call__)>
11 0.006 0.0005 0.031 0.0028 <flask/globals.py:48(_find_app)>
4 0.006 0.0015 0.029 0.0073 <werkzeug/local.py:326(__bool__)>
7 0.006 0.0009 0.006 0.0009 <jinja2/runtime.py:862(__init__)>
3 0.006 0.0020 0.064 0.0213 <jinja2/utils.py:541(get)>
3 0.006 0.0020 0.009000000000000001 0.0030 <eventlet/semaphore.py:149(__exit__)>
4 0.006 0.0015 0.006 0.0015 {method 'union' of 'set' objects}
2 0.004999999999999999 0.0025 0.022 0.0110 <jinja2/utils.py:837(__new__)>
2 0.004999999999999999 0.0025 0.004999999999999999 0.0025 <json/encoder.py:104(__init__)>
43 0.004999999999999999 0.0001 0.004999999999999999 0.0001 {built-in method greenlet._greenlet.getcurrent}
14 0.004999999999999999 0.0004 0.012 0.0009 <_collections_abc.py:719(__iter__)>
29 0.004999999999999999 0.0002 0.004999999999999999 0.0002 {built-in method builtins.iter}
1 0.004 0.0040 0.007 0.0070 <flask/templating.py:19(_default_template_ctx_processor)>
12 0.004 0.0003 0.004 0.0003 <werkzeug/routing.py:1770(<genexpr>)>
7 0.004 0.0006 0.004 0.0006 <jinja2/runtime.py:270(resolve_or_missing)>
7 0.004 0.0006 0.007 0.0010 <werkzeug/_compat.py:198(to_unicode)>
3 0.004 0.0013 0.018000000000000002 0.0060 <eventlet/semaphore.py:128(__enter__)>
16 0.004 0.0003 0.004 0.0003 {method 'items' of 'dict' objects}
12 0.004 0.0003 0.004 0.0003 {method 'find' of 'str' objects}
1 0.003 0.0030 0.158 0.1580 <flask_restplus/api.py:448(specs_url)>
1 0.003 0.0030 0.007 0.0070 <blinker/_utilities.py:113(hashable_identity)>
3 0.003 0.0010 0.004 0.0013 <jinja2/filters.py:528(do_default)>
3 0.003 0.0010 0.003 0.0010 <jinja2/runtime.py:216(<dictcomp>)>
3 0.003 0.0010 0.003 0.0010 <eventlet/semaphore.py:131(release)>
1 0.003 0.0030 0.003 0.0030 <collections/__init__.py:897(__bool__)>
24 0.003 0.0001 0.003 0.0001 {method 'append' of 'list' objects}
6 0.003 0.0005 0.003 0.0005 {method 'add' of 'set' objects}
1 0.003 0.0030 0.003 0.0030 {method 'format' of 'str' objects}
12 0.003 0.0003 0.003 0.0003 {built-in method builtins.next}
3 0.003 0.0010 0.003 0.0010 {method 'remove' of 'collections.deque' objects}
1 0.002 0.0020 0.011 0.0110 <flask_debugtoolbar/panels/template.py:72(is_editor_enabled)>
7 0.002 0.0003 0.002 0.0003 <werkzeug/routing.py:1347(update)>
2 0.002 0.0010 0.002 0.0010 <jinja2/runtime.py:300(get_all)>
1 0.002 0.0020 0.002 0.0020 <jinja2/runtime.py:905(__getattr__)>
1 0.002 0.0020 0.079 0.0790 <jinja2/environment.py:1053(get_or_select_template)>
1 0.002 0.0020 0.002 0.0020 <_collections_abc.py:698(__init__)>
4 0.002 0.0005 0.002 0.0005 {method 'setdefault' of 'dict' objects}
3 0.002 0.0007 0.002 0.0007 {method 'endswith' of 'str' objects}
3 0.002 0.0007 0.002 0.0007 {built-in method builtins.callable}
1 0.001 0.0010 0.001 0.0010 <jinja2/runtime.py:932(__str__)>
2 0.001 0.0005 0.001 0.0005 <jinja2/environment.py:927(join_path)>
4 0.001 0.0003 0.001 0.0003 <markupsafe/__init__.py:80(__html__)>
1 0.001 0.0010 0.003 0.0030 <_collections_abc.py:672(keys)>
1 0.001 0.0010 0.001 0.0010 {method 'copy' of 'dict' objects}
1 0.001 0.0010 0.001 0.0010 {method 'copy' of 'set' objects}
1 0.001 0.0010 0.001 0.0010 {built-in method builtins.id}
10 0.001 0.0001 0.001 0.0001 {built-in method builtins.len}
1 0.0 0.0000 0.0 0.0000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.0 0.0000 0.001 0.0010 <jinja2/tests.py:29(test_defined)>
2 0.0 0.0000 0.0 0.0000 <jinja2/runtime.py:945(__bool__)>
2 0.0 0.0000 0.0 0.0000 {method 'update' of 'dict' objects}
1 0.0 0.0000 0.0 0.0000 {built-in method builtins.any}
3 0.0 0.0000 0.0 0.0000 {method 'append' of 'collections.deque' objects}