semvec/pypi-packages huggingface dataset:
django-acme-challenge 1.2
A quick tool to serve the acme-challenge verification page.

# django-acme-challenge

[![Build Status](https://travis-ci.org/jamstooks/django-acme-challenge.svg?branch=master)](https://travis-ci.org/jamstooks/django-acme-challenge)

A quick tool to serve the acme-challenge verification page. When creating an SSL certificate with Let's Encrypt, you need to serve a page that they request to confirm you own the site:

    Make sure your web server displays the following content at
    http://your-domain-name/.well-known/acme-challenge/l9msb_LONG_STRING before continuing:

    l9msb_LONG_STRING.LONG_STRING

This app provides a quick way to serve that page.

## Installation

PyPI:

    pip install django-acme-challenge
    
Github:

    pip install https://github.com/jamstooks/django-acme-challenge/archive/v1.2.zip

Add `'acme_challenge',` to your installed apps and update your urls.py:

    url(r'^.well-known/acme-challenge/', include('acme_challenge.urls')),

### Settings

Just set two variables:

  - `ACME_CHALLENGE_URL_SLUG`
  - `ACME_CHALLENGE_TEMPLATE_CONTENT`
  
`http://your-domain-name/.well-known/acme-challenge/ACME_CHALLENGE_URL_SLUG`
will then serve the value of `ACME_CHALLENGE_TEMPLATE_CONTENT`
for validation.

### Compatibility

Support Django 1.8 - 2.0 and Python 2 & 3
django-pre-post 1.1.1
This package provides a framework for surveys and questionnaires
Keywords: test

[![Build Status](https://travis-ci.org/CSDTs/Django-pre-post.svg?branch=master)](https://travis-ci.org/CSDTs/Django-pre-post)[![Updates](https://pyup.io/repos/github/CSDTs/Django-pre-post/shield.svg)](https://pyup.io/repos/github/CSDTs/Django-pre-post/)


# Django-pre-post
This Django app provides the ability to create pre-post questions and answers. It was developed by the CSDTs team at RPI to embed pre-post tests for students in their website and to ease data collection.

# Installation & Integration

## Download and install:
Either use pip in terminal: `pip install django_pre_post`
Or add django_pre_post to your requirements / libraries file and run `pip install -r requirements.txt`

## Add the application to your site:
Include it in settings.py
```
INSTALLED_APPS = (
    ... your apps here ...
    'django_pre_post',
)
```
Include it in URLS.py
```
urlpatterns = [
    ... your pages here...
    url(r'^questionnaire/', include('django_pre_post.urls')),
]
```
# Testing

## Prerequisites
* VirtualBox
  * Linux: sudo apt-get install virtualbox
  * Windows & Mac: https://www.virtualbox.org/wiki/Downloads
* Vagrant
  * Linux: sudo apt-get install vagrant
  * Windows & Mac: https://www.vagrantup.com/downloads.html
* Git
  * Linux: sudo apt-get install git
  * Windows & Mac: https://git-scm.com/downloads
    * For windows Make sure C:\Program Files\Git\usr\bin [is in your path variable](http://www.computerhope.com/issues/ch000549.htm)

## Setup
```shell
git clone https://github.com/CSnap/Django-pre-post #get the code
cd Django-pre-post
vagrant up #build the system in a virtual machine
vagrant ssh #enter the virtual machine
cd /vagrant
python manage.py runserver 0.0.0.0:8000  #run the server
```
Navigate to localhost:8002/admin/
orgmod 0.1.1
Import modules written in org files

#+TITLE: orgmod

[[https://img.shields.io/pypi/v/ledge.svg?style=flat-square]]

Write literate python modules in org mode and import directly in python.
Inspired by [[https://github.com/miedzinski/import-pypi][import-pypi]]. Relies on org-babel and tangling facility.

As an example, lets make this README an importable module. Lets define a
~hello_world~ function.

#+BEGIN_SRC python :tangle yes
  def hello_world():
      print("hello world")
#+END_SRC

In the header for the above code snippet, we set ~:tangle yes~ (checkout the raw
version of this file). This creates a module with the name ~README~.

Now to import this module we first import ~orgmod~ and then import ~README~ and then
run the next code right inside this file.

#+BEGIN_SRC python :results output :exports both
  # For this code block, tangle is not set
  import orgmod
  import README

  README.hello_world()
#+END_SRC

#+RESULTS:
: hello world

-----

*Things to do*

- Make the loader and finder more robust and inherit from the newer abstract
  classes.
- Move next iterations of orgmod itself inside this README. Might need to
  bootstrap from the simpler script thats present right now.