The
Introdu tion
The Basi s
Relational databases
Numeri al Binary Formats
Summary
Data Serialization
From pi kle to databases and HDF5
Fran es
Alted
Freelan e Developer and PyTables Creator
Advan ed S ienti
Programming in Python
2010 Autumn S hool, Trento, Italy
Fran es
Alted
Data Serialization
Introdu tion
The Basi s
Relational databases
Numeri al Binary Formats
Summary
Outline
1
Introdu tion
2
The Basi s
Pi kling our obje ts
The shelve module
3
Relational databases
What's a relational database?
Queries
ORM pa kages
4
Numeri al Binary Formats
Why we need them?
The NPY format
The HDF5 format
The NetCDF4 format
Fran es
Alted
Data Serialization
Introdu tion
The Basi s
Relational databases
Numeri al Binary Formats
Summary
What serialization means?
Serialization is the pro ess of
onverting a data
stru ture or obje t into a sequen e of bits so that it
an
be stored in a le or memory buer, or transmitted a ross
a network
onne tion link to be "resurre ted" later in the
same or another
The basi
omputer environment.
me hanisms are to atten obje t(s) into a
one-dimensional stream of bits, and to turn that stream
of bits ba k into the original obje t(s).
¨C From
Fran es
Alted
Data Serialization
Introdu tion
The Basi s
Relational databases
Numeri al Binary Formats
Summary
Serialization tools
There are literally zillions of serialization tools and formats (text,
XML, or binary based), but well be fo using on those that are:
Easy to use
Spa e-e ient
Fast
In parti ular, we are not going to dis uss text-based formats (e.g.
XML, CSV, JSON, YAML ...).
Fran es
Alted
Data Serialization
Introdu tion
The Basi s
Relational databases
Numeri al Binary Formats
Summary
Serialization tools that
Python
omes with a
omes with Python
omplete toolset of modules for serialization
purposes:
pi kle, and its
ousin,
Pi kle, for qui k-and-dirty serialization.
shelve, a persistent di tionary based on DBM databases.
A
ommon database API for
ommuni ating with relational
databases.
Fran es
Alted
Data Serialization
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- happiness is the meaning and the purpose of life the whole aim and end of human
- list the equipment required to measure the following and name the type of sampli
- the euro in decline how the currency could spoil the global financial system
- activity 1 1 match the word from the first column with the correct definition
- the english supremacy act of 1534 declared the to be the supreme head of th
- on the way to lunch the students stopped at the bathroom
- next experiment with the values in the calculator to complete the chart use up
- the penguins like to swim in the ocean and the seals do too
- the reflection of the moon danced across the ocean wave
- the sound of the sand blowing on the beach was soothing
- complete the table by writing the name of the cell organelle beside its structur
- the first four terms of a fibonacci sequence are a 2a 3a the sum of the f