在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mplewis/csvtomd开源软件地址(OpenSource Url):https://github.com/mplewis/csvtomd开源编程语言(OpenSource Language):Python 93.3%开源软件介绍(OpenSource Introduction):csvtomd: markdown tables made easy» Now online: csvtomd.com »The Python project is discontinued Thanks for all your contributions! At this time I'm not continuing development on the Python version of this tool. I'm moving work to the following JS projects: I'm happy to point to your projects if you decide to take over development on the Python version or create a CLI for the JS version! Just let me know. Convert your CSV files into Markdown tables. Tables Generator is a fantastic web tool for converting tabular data into all sorts of table layouts. I like how it lets me import CSV files, but I need the ability to convert many CSV files in batch for a docset on which I'm working. I built InstallationThis is a Python 3 script, so use
After this, run Usage
Example InputFile:
Example Markdown TableCommand:
Example Raw OutputCommand:
Command:
RequirementsPython 3. Tested with Python 3.4.1 on Mac OS X 10.9.3. Doesn't require any external packages, so it should be platform-agnostic. HelpCommand:
ContributionsBug reports, fixes, or features? Feel free to open an issue or pull request any time. TestingI only accept pull requests for features with tests. # Run tests in the project root
$ py.test
============================= test session starts ==============================
platform darwin -- Python 3.5.0, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
rootdir: /your/path/to/csvtomd, inifile:
collected 3 items
test/test_csvtomd.py ...
=========================== 3 passed in 0.04 seconds =========================== Releasing# Bump version number in setup.py and csvtomd.py
# Delete old builds
rm -rf dist
# Build source and binary wheel distribution
python setup_wrap.py sdist bdist_wheel
# Upload to PyPI
pip install twine
twine upload dist/* Here's an actual guide to PyPI. And another really good one. LicenseCopyright (c) 2017 Matthew Lewis. Licensed under the MIT License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论