![]() ![]() This will display generated random date in format "yyyymmdd_hhmmss". That means, that all datetime format codes listed HERE should be suppported.Īs of now, _ and - are permitted as separatorsįor example, format template can look like this: %Y%m%d_%H%M%S. Under the hood, generator works with Python's native datetime module. :str:: - lower_bound cannot be negative.You must provide decimal digit, even if it is zero, like so: xxx.0 :float:: - lower_bound can be negative.Įxample: python -m data_generator -f my_output_folder. csvĮxample: python -m data_generator -sa json data. If this parameter is not specified, default output file format is. This parameter belongs to main parser and has to be used before data subparser argumentsĭo not use this parameter together with toml subparser - all parameters are provided via. to display help for toml parser (when entering specifications via TOML file), run python -m data_generator toml -h.to display help for data parser (when entering specifications via CLI), run python -m data_generator data -h.to display help for main parser in console, run python -m data_generator -h.There should be no problems running this utility on standard linux distro or on Windows 10 ![]() Data has to be firstly completely generated in memory and then written into the file json file format has a memory impact, so be careful about that - this is given by Python's json module implementation, see Note HERE. For details, see xlsxwriter's documentation xlsx file format does not impact memory, since memory is flushed after each row of data is written. csv file format does not impact memory, since data is written in the file as they are generated just use pip install Data-GeneratorĬurrently, these Python's datatypes are supported: int, str, float, datetime.datetime.What things you need to install the software and how to install them. These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. json files.ĭata are created using CLI commands or via TOML file specification. Create dataset with random data of datatypes int, float, str, date (more precisely python's datetime.datetime) and timestamp (as float).ĭata can be exported to. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |