Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/l/a/lacore-0.1.3/lacore/adf/persist.py   lacore(Download)
    pyaml = None
 
from lacore.exceptions import InvalidArchiveError
from lacore.date import parse_timestamp, format_timestamp
from datetime import datetime
        f = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
    except Exception as e:
        raise InvalidArchiveError(e)
    match = json_cert_re.search(f)
    d = {}
    if match:  # we have a json encoded cert in this file
        try:
            d = as_adf(match.group(1))
        except Exception as e:
            raise InvalidArchiveError(e)
    if 'archive' in d:
        return d
    raise InvalidArchiveError()
 

src/l/a/lacore-0.1.3/lacore/dumper/__init__.py   lacore(Download)
from lacore.source.stream import StreamSource
from lacore.auth import MyHashObj
from lacore.decorators import coroutine
from lacore.adf.elements import Certificate, Archive, Meta, Cipher
from lacore.exceptions import InvalidArchiveError
    def verify(self):
        yield
        if not self.hashobj.verify(self.docs['auth']):
            raise InvalidArchiveError("archive verification failed")
        self.update({})

src/l/o/longaccess-client-HEAD/lacli/cache.py   longaccess-client(Download)
from lacli.capsule import archive_uri
from lacore.archive.folders import FolderArchiver
from lacore.exceptions import InvalidArchiveError
from lacli.exceptions import CacheInitException
from lacore.decorators import contains