Skip to main content

A tool to create wizard configurations from MS word documents

Project description

# Word2Wiz

Command line tool and web application to convert Word documents to Document
Wizard configurations.

### Requirements

For the command line tool:

- python3
- pip
- spell

To create a server:

- vagrant

To use the converter from the command line you can install the necessary
dependencies with pip:

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

To create a server you can run a virtual machine with vagrant (vagrant and
virtualbox are needed):

```
vagrant up
vagrant provision
```

This will download the OS and install dependencies inside that virtual machine.

If you don't want to create a virtual machine, you can also just use the _very
limited_ flask server, runing

```
python3 server.py
```

### How to run it

To run the converter form the

### How it works

This tool parses an input docx document, looking for text between the marks `«`
and `»`. Then, it generates a Spell file, generating questions based on those
matches. Finally, the spell file is compiled ang an XML is generated with the
Wizard Configuration.

In the case of the web interface, the output will be a zip file containing the
wizard configuration XML, the intermediate Spell and a TXT with the link
between the questions and the metadatas.

### TODO:

- [ ] Remove the zip files after the session is closed.
- [ ] Handle colisions in the uploaded files. Two files can have the same name.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

word2wiz-0.3.1.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

word2wiz-0.3.1-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page