Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PythonGrid
#1
Has anyone worked with PythonGrid?

How to import and work with PythonGrid Module located here. https://pythongrid.com/installation/

I tried to import it and run it as the sample explains but it complains that NO Module Exists?

import pythongrid
grid = PythonGrid('SELECT * FROM user', 'userNumber', 'users')
grid.display()
Reply
#2
pythongrid has not been updated since July 2013.
For that reason, I would be very cautious about using it.
It does install on a python 3 system, but cannot be imported.
Reply
#3
(Apr-02-2021, 01:04 AM)Larz60+ Wrote: pythongrid has not been updated since July 2013.
For that reason, I would be very cautious about using it.
It does install on a python 3 system, but cannot be imported.

How to use it. I added the two lines like it mentions.

grid = PythonGrid('SELECT * FROM orders', 'orderNumber', 'orders')
grid.display()
BUT what do I need to do to reference the project?
Reply
#4
Are there other grids available from python?
Reply
#5
(Apr-02-2021, 01:04 AM)Larz60+ Wrote: pythongrid has not been updated since July 2013.
You most be looking at other package,it's under a year old pythonGrid Github.
Quote:Are there other grids available from python?
Can use any grids out there as eg Flask,Django can use all JavaScript that grid are build on.
Pythongrid is not so smart made as is bound to a version Python version which is 3.6.
Can just in virtual environment is use other version of Python,it's use underneath Flask to run code.

Alternatives eg DataTables, ZingGrid.
Or eg material-ui has one build in in Sandbox.
Larz60+ and vj78 like this post
Reply
#6
I utilized DataTables and it works like a charm.
Reply
#7
I used PythonGrid before. and liked it. As opposed to DataTables, where all the server side code would need to be meticulously added in order to make CRUD function, Python grid is specific made for Python to generate CRUD code.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020