Run python function utility
Project description
rfpython: run python function
A simple tool to run (or debug) a python function inside a python script from the command line.
Usage
rfpython python-file function-name
Using VSCode Debugger:
rfpython python-file function-name --debugger
With a remote attach configuration:
{
"name": "Python: Remote Attach",
"type": "python",
"request": "attach",
"port": 5678,
"host": "localhost",
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
]
}
Installation
rfpython is available from the Python Package Index, so simply do
pip install rfpython
to install.
Testing
To run the rfpython unit tests, check out this repository and type
pytest
License
rfpython is published under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rfpython-0.0.3.tar.gz
(82.0 kB
view hashes)