Module for handling ocad-files
Project description
# 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'}
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ocad-0.0.2-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file ocad-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ocad-0.0.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f50caf7ad9339d29cecd11913cf3ef81c428d7fa9e75d898871e9d752a06875b
|
|
| MD5 |
1c794712d0535e951be12592cec8b90e
|
|
| BLAKE2b-256 |
319f0ec587ce3d75c4d971459e975655a87b7679aa10aa048fa06fc26201840f
|