Skip to content

Installation

Chris Griffith edited this page Mar 22, 2020 · 2 revisions

Installation

Box 5.x with all converters:

pip install --upgrade python-box[ruamel.yaml,toml,msgpack]

You can use either PyYAML or ruamel.yaml, if both are installed it will use ruamel.yaml.

Just Box with no dependencies:

pip install --upgrade python-box

If you're putting it in your requirements.txt file, make sure to Major Version bind it until your read through the major version changes!

python-box[ruamel.yaml,toml,msgpack]>=5.0,<6.0

Clone this wiki locally