Skip to content
Snippets Groups Projects
Commit 022c52e5 authored by mowoe's avatar mowoe
Browse files

merge delete

parents 51db8184 0667c19e
No related branches found
No related tags found
No related merge requests found
*.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/__init__.cpython-37.pyc
lib/python3.7/__pycache__/site.cpython-37.pyc
lib/python3.7/site-packages/__pycache__/peewee.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/_unicodefun.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/core.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/decorators.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/exceptions.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/formatting.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/globals.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/parser.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/termui.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/types.cpython-37.pyc
lib/python3.7/site-packages/click/__pycache__/utils.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/app.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/blueprints.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/cli.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/config.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/ctx.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/debughelpers.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/globals.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/helpers.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/logging.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/sessions.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/signals.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/templating.cpython-37.pyc
lib/python3.7/site-packages/flask/__pycache__/wrappers.cpython-37.pyc
lib/python3.7/site-packages/flask/json/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/flask/json/__pycache__/tag.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/_json.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/encoding.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/exc.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/jws.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/serializer.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/signer.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/timed.cpython-37.pyc
lib/python3.7/site-packages/itsdangerous/__pycache__/url_safe.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/_identifier.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/asyncfilters.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/asyncsupport.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/bccache.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/compiler.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/debug.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/defaults.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/environment.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/exceptions.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/ext.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/filters.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/idtracking.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/lexer.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/loaders.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/nodes.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/optimizer.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/parser.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/runtime.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/tests.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/utils.cpython-37.pyc
lib/python3.7/site-packages/jinja2/__pycache__/visitor.cpython-37.pyc
lib/python3.7/site-packages/markupsafe/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/markupsafe/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/_compat.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/_internal.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/_reloader.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/datastructures.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/exceptions.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/filesystem.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/formparser.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/http.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/local.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/routing.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/security.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/serving.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/urls.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/utils.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/__pycache__/wsgi.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/debug/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/debug/__pycache__/console.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/debug/__pycache__/repr.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/debug/__pycache__/tbtools.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/middleware/__pycache__/__init__.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/middleware/__pycache__/dispatcher.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/middleware/__pycache__/http_proxy.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/middleware/__pycache__/shared_data.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/accept.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/auth.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/base_request.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/base_response.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/common_descriptors.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/etag.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/request.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/response.cpython-37.pyc
lib/python3.7/site-packages/werkzeug/wrappers/__pycache__/user_agent.cpython-37.pyc
File added
# This file must be used with "source bin/activate" *from bash*
# you cannot run it directly
deactivate () {
unset -f pydoc >/dev/null 2>&1
# reset old environment variables
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
if ! [ -z "${_OLD_VIRTUAL_PATH+_}" ] ; then
PATH="$_OLD_VIRTUAL_PATH"
export PATH
unset _OLD_VIRTUAL_PATH
fi
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
export PYTHONHOME
unset _OLD_VIRTUAL_PYTHONHOME
fi
# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
hash -r 2>/dev/null
fi
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
PS1="$_OLD_VIRTUAL_PS1"
export PS1
unset _OLD_VIRTUAL_PS1
fi
unset VIRTUAL_ENV
if [ ! "${1-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi
}
# unset irrelevant variables
deactivate nondestructive
VIRTUAL_ENV="/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend"
export VIRTUAL_ENV
_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/bin:$PATH"
export PATH
# unset PYTHONHOME if set
if ! [ -z "${PYTHONHOME+_}" ] ; then
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
unset PYTHONHOME
fi
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
_OLD_VIRTUAL_PS1="$PS1"
if [ "x" != x ] ; then
PS1="$PS1"
else
PS1="(`basename \"$VIRTUAL_ENV\"`) $PS1"
fi
export PS1
fi
# Make sure to unalias pydoc if it's already there
alias pydoc 2>/dev/null >/dev/null && unalias pydoc
pydoc () {
python -m pydoc "$@"
}
# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
hash -r 2>/dev/null
fi
# This file must be used with "source bin/activate.csh" *from csh*.
# You cannot run it directly.
# Created by Davide Di Blasi <davidedb@gmail.com>.
set newline='\
'
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
# Unset irrelevant variables.
deactivate nondestructive
setenv VIRTUAL_ENV "/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend"
set _OLD_VIRTUAL_PATH="$PATH:q"
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
if ("" != "") then
set env_name = ""
else
set env_name = "$VIRTUAL_ENV:t:q"
endif
# Could be in a non-interactive environment,
# in which case, $prompt is undefined and we wouldn't
# care about the prompt anyway.
if ( $?prompt ) then
set _OLD_VIRTUAL_PROMPT="$prompt:q"
if ( "$prompt:q" =~ *"$newline:q"* ) then
:
else
set prompt = "[$env_name:q] $prompt:q"
endif
endif
unset env_name
alias pydoc python -m pydoc
rehash
# This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
# Do not run it directly.
function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
# reset old environment variables
if test -n "$_OLD_VIRTUAL_PATH"
set -gx PATH $_OLD_VIRTUAL_PATH
set -e _OLD_VIRTUAL_PATH
end
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
set -e _OLD_VIRTUAL_PYTHONHOME
end
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
# Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
set -l fish_function_path
# Erase virtualenv's `fish_prompt` and restore the original.
functions -e fish_prompt
functions -c _old_fish_prompt fish_prompt
functions -e _old_fish_prompt
set -e _OLD_FISH_PROMPT_OVERRIDE
end
set -e VIRTUAL_ENV
if test "$argv[1]" != 'nondestructive'
# Self-destruct!
functions -e pydoc
functions -e deactivate
end
end
# Unset irrelevant variables.
deactivate nondestructive
set -gx VIRTUAL_ENV "/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend"
set -gx _OLD_VIRTUAL_PATH $PATH
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
# Unset `$PYTHONHOME` if set.
if set -q PYTHONHOME
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
set -e PYTHONHOME
end
function pydoc
python -m pydoc $argv
end
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
# Copy the current `fish_prompt` function as `_old_fish_prompt`.
functions -c fish_prompt _old_fish_prompt
function fish_prompt
# Save the current $status, for fish_prompts that display it.
set -l old_status $status
# Prompt override provided?
# If not, just prepend the environment name.
if test -n ""
printf '%s%s' "" (set_color normal)
else
printf '%s(%s) ' (set_color normal) (basename "$VIRTUAL_ENV")
end
# Restore the original $status
echo "exit $old_status" | source
_old_fish_prompt
end
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
end
# This file must be dot sourced from PoSh; you cannot run it
# directly. Do this: . ./activate.ps1
# FIXME: clean up unused vars.
$script:THIS_PATH = $myinvocation.mycommand.path
$script:BASE_DIR = split-path (resolve-path "$THIS_PATH/..") -Parent
$script:DIR_NAME = split-path $BASE_DIR -Leaf
function global:deactivate ( [switch] $NonDestructive ){
if ( test-path variable:_OLD_VIRTUAL_PATH ) {
$env:PATH = $variable:_OLD_VIRTUAL_PATH
remove-variable "_OLD_VIRTUAL_PATH" -scope global
}
if ( test-path function:_old_virtual_prompt ) {
$function:prompt = $function:_old_virtual_prompt
remove-item function:\_old_virtual_prompt
}
if ($env:VIRTUAL_ENV) {
$old_env = split-path $env:VIRTUAL_ENV -leaf
remove-item env:VIRTUAL_ENV -erroraction silentlycontinue
}
if ( !$NonDestructive ) {
# Self destruct!
remove-item function:deactivate
}
}
# unset irrelevant variables
deactivate -nondestructive
$VIRTUAL_ENV = $BASE_DIR
$env:VIRTUAL_ENV = $VIRTUAL_ENV
$global:_OLD_VIRTUAL_PATH = $env:PATH
$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
if (! $env:VIRTUAL_ENV_DISABLE_PROMPT) {
function global:_old_virtual_prompt { "" }
$function:_old_virtual_prompt = $function:prompt
function global:prompt {
# Add a prefix to the current prompt, but don't discard it.
write-host "($(split-path $env:VIRTUAL_ENV -leaf)) " -nonewline
& $function:_old_virtual_prompt
}
}
# SIG # Begin signature block
# MIISeAYJKoZIhvcNAQcCoIISaTCCEmUCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUS5reBwSg3zOUwhXf2jPChZzf
# yPmggg6tMIIGcDCCBFigAwIBAgIBJDANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQG
# EwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERp
# Z2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2Vy
# dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDcxMDI0MjIwMTQ2WhcNMTcxMDI0MjIw
# MTQ2WjCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzAp
# BgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNV
# BAMTL1N0YXJ0Q29tIENsYXNzIDIgUHJpbWFyeSBJbnRlcm1lZGlhdGUgT2JqZWN0
# IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyiOLIjUemqAbPJ1J
# 0D8MlzgWKbr4fYlbRVjvhHDtfhFN6RQxq0PjTQxRgWzwFQNKJCdU5ftKoM5N4YSj
# Id6ZNavcSa6/McVnhDAQm+8H3HWoD030N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# GydYtRgPz8GHeoBoKj30YBlMzRIfFYaIFGIC4Ai3UEXkuH9TxYohVbGm/W0Kl4Lb
# RJ1FwiVcLcTOJdgNId2vQvKc+jtNrjcg5SP9h2v/C4aTx8tyc6tE3TOPh2f9b8DL
# S+SbVArJpuJqrPTxDDoO1QNjTgLcdVYeZDE+r/NjaGZ6cMSd8db3EaG3ijD/0bud
# SItbm/OlNVbQOFRR76D+ZNgPcU5iNZ3bmvQQIg6aSB9MHUpIE/SeCkNl9YeVk1/1
# GFULgNMRmIYP4KLvu9ylh5Gu3hvD5VNhH6+FlXANwFy07uXks5uF8mfZVxVCnodG
# xkNCx+6PsrA5Z7WP4pXcmYnMn97npP/Q9EHJWw==
# SIG # End signature block
"""By using execfile(this_file, dict(__file__=this_file)) you will
activate this virtualenv environment.
This can be used when you must use an existing Python interpreter, not
the virtualenv bin/python
"""
try:
__file__
except NameError:
raise AssertionError(
"You must run this like execfile('path/to/activate_this.py', dict(__file__='path/to/activate_this.py'))"
)
import os
import site
import sys
old_os_path = os.environ.get("PATH", "")
os.environ["PATH"] = os.path.dirname(os.path.abspath(__file__)) + os.pathsep + old_os_path
base = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if sys.platform == "win32":
site_packages = os.path.join(base, "Lib", "site-packages")
else:
site_packages = os.path.join(base, "lib", "python%s" % sys.version[:3], "site-packages")
prev_sys_path = list(sys.path)
site.addsitedir(site_packages)
sys.real_prefix = sys.prefix
sys.prefix = base
# Move the added items to the front of the path:
new_sys_path = []
for item in list(sys.path):
if item not in prev_sys_path:
new_sys_path.append(item)
sys.path.remove(item)
sys.path[:0] = new_sys_path
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from flask.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
bin/pip 0 → 100755
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
bin/pip3 0 → 100755
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
import datetime
import sys
from getpass import getpass
from optparse import OptionParser
from peewee import *
from peewee import print_
from peewee import __version__ as peewee_version
from playhouse.reflection import *
HEADER = """from peewee import *%s
database = %s('%s'%s)
"""
BASE_MODEL = """\
class BaseModel(Model):
class Meta:
database = database
"""
UNKNOWN_FIELD = """\
class UnknownField(object):
def __init__(self, *_, **__): pass
"""
DATABASE_ALIASES = {
MySQLDatabase: ['mysql', 'mysqldb'],
PostgresqlDatabase: ['postgres', 'postgresql'],
SqliteDatabase: ['sqlite', 'sqlite3'],
}
DATABASE_MAP = dict((value, key)
for key in DATABASE_ALIASES
for value in DATABASE_ALIASES[key])
def make_introspector(database_type, database_name, **kwargs):
if database_type not in DATABASE_MAP:
err('Unrecognized database, must be one of: %s' %
', '.join(DATABASE_MAP.keys()))
sys.exit(1)
schema = kwargs.pop('schema', None)
DatabaseClass = DATABASE_MAP[database_type]
db = DatabaseClass(database_name, **kwargs)
return Introspector.from_database(db, schema=schema)
def print_models(introspector, tables=None, preserve_order=False,
include_views=False, ignore_unknown=False, snake_case=True):
database = introspector.introspect(table_names=tables,
include_views=include_views,
snake_case=snake_case)
db_kwargs = introspector.get_database_kwargs()
header = HEADER % (
introspector.get_additional_imports(),
introspector.get_database_class().__name__,
introspector.get_database_name(),
', **%s' % repr(db_kwargs) if db_kwargs else '')
print_(header)
if not ignore_unknown:
print_(UNKNOWN_FIELD)
print_(BASE_MODEL)
def _print_table(table, seen, accum=None):
accum = accum or []
foreign_keys = database.foreign_keys[table]
for foreign_key in foreign_keys:
dest = foreign_key.dest_table
# In the event the destination table has already been pushed
# for printing, then we have a reference cycle.
if dest in accum and table not in accum:
print_('# Possible reference cycle: %s' % dest)
# If this is not a self-referential foreign key, and we have
# not already processed the destination table, do so now.
if dest not in seen and dest not in accum:
seen.add(dest)
if dest != table:
_print_table(dest, seen, accum + [table])
print_('class %s(BaseModel):' % database.model_names[table])
columns = database.columns[table].items()
if not preserve_order:
columns = sorted(columns)
primary_keys = database.primary_keys[table]
for name, column in columns:
skip = all([
name in primary_keys,
name == 'id',
len(primary_keys) == 1,
column.field_class in introspector.pk_classes])
if skip:
continue
if column.primary_key and len(primary_keys) > 1:
# If we have a CompositeKey, then we do not want to explicitly
# mark the columns as being primary keys.
column.primary_key = False
is_unknown = column.field_class is UnknownField
if is_unknown and ignore_unknown:
disp = '%s - %s' % (column.name, column.raw_column_type or '?')
print_(' # %s' % disp)
else:
print_(' %s' % column.get_field())
print_('')
print_(' class Meta:')
print_(' table_name = \'%s\'' % table)
multi_column_indexes = database.multi_column_indexes(table)
if multi_column_indexes:
print_(' indexes = (')
for fields, unique in sorted(multi_column_indexes):
print_(' ((%s), %s),' % (
', '.join("'%s'" % field for field in fields),
unique,
))
print_(' )')
if introspector.schema:
print_(' schema = \'%s\'' % introspector.schema)
if len(primary_keys) > 1:
pk_field_names = sorted([
field.name for col, field in columns
if col in primary_keys])
pk_list = ', '.join("'%s'" % pk for pk in pk_field_names)
print_(' primary_key = CompositeKey(%s)' % pk_list)
elif not primary_keys:
print_(' primary_key = False')
print_('')
seen.add(table)
seen = set()
for table in sorted(database.model_names.keys()):
if table not in seen:
if not tables or table in tables:
_print_table(table, seen)
def print_header(cmd_line, introspector):
timestamp = datetime.datetime.now()
print_('# Code generated by:')
print_('# python -m pwiz %s' % cmd_line)
print_('# Date: %s' % timestamp.strftime('%B %d, %Y %I:%M%p'))
print_('# Database: %s' % introspector.get_database_name())
print_('# Peewee version: %s' % peewee_version)
print_('')
def err(msg):
sys.stderr.write('\033[91m%s\033[0m\n' % msg)
sys.stderr.flush()
def get_option_parser():
parser = OptionParser(usage='usage: %prog [options] database_name')
ao = parser.add_option
ao('-H', '--host', dest='host')
ao('-p', '--port', dest='port', type='int')
ao('-u', '--user', dest='user')
ao('-P', '--password', dest='password', action='store_true')
engines = sorted(DATABASE_MAP)
ao('-e', '--engine', dest='engine', default='postgresql', choices=engines,
help=('Database type, e.g. sqlite, mysql or postgresql. Default '
'is "postgresql".'))
ao('-s', '--schema', dest='schema')
ao('-t', '--tables', dest='tables',
help=('Only generate the specified tables. Multiple table names should '
'be separated by commas.'))
ao('-v', '--views', dest='views', action='store_true',
help='Generate model classes for VIEWs in addition to tables.')
ao('-i', '--info', dest='info', action='store_true',
help=('Add database information and other metadata to top of the '
'generated file.'))
ao('-o', '--preserve-order', action='store_true', dest='preserve_order',
help='Model definition column ordering matches source table.')
ao('-I', '--ignore-unknown', action='store_true', dest='ignore_unknown',
help='Ignore fields whose type cannot be determined.')
ao('-L', '--legacy-naming', action='store_true', dest='legacy_naming',
help='Use legacy table- and column-name generation.')
return parser
def get_connect_kwargs(options):
ops = ('host', 'port', 'user', 'schema')
kwargs = dict((o, getattr(options, o)) for o in ops if getattr(options, o))
if options.password:
kwargs['password'] = getpass()
return kwargs
if __name__ == '__main__':
raw_argv = sys.argv
parser = get_option_parser()
options, args = parser.parse_args()
if len(args) < 1:
err('Missing required parameter "database"')
parser.print_help()
sys.exit(1)
connect = get_connect_kwargs(options)
database = args[-1]
tables = None
if options.tables:
tables = [table.strip() for table in options.tables.split(',')
if table.strip()]
introspector = make_introspector(options.engine, database, **connect)
if options.info:
cmd_line = ' '.join(raw_argv[1:])
print_header(cmd_line, introspector)
print_models(introspector, tables, options.preserve_order, options.views,
options.ignore_unknown, not options.legacy_naming)
File added
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
import sys
import getopt
import sysconfig
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
'ldflags', 'help']
if sys.version_info >= (3, 2):
valid_opts.insert(-1, 'extension-suffix')
valid_opts.append('abiflags')
if sys.version_info >= (3, 3):
valid_opts.append('configdir')
def exit_with_usage(code=1):
sys.stderr.write("Usage: {0} [{1}]\n".format(
sys.argv[0], '|'.join('--'+opt for opt in valid_opts)))
sys.exit(code)
try:
opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
except getopt.error:
exit_with_usage()
if not opts:
exit_with_usage()
pyver = sysconfig.get_config_var('VERSION')
getvar = sysconfig.get_config_var
opt_flags = [flag for (flag, val) in opts]
if '--help' in opt_flags:
exit_with_usage(code=0)
for opt in opt_flags:
if opt == '--prefix':
print(sysconfig.get_config_var('prefix'))
elif opt == '--exec-prefix':
print(sysconfig.get_config_var('exec_prefix'))
elif opt in ('--includes', '--cflags'):
flags = ['-I' + sysconfig.get_path('include'),
'-I' + sysconfig.get_path('platinclude')]
if opt == '--cflags':
flags.extend(getvar('CFLAGS').split())
print(' '.join(flags))
elif opt in ('--libs', '--ldflags'):
abiflags = getattr(sys, 'abiflags', '')
libs = ['-lpython' + pyver + abiflags]
libs += getvar('LIBS').split()
libs += getvar('SYSLIBS').split()
# add the prefix/lib/pythonX.Y/config dir, but only if there is no
# shared library in prefix/lib/.
if opt == '--ldflags':
if not getvar('Py_ENABLE_SHARED'):
libs.insert(0, '-L' + getvar('LIBPL'))
if not getvar('PYTHONFRAMEWORK'):
libs.extend(getvar('LINKFORSHARED').split())
print(' '.join(libs))
elif opt == '--extension-suffix':
ext_suffix = sysconfig.get_config_var('EXT_SUFFIX')
if ext_suffix is None:
ext_suffix = sysconfig.get_config_var('SO')
print(ext_suffix)
elif opt == '--abiflags':
if not getattr(sys, 'abiflags', None):
exit_with_usage()
print(sys.abiflags)
elif opt == '--configdir':
print(sysconfig.get_config_var('LIBPL'))
python
\ No newline at end of file
python
\ No newline at end of file
#!/home/reverend/Programmierung/git_projects/chaos_familien_duell_frontend/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from wheel.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
/usr/include/python3.7m
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment