Manipulate sys.path within the beancount file
Project description
beancount-syspath
Manipulate sys.path
from within the beancount file. This is a plugin for
Beancount, a double-entry bookkeeping computer language.
Installation
Install via pip
pip install beancount-syspath
Usage
Prepend list of paths
plugin "beancount_syspath.prepend" "[
'some/dir',
'other/dir'
]"
or append list of paths
plugin "beancount_syspath.append" "[
'some/dir',
'other/dir'
]"
Place the directive before other plugin loading ones, so they can make use of the updated sys.path
.
The config value is a python list literal, which will be evaluated by ast.literal_eval
, and then
prepended/appended to sys.path
.
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
Built Distribution
Close
Hashes for beancount_syspath-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c623544efb0f93590ecacf3832e84e4d72c421d2c9f5ce3a314198d5e6aaccec |
|
MD5 | 7e0a010db18c1ea2d54b4254504791b9 |
|
BLAKE2b-256 | 2ab90cfca080ffc2ca1848ed689038130121b6c027897a04c6e886824ddea048 |