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.SinolPackageCreatorResponsible for packing SinolPackages.
- class oioioi.zeus.package.ZeusPackageBackend[source]¶
Bases:
oioioi.sinolpack.package.SinolPackageBackendBackend that use
SinolPackageto unpack andSinolPackageCreatorto 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
Trueif the backend can handle the specified problem package file.