Usage:
python -m tts_diet_b -i input.xlsx -o solution.xlsx
Please read this to orient yourself. This example is similar, with the following modifications.
- Demonstrates the modern pyproject.toml method of deploying packages.
- Demonstrates how
PanDatFactorycan be used to present apandas.DataFrameinterface to client programmers while still allowing for an internal dictionary based representation of tables.- Note that
pandas.DataFrameobjects can be passed directly to theTicDatFactory.TicDatconstructor, as demonstrated here. UsingPanDatFactoryas the exposed schema and dict-of-dicts internally, as this code demonstrates, is just a bit more friendly to client programmers that preferpandas.
- Note that
tts_diet_bThe subdirectory that defines thetts_diet_bpackage.test_tts_diet_bThe subdirectory that contains data and code required for testingtts_diet_b.pyproject.tomlStandard file for distributingtts_diet_b. Usepython -m buildto create the .whl file.