irvingleonard / simplifiedapp Goto Github PK
View Code? Open in Web Editor NEWA simple way to run your python code from the CLI.
License: BSD 3-Clause "New" or "Revised" License
A simple way to run your python code from the CLI.
License: BSD 3-Clause "New" or "Revised" License
Add support for class methods. Class methods should be treated like regular callables since the class shouldn't be instantiated.
Add tests to the code. Cover as much as possible.
Add a switch to the main function that would convert all parameters into optional parameters. The idea is that you might want to add all those parameters in a configuration file and feed just that to your code. That's currently not possible since argparse will complain that you're missing parameters.
Parse input data and add it to the configuration dictionary.
Implement the --input-file switch, to pull the input from a file. It will consume two arguments; first the file path and second a file format. Initially support config_file and json. By using argparse.FileType it will enable the use of the standard input using the special file name "-".
Move the "--config-file" logic to one of this input file.
Load the input files specified in the command line and populate an initial configuration dict. Calculate the parameters still required based on that initial configuration dict. The idea is that you could have you required parameters on a file and feed them to your program, removing the need to provide it in the command line. You could still provide it as an optional parameter, to override the value provided in the input files.
Detect async functions & Co. and be able to run them.
Convert the module into a single file distribution so it's easier to bundle
Replace the current --json switch with the pair:
--output-format switch would change the way the result gets out and will accept: human (pprint), print (for anal devs), debug (repr) and json, for now. Maybe YAML and others could be added in the future.
--output-file switch will add the possibility of redirecting the result to a file instead of stdout. The stderr output won't be part of this, so it would use the console output (all that logging code)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.