oioioi.zeus.package
¶
Module Contents¶
Classes¶
Responsible for packing SinolPackages. |
|
Backend that use |
Attributes¶
- class oioioi.zeus.package.ZeusPackage(path, original_filename=None)[source]¶
- class oioioi.zeus.package.ZeusPackageCreator(problem)[source]¶
Bases:
oioioi.sinolpack.package.SinolPackageCreator
Responsible for packing SinolPackages.
- class oioioi.zeus.package.ZeusPackageBackend[source]¶
Bases:
oioioi.sinolpack.package.SinolPackageBackend
Backend that use
SinolPackage
to unpack andSinolPackageCreator
to pack sinol packages.- identify(path, original_filename=None)[source]¶
Checks if the backend is suitable for processing the specified problem package.
- Parameters
path – a path to the processed problem package
original_filename – the name of the package specified by the
uploading user.
Returns
True
if the backend can handle the specified problem package file.