Releases: aahnik/run-py-bot
1.0.2
0.1.1
0.1.0
- rewrite using asynchronous code
- execute code using rextester api
- make an evaluation of pythonic expression default
- give code stats
- code is non-blocking
- allow import statements
Take the example of the old versions:
Suppose you give an infinite loop. It will block the bot for 6s. Suppose I give a simple calculation during this time, the bot will do it only after 6s.
In the new ( v0.1.0 + ) version:
You can execute code that takes a longer time, till the rextester limit.
You give a long calculation, the bot will not get blocked. In the meantime, it can do calculations by other people.
0.0.5
Thanks @gabrielesilinic for adding import support
This release will support imports via a pre processor.
This is a legacy version, and will be deprecated in future.
To use this version:
First clone this repo and then
git checkout tags/v0.0.5 -b main
0.0.4
- make youtube video of current https://www.youtube.com/watch?v=nCuQ-7Rw0gM
- add inline evaluation
- add a simple error handler, to reduce verbosity of logs
- add unknown command handler
0.0.3
- Fix horrible security bug by @gabrielesilinic
- Update repo Readme, with social links
0.0.2
- Logs should contain time-stamps in the deployer's desired time-zone instead of server time.
- Uplift ban from exponentiation
**
as the cause of bug found and can be handled. - Hanging in case of certain long calculations can be prevented.
- Reduce bot's response time by preventing the repetition of execution.
earlier when there was no output after executing the code via
python -c code
, the bot would runeval(code)
. - add new command
/e
to run pythonic expressions. - add new commands
/help
and/code
- remove the dependency on Makefile as it had only a few lines
- add more detailed docstrings
- make the readme instructions simpler to follow.
- host the code for this in an independent repo, to make deploying and updating code on server steps easier.
- fix all pylint errors