semvec/pypi-packages huggingface dataset:
kraken-thing 0.0.55
Kraken thing
License: MIT

# kraken datatype

## Overview
Library to extract, validate and normalize datatypes. 

datatypes:
- email
- url
- date
- country
- address
- telephone
- bool
- currency
- domain


## github
https://github.com/tactik8/krakcn_class_thing_v4

## pypi
https://pypi.org/project/kraken-thing/


## classes:
- Thing: representation of a schema.org thing
- Things: a collection of Thing
- Observation: Data points making up a thing


## How to use:

### Basics
```
from kraken_thing.kraken_class_thing.kraken_class_thing import Thing
from kraken_thing import Thing

t = Thing()
t.url = 'https://www.test.com'
print(t.url)

print(t.record)

```
### Metadata

Metadata can be provided in json record using @metadata

```
{ 
    "@type": "person",
    "@id": "abc123",
    "name": "Bob Smith",
    "@metadata": {
        "measuredPropertyContext": "",
        "language": "EN",
        "observationCredibility": 0.5,
        "observationDate": "2023-03-01",
        "validFrom": "2023-03-01",
        "validThrough": "",
        "observationAbout": "",
        "source": {
                    "@type": "WebAPI",
                    "url": "https://someapi.com",
                    "name": "data scraper"
                    },
        "instrument": "",
        "agent": ""
    }
}

```




### HTML

thing.html.xxx return html formats of the thing

print(thing.html.__doc__) for full list

- record() : returns dict with enhanced values (link, etc)
- full() : Returns a 2 column table with key / values
- card() : returns a card
- media() : returns the media (video or pic)
- video() : returns video
- image() : returns image
- link () : returns link with internal value
- record_ref(): returns link with record_ref


### Using api

```
# Set url for the api (only has to do it once)
t = Thing()
t.set_api_url('https://api_url.com')

# Save record tp api
t = Thing('test', 'abc1234')
t.url = 'https://www.test.com'
t.api_post()


# Load record from api
t.api_get()

print(t)

```


## Attributes



## Methods
django-front 0.6.0
A Django application to allow of front-end editing
License: MIT

Django-Front
*********************


.. image:: https://github.com/mbi/django-front/actions/workflows/test.yml/badge.svg
  :target: https://github.com/mbi/django-front/actions/workflows/test.yml
  
.. image:: https://img.shields.io/pypi/v/django-front
  :target: https://pypi.org/project/django-front/

.. image:: https://img.shields.io/pypi/l/django-front
  :target: https://github.com/mbi/django-front/blob/master/LICENSE



Django-front is a front-end editing application: placeholders can be defined in Django templates, which can then be edited on the front-end.

Currently supported editors:

* `Ace <https://ace.c9.io/>`_
* `CKEditor <http://ckeditor.com/>`_
* `EpicEditor <http://epiceditor.com/>`_
* `Froala <https://froala.com/wysiwyg-editor>`_
* `Medium Editor <https://yabwe.github.io/medium-editor/>`_
* `Redactor <http://imperavi.com/redactor/>`_
* `WYMeditor <http://www.wymeditor.org/>`_

Please see the `online documentation <http://django-front.readthedocs.org/>`_ to install and get started.

.. image:: https://travis-ci.org/mbi/django-front.png?branch=master
  :target: http://travis-ci.org/mbi/django-front


----

.. image:: http://django-front.readthedocs.org/en/latest/_images/front-edit-usage.gif