Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105922 > unrolled thread

Meta Data

Started byNick <nickle@gmail.com>
First post2016-03-28 13:49 -0700
Last post2016-03-29 01:06 -0700
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Meta Data Nick <nickle@gmail.com> - 2016-03-28 13:49 -0700
    Re: Meta Data Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-28 17:42 -0400
      Re: Meta Data Nick <nickle@gmail.com> - 2016-03-28 15:06 -0700
      Re: Meta Data Nick <nickle@gmail.com> - 2016-03-29 01:06 -0700

#105922 — Meta Data

FromNick <nickle@gmail.com>
Date2016-03-28 13:49 -0700
SubjectMeta Data
Message-ID<cafd64fd-2886-4145-a47a-32e080bff177@googlegroups.com>
Django has the idea of specifying models using typed Fields. 
The same exists within SQLAlchemy

Are there any tutorials on setting up a similar system.

ie. Declare classes and fields, query the meta data. Fields restricted to certain types. 

N.

[toc] | [next] | [standalone]


#105927

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2016-03-28 17:42 -0400
Message-ID<mailman.117.1459201342.28225.python-list@python.org>
In reply to#105922
There is information in Pro Django Models chapter that may be what you
want.  Pro Django, Apress, Marty Alchin

On Mon, Mar 28, 2016 at 4:49 PM, Nick <nickle@gmail.com> wrote:

> Django has the idea of specifying models using typed Fields.
> The same exists within SQLAlchemy
>
> Are there any tutorials on setting up a similar system.
>
> ie. Declare classes and fields, query the meta data. Fields restricted to
> certain types.
>
> N.
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com/ <http://joelgoldstick.com/stats/birthdays>
http://cc-baseballstats.info/

[toc] | [prev] | [next] | [standalone]


#105928

FromNick <nickle@gmail.com>
Date2016-03-28 15:06 -0700
Message-ID<e4b4a5a9-3022-406b-affa-6fe74269119d@googlegroups.com>
In reply to#105927
Thanks Joel, 

A quick look on Amazon shows it is probably relevant. 

N.

[toc] | [prev] | [next] | [standalone]


#105959

FromNick <nickle@gmail.com>
Date2016-03-29 01:06 -0700
Message-ID<47e86468-6179-46dd-bc4f-4de12dd77cf5@googlegroups.com>
In reply to#105927
I did find a couple of patterns in Effective Python: 59 Specific Ways to Write Better Python (Effective Software Development).

Registering classes and a field example.

Thanks

N.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web