The CUBRID Python API for CUBRID R4.0 has been CC, and self-tested. The CUBRID Python API is developed by my teammate hellohuizhang. She is still a college student, and is an intern now.
Now we are writing documentations such as API manual, build guide, release notes. The question is where should we publish the API manual? The PyPI needs html pages as its doc, but writing html and css is not easy work. I think it is better to write API manual on the http://wiki.cubrid.org. What do you think?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am very happy for CUBRID Python API coming up soon! Here is what we can do:
1) CUBRID Wiki is going to be eliminated.
2) This is why all you/your colleague have to do is to write on cubrid.org directly where we maintain all our manual and tutorials.
As you know we have a special page for Python API http://www.cubrid.org/python_programming. There is also a Python tutorials for CUBRID http://www.cubrid.org/python_tutorial. Ask your colleague to carefully look at its structure. I will create an account for her on cubrid.org and will send you her new username and password, including the short guide how to start editing the pages. For urgent talks, you can add me to your skype (kadishmal) and GTalk (kadishmal).
1) Once you login, you will see three buttons at the end of the page: "Re-create cache file", "Configure", and "Modify".
2) Click on "Modify" to make changes to the current page. The page will reload and you will see the content of the page in a highlighted in blue box.
3) Hover it, and you will see 5 action buttons appear on the top left corner. The 2nd "pencil" buttons is for modification.
4) Click on the "pencil" button to start making changes. A new window will popup where you can make all kinds of changes, including adding images, etc.
Currently the page is visible only for admins and editors. Once you finish editing the page, we will open it to the public. I will tell you how.
If you have questions so far, let me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We don't use the issue tracker in the development of current CUBRID Interface projects (PHP, PDO, Python and so on) . Because the interface project is somewhat simple, for convenience, we do not use project management tools like issue tracker.
And we will use issue tracker when we develop the new version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Which issue tracker do you plan to use? At this moment I have an issue I would like to report. Should I use CUBRID Python Forum http://forum.cubrid.org/viewforum.php?f=28 ?
In any case, both of you please subscribe to this forum so that whenever there is a new post, you could be notified. See http://forum.cubrid.org/viewtopic.php?f=12&t=65 for "How to subscribe to a forum".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have already subscribe to this forum. I think we can use the trac issue tracker. If you want to register a new issue, you can create a ticket in trac,. And you can also use the forum to register the issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The web2py Python Framework runs on Python 2.7. But CUBRID 8.4.0 Python API is built only for Python 3.1. Could you please built it for other versions, too (see http://www.cubrid.org/python_programming), and upload them to SF.net?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are also Windows binaries for Python 2.6. And I will upload the Windows binaries for Python 2.7. Zhellohuizhang is having her graduation trip, and she will be back next week.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have CUBRID Python driver for Python 2.6, 2.7, and 3.1. Would you please upload for Python 3.0.x as well to have the complete set of drivers? Thank you.
And, please ask hellohuizhang to prepare the release note for the new driver. we need to post it on cubrid.org.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) About the Python single-page documentation: I can't solve the problem when epydoc generates a pdf file.
2) I'll update Python Tutorial as soon as possible. But I have a question, as you see, the number of each line about code snippet is 1. How should I do it will be 1. 2. 3……
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) When you are editing the page,
2) and you inserted a syntax highlighter,
3) then you add one line of code
4) then do not press Enter, but press Shift+Enter. This will allow you to add more lines to the same code snippet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Error messages in case of incorrect credentials or when a database isn't started are generated by CCI. I can only get the error code and error messages but can't handle them in python.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi kadishmal,
The CUBRID Python API for CUBRID R4.0 has been CC, and self-tested. The CUBRID Python API is developed by my teammate hellohuizhang. She is still a college student, and is an intern now.
Now we are writing documentations such as API manual, build guide, release notes. The question is where should we publish the API manual? The PyPI needs html pages as its doc, but writing html and css is not easy work. I think it is better to write API manual on the http://wiki.cubrid.org. What do you think?
Hey!
I am very happy for CUBRID Python API coming up soon! Here is what we can do:
1) CUBRID Wiki is going to be eliminated.
2) This is why all you/your colleague have to do is to write on cubrid.org directly where we maintain all our manual and tutorials.
As you know we have a special page for Python API http://www.cubrid.org/python_programming. There is also a Python tutorials for CUBRID http://www.cubrid.org/python_tutorial. Ask your colleague to carefully look at its structure. I will create an account for her on cubrid.org and will send you her new username and password, including the short guide how to start editing the pages. For urgent talks, you can add me to your skype (kadishmal) and GTalk (kadishmal).
Your colleague can refer to the old CUBRID Python API manual http://wiki.cubrid.org/index.php/Python_Programming_with_CUBRID. She will have to move and update it to cubrid.org.
Is this fine with you and her?
Fine! Thank you kadishmal. ^_^
thorny-road,
Please send me an email with your colleague's email address, desired username and password.
Hi, kadishmal!
Very nice to communicate with you!
My email address is zhanghui@nhn.com.
Please send me a email and I'll tell you the username and password.
Thank you!
hellohuizhang,
Here is the page dedicated for CUBRID Python API http://www.cubrid.org/cubrid_python_api.
1) Once you login, you will see three buttons at the end of the page: "Re-create cache file", "Configure", and "Modify".
2) Click on "Modify" to make changes to the current page. The page will reload and you will see the content of the page in a highlighted in blue box.
3) Hover it, and you will see 5 action buttons appear on the top left corner. The 2nd "pencil" buttons is for modification.
4) Click on the "pencil" button to start making changes. A new window will popup where you can make all kinds of changes, including adding images, etc.
Currently the page is visible only for admins and editors. Once you finish editing the page, we will open it to the public. I will tell you how.
If you have questions so far, let me know.
Hi, kadishmal!
I'll ask you for help if I need. Thanks!
Hello guys,
I have a question. Where did you decide to maintain the code for Python API? I suppose at SF.net as I see the code changes http://cubridinterface.svn.sourceforge.net/viewvc/cubridinterface/python/
What about the issue tracker? Is it SF.net track? https://sourceforge.net/apps/trac/cubridinterface/newticket
If SF.net tracker, then you should fill out the necessary Component, Priority, Milestone, Type, Version fields.
Hi kadishmal,
We don't use the issue tracker in the development of current CUBRID Interface projects (PHP, PDO, Python and so on) . Because the interface project is somewhat simple, for convenience, we do not use project management tools like issue tracker.
And we will use issue tracker when we develop the new version.
Which issue tracker do you plan to use? At this moment I have an issue I would like to report. Should I use CUBRID Python Forum http://forum.cubrid.org/viewforum.php?f=28 ?
In any case, both of you please subscribe to this forum so that whenever there is a new post, you could be notified. See http://forum.cubrid.org/viewtopic.php?f=12&t=65 for "How to subscribe to a forum".
We have already subscribe to this forum. I think we can use the trac issue tracker. If you want to register a new issue, you can create a ticket in trac,. And you can also use the forum to register the issue.
Hi thorny-road,
The web2py Python Framework runs on Python 2.7. But CUBRID 8.4.0 Python API is built only for Python 3.1. Could you please built it for other versions, too (see http://www.cubrid.org/python_programming), and upload them to SF.net?
Thank you!
Hi kadishmal,
There are also Windows binaries for Python 2.6. And I will upload the Windows binaries for Python 2.7. Zhellohuizhang is having her graduation trip, and she will be back next week.
Please push the driver to PYPI, too. You should know the username and password. I have sent you before.
OK, I will.
We have CUBRID Python driver for Python 2.6, 2.7, and 3.1. Would you please upload for Python 3.0.x as well to have the complete set of drivers? Thank you.
And, please ask hellohuizhang to prepare the release note for the new driver. we need to post it on cubrid.org.
OK, I will finish this work today.
hellohuizhang will come back to work next week, and I will tell her to prepare the release notes.
Hi,
1) How is it going with the Python single-page documentation generation?
2) And when will the updated Python Tutorial be available at http://www.cubrid.org/python_tutorial ?
Hello!
Can anybody update me regarding the Python Development and Tutorials?
thorny-road, hellohuizhang, I wonder what tasks are you occupied with?
Hello!
1) About the Python single-page documentation: I can't solve the problem when epydoc generates a pdf file.
2) I'll update Python Tutorial as soon as possible. But I have a question, as you see, the number of each line about code snippet is 1. How should I do it will be 1. 2. 3……
Oh, I see.
1) When you are editing the page,
2) and you inserted a syntax highlighter,
3) then you add one line of code
4) then do not press Enter, but press Shift+Enter. This will allow you to add more lines to the same code snippet.
Hello kadishmal!
I have updated the python tutorial at http://www.cubrid.org/python_tutorial.
I you have any requirement, please ask me. Thank you!
I wonder if it possible to provide better ERROR messages in case of incorrect credentials or when a database isn't started?
Error messages in case of incorrect credentials or when a database isn't started are generated by CCI. I can only get the error code and error messages but can't handle them in python.