semvec/pypi-packages huggingface dataset:
django-manifest 0.2.1
A kickstarter for Django Web Framework projects that supports both legacy frontend and javascript technolohies using REST API.

# Django Manifest    [![Download Latest][image]][link]

[image]: https://img.shields.io/badge/Coverage-100%-success
[link]: https://github.com/ozgurgunes/Django-Manifest/releases/latest/download/django-manifest.zip


A kickstarter for Django Web Framework projects that supports both legacy frontend and javascript technolohies using REST API.

* Documentation: https://django-manifest.readthedocs.io
* Demo: https://django-manifest.github.io

## Features

* User registration & authentication.
* Password reset and email confirmation.
* Profile picture and settings.
* Future: Topic creation and branching.
* Future: User comments and rating.

## Installation

[Download][link] the latest release, unzip file.

#### Alternatively

Run in shell:

```
$ pip install django-manifest

```

See setup instructions.

## Documentation

* [Project Creation](https://django-manifest.readthedocs.io)
* [Frontend Integration](https://django-manifest.readthedocs.io)
hypothesis-bio 0.1
Hypothesis strategies for biological data
Requires Python: >=3.5

[![Build Status][status]][status_link]
[![codecov][codecov]][codecov_link]

[status]: https://travis-ci.com/luizirber/hypothesis-bio.svg?branch=master
[status_link]: https://travis-ci.com/luizirber/hypothesis-bio
[codecov]: https://codecov.io/gh/luizirber/hypothesis-bio/branch/master/graph/badge.svg
[codecov_link]: https://codecov.io/gh/luizirber/hypothesis-bio

# Hypothesis-bio

This module provides a [Hypothesis][Hypothesis] strategy for generating biological data formats.
This can be used to efficiently and thoroughly test your code.

## Installation

This module can be installed via `pip`:
```
pip install hypothesis-bio
```

## Development

Tests can be executed using tox:
`tox -e py37` runs all tests in a Python 3.7 environment.

There are also [pre-commit][pre-commit] files available, so you can run
`pre-commit install` to add them to your repo.
(These are enforced by CI)

[pre-commit]: https://pre-commit.com/

## See also

This module is based on [Hypothesis-networkx][nx], [hypothesis-csv][csv] and
[hypothesis-jsonschema][jsonschema].

[nx]: https://github.com/pckroon/hypothesis-networkx/
[csv]: https://github.com/chobeat/hypothesis-csv
[jsonschema]: https://github.com/Zac-HD/hypothesis-jsonschema
[Hypothesis]: https://hypothesis.readthedocs.io/en/latest/index.html
spkcspider-domainauth 0.6.2
Helper for spkcspiders domain authentication
Requires Python: >=3.5



Helper for db based domain auth

# Installation

~~~~ sh
pip install spkcspider-domainauth
~~~~

settings:

~~~~
...
INSTALLED_APPS = [
...
    spider_domainauth
...
]

DOMAINAUTH_URL = 'spider_domainauth:domainauth-db'
~~~~

# Usage:

url based:
~~~~ python
from django.conf import settings
from django.shortcuts import resolve_url

response = requests.post(
  resolve_url(settings.DOMAINAUTH_URL),
  {
    "urls": "http://foo/component/list/"
  }
)
token = response.json["tokens"]["foo"]

~~~~


Module based:
~~~~ python
from spider_domainauth.models import ReverseToken
from django.shortcuts import resolve_url

# overloaded create method
rtoken = ReverseToken.objects.create()
"http://foo/token/list/?intent=domain&referrer={referrer}&payload={token}".format(
  referrer=resolve_url(settings.DOMAINAUTH_URL),
  token=rtoken.token
)
e.refresh_from_db()
# note: it is not token but secret, reason: token is reused and prefixed with id (for uniqueness)
e.secret

~~~~


## Settings:

* DOMAINAUTH_RATELIMIT_FUNC: ratelimit access tries, can be also used to limit number of tokens
* DOMAINAUTH_LIFETIME: token lifetime (default 1 hour) (Note: if "url based"-method is used, the token is automatically deleted afterwards)
* DOMAINAUTH_URL: url to domain auth view (required for external users)

# TODO:
* overload other manager methods
* better examples