Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sleventyeleven/PyScore

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyScore

A very Simple Python Based Scoring Engine

Currently In the works.

Note: See the current development branch for more featured, although bleeding edge, code.

Requires

python 2.5+

Python MySQLdb

MySQL 5.0+

Apache 2.2+

mod_python

Installation

In order for the side to work, mod_python must be installed and your apache configure should look something like this.

...
<Directory /var/www/>

            Options Indexes FollowSymLinks MultiViews
            
            AllowOverride None
            
            Order allow,deny
            
            allow from all
            
            DirectoryIndex page.py
            
            AuthBasicAuthoritative off
            
            AddHandler mod_python .py
            
            PythonHandler mod_python.publisher
            
            PythonDebug On
            
            PythonAuthenHandler auth
            
            AuthType Basic
            
            AuthName "Restricted Area"
            
            require valid-user
            
    </Directory>

...

Your database structure should be something like the following.

PyScore

    PS_Users User_Name:Text User_Password:PASSWORD() Total_Points:Int

    PS_Challenges Challenge_Completed:CSV Point_Value:Int Challenge_Text:Text Challenge_Answer:Text

More detailed information to come.

About

A very Simple Python Based Scoring Engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.