'''
Created on 3 janv. 2022

@author: slinux
'''

#
#
#
#    wxRaven for building .exe
#
#
#


import json
import wx
import wx.xrc
import wx.dataview
import wx.dataview
import wx.aui
import wx.richtext
import wx.lib
import wx.lib.scrolledpanel
import wx.lib.buttons
import wx.adv
import wx.grid
import wx.html2
import wx.aui
import wx.py
import random
import math
import uuid    #use for the relay connexion to get unique id


from wx.adv import TaskBarIcon as TaskBarIcon

try: 
    import wx.msw
except ImportError:
    pass

try:
    import pyperclip
except ImportError:
    from libs import pyperclip


import os
import time
import wx.lib.mixins.listctrl
import webbrowser
import qrcode

from collections import namedtuple
from contextlib import contextmanager
from datetime import datetime, timedelta
from typing import List, Optional, Union
from socketio import Client
from socketio.exceptions import ConnectionError as SocketIOConnectionError
from sqlalchemy import create_engine, func, insert, select, update
from sqlalchemy.orm import Session, scoped_session, sessionmaker
from datetime import datetime as _datetime
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, DateTime, Enum, Float, ForeignKey, Integer, String
from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy.orm import relationship


import base64
import logging
from logging.handlers import TimedRotatingFileHandler


from requests import post, get
from libs.jsonrpcclient.requests import Request
#import ipfshttpclient
#import ipfsapi

from PIL import Image
import PIL

import shutil
import threading
from multiprocessing import Process


from ast import literal_eval

import secrets


import flask
from flask import request, jsonify
from flask import Flask, redirect, url_for
import functools


import flask_classful
from flask_classful import *

import urllib.parse

from wxRavenGUI import wxRavenMain

import wx
import sys, os
import argparse
#sys.stderr = open(os.getcwd() + "session.log", "wb")



from wx import stc
import keyword
import  wx.stc  as  stc
from wx import stc
import  wx.stc
#from StyledTextCtrl import PythonSTC
import ctypes


if __name__ == '__main__':
    
    
    
    parser = argparse.ArgumentParser()
    parser.add_argument('--profile', help='start with specific profile directly')
    args = parser.parse_args()
    
    print(args)
    
    Instance_wxRavenApplication = wxRavenMain.wxRavenMainApp(profile=args.profile)
    Instance_wxRavenApplication.runApp()
    
    
'''
Created on 3 janv. 2022

@author: slinux
'''

#
#
#
#    wxRaven for building .exe
#
#
#


import json
import wx
import wx.xrc
import wx.dataview
import wx.dataview
import wx.aui
import wx.richtext
import wx.lib
import wx.lib.scrolledpanel
import wx.lib.buttons
import wx.adv
import wx.grid
import wx.html2
import wx.aui
import wx.py
import random
import math
import uuid    #use for the relay connexion to get unique id


from wx.adv import TaskBarIcon as TaskBarIcon

try: 
    import wx.msw
except ImportError:
    pass

try:
    import pyperclip
except ImportError:
    from libs import pyperclip


import os
import time
import wx.lib.mixins.listctrl
import webbrowser
import qrcode

from collections import namedtuple
from contextlib import contextmanager
from datetime import datetime, timedelta
from typing import List, Optional, Union
from socketio import Client
from socketio.exceptions import ConnectionError as SocketIOConnectionError
from sqlalchemy import create_engine, func, insert, select, update
from sqlalchemy.orm import Session, scoped_session, sessionmaker
from datetime import datetime as _datetime
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, DateTime, Enum, Float, ForeignKey, Integer, String
from sqlalchemy.ext.hybrid import hybrid_property
from sqlalchemy.orm import relationship


import base64
import logging
from logging.handlers import TimedRotatingFileHandler


from requests import post, get
from libs.jsonrpcclient.requests import Request
#import ipfshttpclient
#import ipfsapi

from PIL import Image
import PIL

import shutil
import threading
from multiprocessing import Process


from ast import literal_eval

import secrets


import flask
from flask import request, jsonify
from flask import Flask, redirect, url_for
import functools


import flask_classful
from flask_classful import *

import urllib.parse

from wxRavenGUI import wxRavenMain

import wx
import sys, os
import argparse
#sys.stderr = open(os.getcwd() + "session.log", "wb")



from wx import stc
import keyword
import  wx.stc  as  stc
from wx import stc
import  wx.stc
#from StyledTextCtrl import PythonSTC
import ctypes


if __name__ == '__main__':
    
    
    
    parser = argparse.ArgumentParser()
    parser.add_argument('--profile', help='start with specific profile directly')
    args = parser.parse_args()
    
    print(args)
    
    Instance_wxRavenApplication = wxRavenMain.wxRavenMainApp(profile=args.profile)
    Instance_wxRavenApplication.runApp()
    
    
Created on 3 janv. 2022  @author: slinux # # # #    wxRaven for building .exe # # # #use for the relay connexion to get unique id #import ipfshttpclient #import ipfsapi #sys.stderr = open(os.getcwd() + "session.log", "wb") #from StyledTextCtrl import PythonSTC