ML-powered Text Generation Library
Project description
💬 Mimic
Mimic mimics the style of a given corpus, for great fun and delight.
Developer Installation
We use pipenv for dependency management.
git clone https://github.com/ubclaunchpad/mimic.git
cd mimic/
pip install pipenv
pipenv install --dev
pipenv will manage a virtualenv,
so interacting with the program or using the development tools has to be done
through pipenv, like so:
pipenv run pycodestyle .
This can get inconvenient, so you can instead create a shell that runs in the managed environment like so:
pipenv shell
and then commands like pycodestyle and pytest can be run like normal.
Additionally, we use Travis CI as
a CI system. To run the same checks locally, we provide scripts/build_check.sh;
this can be run with:
./scripts/build_check.sh
Server
To start the server:
$ export FLASK_APP=index.py
$ flask run --without-threads
Running on http://127.0.0.1:5000/
if on windows powershell, export using:
PS C:\path\to\app> $env:FLASK_APP = "index.py"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mimic-text-0.0.2.tar.gz.
File metadata
- Download URL: mimic-text-0.0.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74623ff36d18798d0151e32fa211f573bbe4343ecd8d1c216b1dde738e6376c0
|
|
| MD5 |
7f8a182e60f0e6b4e2abd45d2d4cf3e3
|
|
| BLAKE2b-256 |
29e8c45bd08338f5cf21726cb9e45f87fc469b97d9e9bfabea4fffc8d723d957
|
File details
Details for the file mimic_text-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mimic_text-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
183effba151bc6beb35862048320c385038fd73c39da7bb5a5fef4a9375bee0f
|
|
| MD5 |
9c22b429b052d557dda0383db66e2f2f
|
|
| BLAKE2b-256 |
0368dc053ccaa26b3cf147383e41d2842f82143e2eeaafee5927578a68259594
|