A python script that converts mysql create tables to markdown tables
Reason this release was yanked:
The scripts param in setup.py doesn't get added as a binary file. Use 0.0.1 instead. Note the binary file in 0.0.1 might only work on linux.
Project description
MD Table Creator
Python 3.8.3
Takes in a mysql create table syntax as an input and output markdown table which you can then paste into confluence.
3.8.2 is used for the walrus operator
Contributing
Setup
Create a virtualenv, example with pyenv
and pyenv-virtualenv
plugin:
pyenv install 3.8.2
pyenv virtualenv 3.8.2 md-table-creator
pyenv local md-table-creator # Automatically activates md-table-creator whenever you are in this folder
pip install -r requirements.txt
pre-commit install
Running Tests
pytest .
pytest -vv . # verbose mode
Or if you want tests to re-run when any file is changed:
ptw .
ptw . -- -vv # verbose mode
Running formatter
black .
Uploading as a library to pypy
Followed these instructions:
https://dzone.com/articles/executable-package-pip-install
rm -rf build dist # clear as folders conflict with pyinstaler
python setup.py bdist_wheel # compile
python -m twine upload dist/* # upload to pypy
Versioning
Using semantic versioning
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 Distributions
Built Distribution
Hashes for md_table_creator-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19f971b5ea40d3d794a2145f5eb8ed06f56b945529d98d39411f62d8d39fdd5 |
|
MD5 | 1a0a716c232f1d835be4ec3525b4f5b9 |
|
BLAKE2b-256 | 1f96ee66f41ee3420093e25dd09f156eeb469041016bf437e4d6c0acdfe9fb44 |