Skip to main content

# OCAD

This is a python-modul which contains usefull fuctions when handling with ocad-files.

### Install

$ pip install ocad

### Example


```python
from ocad import ocad
```


```python
ocad.file_is_cs("OCAD12-File-Sample.ocd")

>>>False
```

```python
ocad.file_is_map("OCAD12-File-Sample.ocd")

>>>True
```

```python
ocad.file_is_ocad("OCAD12-File-Sample.ocd")

>>>True
```

```python
ocad.file_version("OCAD12-File-Sample.ocd", format='short')

>>>'12'
```


```python
ocad.file_info("OCAD12-File-Sample.ocd")

>>>{'epsg_code': None,
'epsg_name': None,
'georeferenced': True,
'note': 'map note',
'number_of_backgroundmaps': 0,
'number_of_classes': 0,
'number_of_colors': 1,
'number_of_courses': 0,
'number_of_spot-colors': 0,
'scale': '10000.000000',
'typ': 'map',
'version_long': '12.3.1',
'version_short': '12'}
```



Metadata

Release files for ocad 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ocad 0.0.2
File Interpreter ABI Platform
ocad-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / ocad-0.0.2-py3-none-any.whl

Download URL ocad-0.0.2-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f50caf7ad9339d29cecd11913cf3ef81c428d7fa9e75d898871e9d752a06875b
BLAKE2b-256 checksum
How to use checksums
319f0ec587ce3d75c4d971459e975655a87b7679aa10aa048fa06fc26201840f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ocad 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page