Examples
Copy a sub-production
This example demonstrates how to copy a sub-production to another.
Source code in examples/copy.py
              | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |  | 
Dump a sub-production
This example demontrates how to dump / extract jobs from any sub-production to a local directory.
Source code in examples/dump.py
              | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |  | 
Migrate a sub-production
This example demontrates how to do a full migration to the old ZIP format to the new Zstandard+SQLite format of a sub-production.
Source code in examples/migrate.py
              | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |  | 
Manage a sub-production
This example demonstrates how to create a job and a file and write and read data to it and delete it.
Source code in examples/data.py
              | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |  |