# ocel-support Support to the OCEL standard
## Available commands:
### Importing / Exporting / Validation
log_object = ocel.import_log(log_path): imports a log from the specified path (both JSON-OCEL and XML-OCEL). ocel.export_log(log_object, log_path): exports a log into the specified path (both JSON-OCEL and XML-OCEL). is_valid = ocel.validate(log_path, schema_path): validates the specified log against the schema (both JSON-OCEL and XML-OCEL).
### Interface
ocel.get_events(log_object): returns a Python dictionary associating event identifiers to their pr (activity, timestamp, object map, attribute map). ocel.get_objects(log_object): returns a Python dictionary associating object identifiers to their attributes (object type, attribute map). ocel.get_attribute_names(log_object): returns a list of attribute names involved in events/objects of the log. ocel.get_object_types(log_object): returns a list of object types involved in events/objects of the log. ocel.get_version(log_object): gets the OCEL version (as a string) from the current OCEL object. ocel.get_global_event(log_object): gets the global values of attributes for the events. ocel.get_global_object(log_object): gets the global values of attributes for the objects.
Metadata
Release files for ocel-standard 0.0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ocel-standard-0.0.3.1.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocel_standard-0.0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / ocel-standard-0.0.3.1.tar.gz
| Download URL | ocel-standard-0.0.3.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf48f845d2525347af74d640f19fbf713cc92e0e1bc7a0b806bef7f0da308085
|
|
BLAKE2b-256 checksum How to use checksums |
7fa4f6fd5a063a75e026dfd76c060d04321b0fe286207c72b7d52988c4615020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|
Release files / ocel_standard-0.0.3.1-py3-none-any.whl
| Download URL | ocel_standard-0.0.3.1-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fff3e080a904b34425e51bd9a33efcc9ffe12b589e602b27604a09db21f2263
|
|
BLAKE2b-256 checksum How to use checksums |
a722b586d12989f982a0829142fa88999594376c25f90120c434b6e4a76215c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|
Security for ocel-standard 0.0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.