semvec/pypi-packages huggingface dataset:
airflow-providers-geonode-op 0.1.7
Custom GeoNode Operator for Apache Airflow
License: MIT

<h1 align="center"> GeoNode Airflow Provider </h1>

<h3 align="center"> Provider that allows to execute GeoNode tasks and GeoProcess from Apache Airflow </h3>

<br>

<h4>This providers contains a operator that allows you to do the follows process:</h4>

* Update layer
* Upload map
* Upload document
* Upload metadata
* Publish a layer
* Update layer style
* Set permiss

<h4>Each process has different arguments that must to be pass it depending on the task to execute</h4>

<h4>Next, we will show examples of how each task should be executed within a DAG and what and how the arguments should be provided.</h4>

<h3>Update layer</h3>

```
update_layer_task = GeoNodeOperator(

)
```

<h3>Upload map</h3>

```
upload_map_task = GeoNodeOperator(

)
```

<h3>Upload document</h3>

```
upload_document_task = GeoNodeOperator(
    task_id='upload_document_task',
    user='{geonode_user}',
    password='{geonode_password}',
    base_url='{geonode_base_url}',
    document_path='{absolute_file_location_path}',
    document_title='{document_title}',
    method='upload_document',
    dag=dag,
)
```

<h3>Upload metadata</h3>

```
upload_metadata_task = GeoNodeOperator(

)
```

<h3>Publish a layer</h3>

```
publish_layer_task = GeoNodeOperator(

)
```

<h3>Update layer style</h3>

```
update_style_task = GeoNodeOperator(

)
```

<h3>Set permiss</h3>

```
set_permiss_task = GeoNodeOperator(

)
```
shaclc 0.1.1
A Python SHACL Compact Syntax parser and serializer.
License: MIT
Requires Python: >=3.10
Keywords: RDF,SHACL,Python

# Python SHACL Compact Syntax Parser

A Python SHACL Compact Syntax parser and serializer based on the specification at https://w3c.github.io/shacl/shacl-compact-syntax/.

All tests defined in [github.com/w3c/data-shapes/shacl-compact-syntax/tests](https://github.com/w3c/data-shapes/tree/gh-pages/shacl-compact-syntax/tests) are passing.

## Browser playground

Play around with the implementation in your browser at https://edmondchuc.github.io/shaclc/.

## Quickstart

Installation.

```shell
pip install shaclc
```

Usage.

```python
from shaclc import shaclc_to_graph

shaclc_str = """
BASE <http://example.com/ns>

IMPORTS <http://example.com/person-ontology>

PREFIX ex: <http://example.com/ns#>

shape ex:PersonShape -> ex:Person {
	ex:ssn xsd:string [0..1] pattern="^\\d{3}-\\d{2}-\\d{4}$" .
}
"""

graph = shaclc_to_graph(shaclc_str)

graph.print(format="longturtle")
```

Output.

```
BASE <http://example.com/ns>
PREFIX ex: <http://example.com/ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

<>
    a owl:Ontology ;
    owl:imports <http://example.com/person-ontology> ;
.

<#PersonShape>
    a sh:NodeShape ;
    sh:property
        [
            sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:path <#ssn> ;
            sh:pattern "^\\d{3}-\\d{2}-\\d{4}$" ;
        ] ;
    sh:targetClass <#Person> ;
.
```