Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:10:58+00:00 2026-06-14T00:10:58+00:00

I used PyXB to generate Python modules out of a java/spring platform that exposes

  • 0

I used PyXB to generate Python modules out of a java/spring platform that exposes its classes schemas in XSD format via a RESTfull API.

I am now able to parse the XML data that the same platform serves, using those PyXB binding classes/modules.

My question is:

  • How can I leverage those classes, in frameworks like Django or
    pyramid, to build dynamic model forms, tables, etc, as I would do
    using models coming from models.py django ORM, or via colander/deform
    or pyramid-simpleform?
  • Has anybody used PyXB classes in any of those
    frameworks yet?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:11:00+00:00Added an answer on June 14, 2026 at 12:11 am

    One way to do it would be to create a mapping from PyXB bindings to form library. For example, it shouldn’t be too hard to write some code that generate a colander schema from a PyXB class. Once you have the schema, all you need is a way to serialize and deserialize your objects in the same format (which quite simple : only values in lists and dicts), and you’ll be able to create forms from PyXB objects and save them back.

    This has already been done with colander and sqlalchemy, and the code for ColanderAlchemy may give you some inspiration on how to do it.

    Bonus points if you put it on pypi 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i used this code: List<string> lists=new List<string>(apple,orange,banana,apple,mang0,orange); string names; names=lists.Distinct() is that correct?
Used this tutorial I have installed jogl, jocl, gluegen, joal libs and added its
I used the ASP.NET (.NET4) default ASPNETDB.mdf database that gets created when using membership,
I used to export blender models to use them in with three.js. That was
I used following command on windows xp and its working perfectly fine. rundll32.exe url.dll,FileProtocolHandler
I used to use XCode the develop my apps and using that; I could
Used http://www.ilbcfreeware.org/software.html - I only get static from the files that ilbc_test.exe creates. Does
Used XStream lib, but no children XML was difficult to parse in Java. Wanting
I used a very bad log template and has issued git push for that
used to Apache in Linux where each domain name using ssl requires its own

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.