1
CDNievas
76d

A json-object mapping for Python 3.X

Project Type
Existing open source project
Summary

A json-object mapping for Python 3.X

Description
The project is working but I need testers and divulgation, basically any feedback that you can give me. All is described in the README Thx to all!
Tech Stack
python 3.X, PyMongo
Current Team Size
1
URL
Comments
  • 1
    Just something: As Python has a package system: Make use of it. It manages all dependencies and will ease up the installation of your package.
  • 0
    @sbiewald I know it buy I have problems with it, you must use a folder with a specific name in the project because is the unique form to get access to the developer defined model class. Python doesn't have annotations like java to do this. Its have a module to instropect code but it open the .py file and parses it so it's not an elegant solution.
  • 0
    @sbiewald The modules or frameworks like ORMs works like you include it and use it functions and the ORM have access to your class by the annotations. In this case is inverse this mapper includes your model classes on it and work with the constructors
  • 1
    I looked a bit over the code and noticed something: I would suggest to write the hole example in English
    -- What is an "usuario" and a "Direccion"?

    But maybe the dump could be improved: Iterate over all attributes of an object. If it is not callable and not starts with an underline and can be.concerted to JSON, put it into the dictionary. This may allow more lax class definitions.

    Btw.: Cool logo.
  • 1
    Can you translate the spanish variable names into english ?
  • 1
    @mclayoz Yes I'll do that in the prox version
Your Job Suck?
Get a Better Job
Add Comment