
group – The group object that this entity is related to. group_id – The numeric ID for the group. Entry ( uuid=None, group_id=None, group=None, icon=None, title=None, url=None, username=None, password=None, notes=None, created=None, modified=None, accessed=None, expires=None, binary_desc=None, binary=None ) ¶Įntry represents a simple entry of a KeePass 1.x database. Times, and provide convenience methods to perform create and move operations. These classes are directly related to their keepassdb.structsĬounterparts however, they also track the hierarchy of the database, track modification The model consists of the Group and Entity classes that together make up the contents if it was not acquired during this session). Parameters:įorce ( bool) – Whether to force releasing the lock (e.g. lock file) if it was acquired by this class or force is set to True. Property for retrieving current filepath (or None if db not loaded from file) release_lock ( force=False ) ¶ If the database is already locked (and force not set to True).Ĭloses the database, releasing lock. Parameters:įorce ( bool) – Whether to force taking “ownership” of the lock file. The close() method will also release the lock. The lock is only acquired when the filepath is specified to a load() or save() operation. LockingDatabase ( dbfile=None, password=None, keyfile=None, readonly=False, new=False ) ¶Ī convenience subclass that adds automatic file locking (if db not opened read-only). If database was opened with readonly flag.Ĭlass keepassdb.db. ESCAPE FROM TARKOV MAPS WIKI PASSWORD
keyfile ( str or file-like object) – The path to keyfile (or a stream) to use instead of or in conjunction with password for encryption key. password ( str) – The password to use for the database encryption key. dbfile ( The path to the database file or a file-like object.) – The path to the file we wish to save. Save the database to specified file/stream with password and/or keyfile. save ( dbfile=None, password=None, keyfile=None ) ¶ parent ( ) – The new parent for the group.Įntry ( ) – The Entry object to remove. Move_group ( group, parent, index=None ) ¶ index ( int) – The 0-based index within the parent (defaults to appending. group ( ) – The new parent Group object for the entry. Move_entry ( entry, group, index=None ) ¶
buf ( str) – A string (bytes) of the database contents. Load a database from passed-in buffer (bytes). Load_from_buffer ( buf, password=None, keyfile=None, readonly=False ) ¶ readonly ( bool) – Whether to open the database read-only. keyfile ( str or file-like object) – Path to a keyfile (or a stream) that can be used instead of or in conjunction with password for database. password ( str) – The password for the database. dbfile ( str or file-like object) – The database file path/stream. Property for retrieving current filepath (or None if db not loaded from file) load ( dbfile, password=None, keyfile=None, readonly=False ) ¶ Title must be a string, image an unsigned int >0 and parent a Group.
If a parent is given, the group will be created as a sub-group. expires ( datetime) – Expiration date (if None, entry will never expire).Ĭreate_group ( title, parent=None, icon=1, expires=None ) ¶Ī group title is needed or no group will be created.Image must be an unsigned int >0, group a Group.
The group which should hold the entry is needed. Returns:Ĭreate_entry ( group, **kwargs ) ¶ create_default_group ( ) ¶Ĭreate a default ‘Internet’ group on an empty database.
header – The database header struct ( ).Ĭloses the database, performs any necessary cleanup functions. keyfile – A path to a keyfile that can be used instead or in combination with passphrase. password – The passphrase to use to encrypt the database. filepath – The path to the database that is opened or will be written (if specified). readonly – Whether database was opened read-only. entries – The flat list of entries ( ) in this database. groups – The flat list of groups ( ) in this database. root – The group-like virtual root object (not actually part of database). This class represents the KeePass 1.x database. Database ( dbfile=None, password=None, keyfile=None, readonly=False, new=False ) ¶ In addition to creating new groups and entries.
The database classes provide the primary API for loading and saving KeePass 1.x databases,