semvec/pypi-packages huggingface dataset:
dj-kaos-webclipper 0.1.0
Clip web pages html and store in Django
License: BSD-3-Clause
Keywords: django,clipper,webclipper,web clipper,scarping,scrape,kaos

# Django KAOS web clipper

Clip web pages html and store in Django

## Quick start

    pip install dj-kaos-webclipper

Add `webclipper` to `INSTALLED_APPS` if you want to use the generic webclip model, or extend `AbstractWebClip` if you
want to customize it on your application.

If you go with the generic WebClip model, you can get REST endpoint by using the router defined in `rest.routes`.

Your end users will send the title, URL and HTML content of the page using the REST API endpoint, and they get saved to
the models. You can extend the WebClip model in a proxy model, and extend `RawItemMixin` from the library, which gives
you an interface to parse the page using Scrapy's API.

## Development and Testing

### IDE Setup

Add the `example` directory to the `PYTHONPATH` in your IDE to avoid seeing import warnings in the `tests` modules. If
you are using PyCharm, this is already set up.

### Running the Tests

Install requirements

```
pip install -r requirements.txt
```

For local environment

```
pytest
```

For all supported environments

```
tox
```
django-io 0.1.0
Importing and exporting of data, and other file operations for Django apps
License: BSD-3-Clause
Keywords: django,io,import,export

# Django I/O

Importing and exporting of data, and other file operations for Django apps

## Quick start

```shell
pip install django-io
```

Add `django_io` to `INSTALLED_APPS`

```python
INSTALLED_APPS = [
    ...,
    'django_io',
]
```

Create a form to upload your data and save it, and the view to show the form. In the admin panel for the model you are
importing:

```python
@admin.register(SomeModel)
class SomeModelAdmin(
    DataImportableAdmin,
    admin.ModelAdmin
):
    upload_url = reverse_lazy('app:model:upload')  # path to the view
```

## Development and Testing

### IDE Setup

Add the `example` directory to the `PYTHONPATH` in your IDE to avoid seeing import warnings in the `tests` modules. If
you are using PyCharm, this is already set up.

### Running the Tests

Install requirements

```
pip install -r requirements.txt
```

For local environment

```
pytest
```

For all supported environments

```
tox
```