pycr / pythongrid Goto Github PK
View Code? Open in Web Editor NEWEasy datagrid for Python Flask web framework
Home Page: https://pythongrid.com
License: MIT License
Easy datagrid for Python Flask web framework
Home Page: https://pythongrid.com
License: MIT License
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?
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.
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.
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...
Hello, thx for your nice effort.
I was wondering if you made any progress on the edit.py module?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.