This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Constractor (derived from “Content Extractor’) allows one to use machine learning for web pages content extraction. Library provide following functionality:

  • Extendable features api.
  • Gui tools for simple train-set creation.
  • Simple training and testing process.
  • Simple usage of trained model.
  • Models dumping.
  • etc


NOTE: Project was developed and tested under Ubuntu 12.04. Other operation systems may require enhancements of library.

Ubuntu >=12.04 instructions:

  • Install apt dependecies: sudo apt-get install pip gcc g++ python-dev python-qt4
  • Install constractor: sudo pip install constractor


Following code will run gui train helper:

#!/usr/bin/env python
from constractor.train import GuiTrainer

if __name__ == '__main__':

And following code will print html of predicted element in DOM:

#!/usr/bin/env python
from constractor.parser import Parser

if __name__ == '__main__':
    predicted = Parser('', model_file='model.txt').predicted
    for element in predicted:
        print unicode(element.toInnerXml()).encode('utf-8')


Project is completely open for contribution. See more on bitbucket repo:

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
constractor-0.1.0.tar.gz (10.1 kB) Copy SHA256 Checksum SHA256 Source Nov 3, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting