Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
An object for managing IPython profile directories.
Authors:
Bases: exceptions.Exception
Bases: IPython.config.configurable.LoggingConfigurable
An object to manage the profile directory and its resources.
The profile directory is used by all IPython applications, to manage configuration, logging and security.
This object knows how to find, create and manage these directories. This should be used by any code that wants to handle profiles.
Copy a default config file into the active profile directory.
Default configuration files are kept in IPython.config.default. This function moves these from that location to the working profile directory.
Create a new profile directory given a full path.
Parameters: | profile_dir : str
|
---|
Create a profile dir by profile name and path.
Parameters: | path : unicode
name : unicode
|
---|
Find/create a profile dir and return its ProfileDir.
This will create the profile directory if it doesn’t exist.
Parameters: | profile_dir : unicode or str
|
---|
Find an existing profile dir by profile name, return its ProfileDir.
This searches through a sequence of paths for a profile dir. If it is not found, a ProfileDirError exception will be raised.
The search path algorithm is: 1. py3compat.getcwd() 2. ipython_dir
Parameters: | ipython_dir : unicode or str
name : unicode or str
|
---|