Git Product home page Git Product logo

pythonic's Introduction

Pythonic

Graphical Python programming for trading and automation

Pythonic

Installation

You can run Pythonic natively on any platform, as a container or on your Raspberry PI.

Container based installation

Pythonic is available as container image which can be run by Podman or Docker.

1. Pull the image from the server

podman pull pythonicautomation/pythonic

docker pull pythonicautomation/pythonic

2. Create a container

podman run -d -p 7000:7000 -p 8000:8000 pythonic

docker run -d -p 7000:7000 -p 8000:8000 pythonicautomation/pythonic

Native Installation

1. Install Python 3.9

2a. [Linux]

On Linux based systems, run sudo pip3 install Pythonic or sudo python3 -m pip install Pythonic

In general, root-rights are not required but when you run without it, the start script under /usr/local/bin/ won't get installed.

2b. [Windows]

On Windows, open the command line or the Powershell and type: pip3 install Pythonic

Make sure that the Python script folder (e.g. under Python 3.7: %HOMEPATH%\AppData\Local\Programs\Python\Python37\Scripts) if part of the Path environemnt variable.

3. Run Pythonic

Open a command shell and simply type Pythonic.

Raspberry PI Image

The image is available at sourceforge.net

Download PythonicRPI

The credentials for login at Cockpit are:

  • Username: pythonic
  • Password: guetersloh

Endpoints

Open your favorite WebAssembly compatible web browser and navigate to...

Editing elements

On Windows, when you drop an element to the working areay, the related *.py-file gets copied to %HOMEPATH%\Pythonic\executables. On Linux or Mac you can find them under ~/Pythonic/executables.

Donations

ADA (Cardano): addr1qxnm2s3ssdvxpjjwtlk8qy3j3q2e88te2garpnr3xng30hsglw2g08mvfnx3f7syetya0navr2qkyjlmlhfkzhx085equafjam

XMR (Monero): 46EdjaZQ1og7oaSrPg7kNrdzCSpUhvtViSuMyVq16APaKTjizTGwe6FGg1vKqv4DS84CttqNsRVamKH9MP19cAfL7VagwWZ

pythonic's People

Contributors

hansic99 avatar reallinfo avatar rpalsaxena avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pythonic's Issues

logo contribution

hi @hANSIc99 I contribute to open source softwares by designing logos. I guess this software didn't have a logo. so I designed a logo. What do you think about this logo? I will wait for feedback. Have a nice day!

pythonic

Increase the usage of augmented assignment statements

๐Ÿ‘€ Some source code analysis tools can help to find opportunities for improving software components.
๐Ÿ’ญ I propose to increase the usage of augmented assignment statements accordingly.

Would you like to integrate anything from a transformation result which can be generated by a command like the following?
(:point_right: Please check also for questionable change suggestions because of an evolving search pattern.)

lokal$ perl -p -i.orig -0777 -e 's/^(?<indentation>\s+)(?<target>\S+)\s*=\s*\k<target>[ \t]*(?<operator>[+\-%&|^@]|\*\*?|\/\/?|<<|>>)/$+{indentation}$+{target} $+{operator}=/gm' $(find ~/Projekte/Pythonic/lokal -name '*.py')

๐Ÿ”ฎ How will the development interests evolve further also according to update candidates in 25 lines of this software?

OHLC & Order: Catch exception when when connection is interrupted

Exception in target_0(): <class 'requests.exceptions.ConnectionError'>
Exception in target_0(): HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v1/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f372c27e810>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Exception in target_0(): <traceback object at 0x7f372c29b5f0>
Exception as e: HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v1/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f372c27e810>: Failed to establish a new connection: [Errno -2] Name or service not known'))
<class 'requests.exceptions.ConnectionError'>

Pythonic does not respond in browser ubuntu 18.04

Hey :)

I have given up for today.

May give it a try on ubuntu 20.04 tomorrow...

Ubuntu 18.04
Docker
Python 3.9
It all works until I click on the Pythonic buttons/menu's in the browser.
The same problem is in google chrome & firefox.
Only 2 of the buttons work and ask me to upload a file (+ Hall of fame button).
Tooltips disappear instantly when they try to pop up.

Manual/traditional install I have to give up on. Due to:
Could not find a version that satisfies the requirement PyQt5-Qt5>=5.15.2 (from PyQt5>=5.6->Pythonic) (from versions: ) No matching distribution found for PyQt5-Qt5>=5.15.2 (from PyQt5>=5.6->Pythonic)

APIError 2015

No matter how many times I double-check the keys or just make new APIs and use those, I keep getting an API error that says the key isnโ€™t valid.

Kill process - process not found when exception was thrown

Exception is thrown when using kill process button and #25 was thrown before

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/Pythonic/main.py", line 327, in killProcesses
    self.grd_ops_arr[self.wrk_tab_index].kill_proc()
  File "/usr/local/lib/python3.7/site-packages/Pythonic/executor.py", line 238, in kill_proc
    os.kill(proc, signal.SIGTERM)
ProcessLookupError: [Errno 3] No such process
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/Pythonic/main.py", line 327, in killProcesses
    self.grd_ops_arr[self.wrk_tab_index].kill_proc()
  File "/usr/local/lib/python3.7/site-packages/Pythonic/executor.py", line 238, in kill_proc
    os.kill(proc, signal.SIGTERM)
ProcessLookupError: [Errno 3] No such process

Exception when changing setting on Return element

Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37\lib\site-packages\Pythonic\main.py", line 367, in changeEvent
def changeEvent(self, event):
KeyboardInterrupt
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37\lib\site-packages\Pythonic\elements\basic_return.py", line 115, in recvGridConfig
self.grid_selector.addItem('Grid {}'.format(index + 1))
AttributeError: 'ExecReturn' object has no attribute 'grid_selector'

Clarifications requested!

I have come across this repo while searching for python/qt use with webassembly. I would like to understand the architecture of the application.

  • you have qt running in webassembly, which I knew was possible by compiling c++ code with the wasm target
  • you have a bunch of PySide Qt classes which get invoked on startup
  • you have a bunch of C++ and associated files
  • do I understand that the UI is entirely in C++, but you have a python server process, or do you really have python in wasm calling qt in wasm entirely in the browser (with the rest of the python stuff just as helpers) ?

Since qt is the best desktop widget toolkit around, and web development is hard (UI frameworks being what htey are) for python programmers, you might be in a place to provide a cookie-cutter minimal app for others to be able to build python/qt apps in the browser.

Raspberry Image

Hello,

I'm trying to install Pythonic on a Raspberry.

I burn the sourceforge.net image on an sd, it starts up I put user and pass and it doesn't continue.

Please, could you tell me how to do it?

Thank you.

Relative file path on Windows

Relative file path doesn't work on Windows: Affects Basic Stack, Support Vector Machine, Support Vector Machine Predicion

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.