Releases: legopitstop/UserFolder
Releases · legopitstop/UserFolder
v1.2.0
CHANGELOG v1.2.0
General
- Improved method docs
- Added
ConfigDialogclass which is a tkinter Toplevel window that shows all the configureable options - Added
Config.exists(key)method - Added
Cacheclass for caching any file. - Added get methods that will return the root class.
- getUser
- getConfig
- getSessionStorage
- getLocalStorage
- getCache
Changes
UserFolder.User
- Added 'path' argument so you can define the custom user path. default
C:\Users\<user>\.python\<id>- Note that defining the custom path will not include ID at the end
idis now optional, if unset it will use a sha1 of the filename.
UserFolder.Config
userarg is optional. When undefined it will use the root user- Define a custom path for the user folder using
path. If set to "%appdata%" it will use the AppData/Roaming folder instead. - Added
.registerItemmethod. - Added atlas names for the following methods
.set()=>.setItem().get()=>.getItem().remove()=>.removeItem()
.getItem()has a new argument "default". If the key is not defined in the config it will return this value. default: None
UserFolder.Storage
userarg is optional. When undefined it will use the root userfilenamearg is optional. default: "storage.yaml"- Added atlas names for the following methods
.set()=>.setItem().get()=>.getItem().remove()=>.removeItem()
UserFolder.sessionStorage
- When the script ends it will now remove all session storages.
v1.0.2
Final release
v1.0.1
Fixed some package issues
v1.0.0
initial release.