Menu

CUBRID Python API documentaion

Developers
2011-05-16
2013-06-05
  • thorny-road

    thorny-road - 2011-05-16

    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?

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-16

    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?

     
  • thorny-road

    thorny-road - 2011-05-16

    Fine! Thank you kadishmal. ^_^

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-16

    thorny-road,

    Please send me an email with your colleague's email address, desired username and password.

     
  • hellohuizhang

    hellohuizhang - 2011-05-16

    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!

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-17

    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.

     
  • hellohuizhang

    hellohuizhang - 2011-05-17

    Hi, kadishmal!

    I'll ask you for help if I need. Thanks!

     
  • thorny-road

    thorny-road - 2011-05-18

    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.

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-19

    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".

     
  • thorny-road

    thorny-road - 2011-05-19

    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.

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-23

    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!

     
  • thorny-road

    thorny-road - 2011-05-23

    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.

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-23

    Please push the driver to PYPI, too. You should know the username and password. I have sent you before.

     
  • thorny-road

    thorny-road - 2011-05-23

    OK, I will.

     
  • Esen Sagynov

    Esen Sagynov - 2011-05-25

    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.

     
  • thorny-road

    thorny-road - 2011-05-25

    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.

     
  • Esen Sagynov

    Esen Sagynov - 2011-06-13

    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 ?

     
  • Esen Sagynov

    Esen Sagynov - 2011-06-21

    Hello!

    Can anybody update me regarding the Python Development and Tutorials?

    thorny-road, hellohuizhang, I wonder what tasks are you occupied with?

     
  • hellohuizhang

    hellohuizhang - 2011-06-21

    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……

     
  • Esen Sagynov

    Esen Sagynov - 2011-06-21

    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.

     
  • hellohuizhang

    hellohuizhang - 2011-06-21

    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!

     
  • Esen Sagynov

    Esen Sagynov - 2011-06-21

    I wonder if it possible to provide better ERROR messages in case of incorrect credentials or when a database isn't started?

     
  • hellohuizhang

    hellohuizhang - 2011-06-21

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.