{"action":"created","issue":{"url":"https://api.github.com/repos/olebole/python-cpl/issues/6","labels_url":"https://api.github.com/repos/olebole/python-cpl/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/olebole/python-cpl/issues/6/comments","events_url":"https://api.github.com/repos/olebole/python-cpl/issues/6/events","html_url":"https://github.com/olebole/python-cpl/issues/6","id":115124478,"number":6,"title":"Example of using CPL routines directly","user":{"login":"ivh","id":134957,"avatar_url":"https://avatars.githubusercontent.com/u/134957?v=3","gravatar_id":"","url":"https://api.github.com/users/ivh","html_url":"https://github.com/ivh","followers_url":"https://api.github.com/users/ivh/followers","following_url":"https://api.github.com/users/ivh/following{/other_user}","gists_url":"https://api.github.com/users/ivh/gists{/gist_id}","starred_url":"https://api.github.com/users/ivh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivh/subscriptions","organizations_url":"https://api.github.com/users/ivh/orgs","repos_url":"https://api.github.com/users/ivh/repos","events_url":"https://api.github.com/users/ivh/events{/privacy}","received_events_url":"https://api.github.com/users/ivh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T19:03:36Z","updated_at":"2015-11-04T20:19:07Z","closed_at":"2015-11-04T20:19:07Z","body":"I suspect this is beyond the scope and purpose of python-cpl, but I hope you forgive my asking anyway: Is there a way to use CPL-internal functions directly from Python scripts, i.e. without a recipe? If this is possible, could you include an example in the documentation?\r\n\r\nI want to test certain CPL-routines with fake data and doing this from Python scripts directly would save me some effort."},"comment":{"url":"https://api.github.com/repos/olebole/python-cpl/issues/comments/153850982","html_url":"https://github.com/olebole/python-cpl/issues/6#issuecomment-153850982","issue_url":"https://api.github.com/repos/olebole/python-cpl/issues/6","id":153850982,"user":{"login":"olebole","id":397223,"avatar_url":"https://avatars.githubusercontent.com/u/397223?v=3","gravatar_id":"","url":"https://api.github.com/users/olebole","html_url":"https://github.com/olebole","followers_url":"https://api.github.com/users/olebole/followers","following_url":"https://api.github.com/users/olebole/following{/other_user}","gists_url":"https://api.github.com/users/olebole/gists{/gist_id}","starred_url":"https://api.github.com/users/olebole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olebole/subscriptions","organizations_url":"https://api.github.com/users/olebole/orgs","repos_url":"https://api.github.com/users/olebole/repos","events_url":"https://api.github.com/users/olebole/events{/privacy}","received_events_url":"https://api.github.com/users/olebole/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:19:07Z","updated_at":"2015-11-04T20:19:07Z","body":"Python-cpl is designed to run recipes only; so you would need to wrap the routine into a recipe. Depending on your needs, this may be however simple -- you could take the test recipe as an example."}}