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.
Metadata
Release files for word2wiz 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| word2wiz-0.3.1.tar.gz | 9.9 kB | Without provenance | Details for word2wiz-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| word2wiz-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for word2wiz-0.3.1-py3-none-any.whl |
Total release size: 23.7 kB
Release files / word2wiz-0.3.1.tar.gz
| Download URL | word2wiz-0.3.1.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b59f25367db767cb58b8d9a895be1c46135db0a63d91e257c81ebdd3386d5f21
|
|
BLAKE2b-256 checksum How to use checksums |
214277be16554347d7f3ffe8b8d3daf807a1eab5dd4af8c9236555b041a2ed30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / word2wiz-0.3.1-py3-none-any.whl
| Download URL | word2wiz-0.3.1-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c975056c6bff8f111e48a406ddda2ca5b034d1f5fd585b6d48dca314e4fdcc69
|
|
BLAKE2b-256 checksum How to use checksums |
deeed5d7b359d55d37f3cba9f9044dcc45754453dce5df9c5db702bf6df58572
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for word2wiz 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.