File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ObjectBox-Python Examples
2+
3+ The following examples are available from this repository.
4+
5+ ## Application Example: Tasks
6+
7+ ```
8+ cd example
9+ python -m tasks
10+
11+ Welcome to the ObjectBox tasks-list app example. Type help or ? for a list of commands.
12+ > new buy oat
13+ > new buy yeast
14+ > new bake bread
15+ > ls
16+ ID Created Finished Text
17+ 1 Mon Apr 22 11:02:27 2024 buy oat
18+ 2 Mon Apr 22 11:02:30 2024 buy yeast
19+ 3 Mon Apr 22 11:02:34 2024 bake bread
20+ > done 1
21+ > done 2
22+ > ls
23+ > ls
24+ ID Created Finished Text
25+ 1 Mon Apr 22 11:02:27 2024 Mon Apr 22 11:03:02 2024 buy oat
26+ 2 Mon Apr 22 11:02:30 2024 Mon Apr 22 11:03:18 2024 buy yeast
27+ 3 Mon Apr 22 11:02:34 2024 bake bread
28+ > exit
29+ ```
30+
File renamed without changes.
Original file line number Diff line number Diff line change 11from cmd import Cmd
22import objectbox
33import time
4- from example .model import *
4+ from .model import *
55
66
77# objectbox expects date timestamp in milliseconds since UNIX epoch
File renamed without changes.
You can’t perform that action at this time.
0 commit comments