berhoel.django.media_ooimport.console package¶
Load Data into Django model.
- class berhoel.django.media_ooimport.console.SeriesOO(fname)[source]¶
Bases:
object
Import data from LibreOffice spreadsheet.
- property ods: Ods¶
Provide ods instance.
Subpackages¶
Submodules¶
berhoel.django.media_ooimport.console._helper module¶
Helper functionalities for media_ooimport.
berhoel.django.media_ooimport.console.filme module¶
Process the Film sheet.
- class berhoel.django.media_ooimport.console.filme.FilmRow(date, name, index, options, desc, price)¶
Bases:
tuple
- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ('date', 'name', 'index', 'options', 'desc', 'price')¶
- classmethod _make(iterable)¶
Make a new FilmRow object from a sequence or iterable
- _replace(**kwds)¶
Return a new FilmRow object replacing specified fields with new values
- date¶
Alias for field number 0
- desc¶
Alias for field number 4
- index¶
Alias for field number 2
- name¶
Alias for field number 1
- options¶
Alias for field number 3
- price¶
Alias for field number 5
berhoel.django.media_ooimport.console.kuv module¶
Process the k&v sheet.
- class berhoel.django.media_ooimport.console.kuv.KaufenUndVerkaufenRow(title, kaufdatum, kaufpreis, verkauft_am, verkaufpreis, familie, verkäufer, käufer)¶
Bases:
tuple
- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ('title', 'kaufdatum', 'kaufpreis', 'verkauft_am', 'verkaufpreis', 'familie', 'verkäufer', 'käufer')¶
- classmethod _make(iterable)¶
Make a new KaufenUndVerkaufenRow object from a sequence or iterable
- _replace(**kwds)¶
Return a new KaufenUndVerkaufenRow object replacing specified fields with new values
- familie¶
Alias for field number 5
- kaufdatum¶
Alias for field number 1
- kaufpreis¶
Alias for field number 2
- käufer¶
Alias for field number 7
- title¶
Alias for field number 0
- verkaufpreis¶
Alias for field number 4
- verkauft_am¶
Alias for field number 3
- verkäufer¶
Alias for field number 6
berhoel.django.media_ooimport.console.serie module¶
Convert for Series.
- class berhoel.django.media_ooimport.console.serie.SerieRow(date, season, episode, disk, index, diskset, info, desc, dvd_link)¶
Bases:
tuple
- _asdict()¶
Return a new dict which maps field names to their values.
- _field_defaults = {}¶
- _fields = ('date', 'season', 'episode', 'disk', 'index', 'diskset', 'info', 'desc', 'dvd_link')¶
- classmethod _make(iterable)¶
Make a new SerieRow object from a sequence or iterable
- _replace(**kwds)¶
Return a new SerieRow object replacing specified fields with new values
- date¶
Alias for field number 0
- desc¶
Alias for field number 7
- disk¶
Alias for field number 3
- diskset¶
Alias for field number 5
- dvd_link¶
Alias for field number 8
- episode¶
Alias for field number 2
- index¶
Alias for field number 4
- info¶
Alias for field number 6
- season¶
Alias for field number 1