Skip to main content

ML-powered Text Generation Library

Project description

💬 Mimic

Build Status

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


Download files

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

Files for mimic-text, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size mimic_text-0.0.2-py3-none-any.whl (15.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mimic-text-0.0.2.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page