Git Product home page Git Product logo

pythongrid's People

Contributors

chenster avatar dependabot[bot] avatar phpcontrols avatar pycr 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

pythongrid's Issues

CRUD includes UPDATE, CREATE/INSERT and DELETE

While you did a nice job in your demo showing how to view, search and order a database table in a generic fashion, you did not include the ability to update records and fields, create and insert new rows and delete them. Looking thru the code it doesn't seem that you have included any support for those capabilities. Are you working on a version that has that functionality or should we implement that for ourselves.

With those capabilities and few more adjustments this would probably make a popular python package...

Does it support virtual rows

If i load there 1 milliopn of rows doesthis makes not visible rows virtual to safe the time on demand to see other rows when needed?

still alive?

I see all the demos and domain are gone.. did this die out? Getting ready for a project and hate to go down the wrong path.

Seems like a wonderful thing. Will be a shame.

edit.py

Hello, thx for your nice effort.

I was wondering if you made any progress on the edit.py module?

AttributeError: 'Engine' object has no attribute 'open'

Hi,
I has cloned your repo and followed the Readme for the setup. When I run the application, loading the page the grid never appear and in the console I can see this error:

Exception ignored in: <function PythonGrid.__del__ at 0x74b72268>
Traceback (most recent call last):
  File "/home/pi/WebServer/FlaskWebProject1/grid.py", line 177, in __del__
    if self.db.open:
AttributeError: 'Engine' object has no attribute 'open'

here the code at line 177:

def __del__(self):
        if self.db.open:
            self.db.close()

The object self.db is assigned at line 28:

self.db = create_engine(app.config['PYTHONGRID_DB_TYPE']+'://'+app.config['PYTHONGRID_DB_USERNAME']+':'+app.config['PYTHONGRID_DB_PASSWORD']+'@'+app.config['PYTHONGRID_DB_HOSTNAME']+'/'+app.config['PYTHONGRID_DB_NAME']+'?unix_socket='+app.config['PYTHONGRID_DB_SOCKET'], encoding=app.config['PYTHONGRID_DB_CHARSET'])

Looking on google I saw that sqlalchemy.create_engine don't have the attribute open.
Any tips on how to solve this?

Thank you for your time.

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.