Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(31)  |  Call(19)  |  Derive(3)  |  Import(9)
Archive API 

src/r/y/ryppl-HEAD/scripts/make_boost_feeds.py   ryppl(Download)
from transitive import *
from uuid import uuid4 as make_uuid
from archive import Archive
from sign_feed import *
import threadpool
        def _git_snapshot(self, arch):
            git_revision = check_output(['git', 'rev-parse', 'HEAD'], cwd=self.srcdir).strip()
            archive_uri = 'http://github.com/boostorg/' + self.repo + '/archive/' + git_revision + '.zip'
            zipball = Archive(archive_uri, self.repo, git_revision)
 

src/o/h/ohsnap-0.1.0a-20120509/ohsnap/app.py   ohsnap(Download)
"""
 
from archive import Archive
from ext import SubCommandApp
 
        stdout = p.communicate()[0]
        archive_list = map(
            lambda a: Archive(a),
            filter(
                lambda s: s.startswith('ohsnap:'),

src/a/r/archiwe-0.9.0/archiwe/store/read/zip.py   archiwe(Download)
 
from archive import SIZE,TYPE,MTIME
from archive import Archive
 
def date_time_to_isoformat(date_time):
class StoreReader(Archive):
 
    # override Archive._retrieve_all_meta_from_archive()
    def _retrieve_all_meta_from_archive(self):
        zip = zipfile.ZipFile(self.path,"r")

src/a/r/archiwe-0.9.0/archiwe/store/read/tar.py   archiwe(Download)
 
from archive import SIZE,TYPE,MTIME
from archive import Archive
 
def timestamp_to_isoformat(ts):
    return datetime.fromtimestamp(ts).isoformat('T')
 
class StoreReader(Archive):

src/p/y/PyObjC-PyInstaller-HEAD/pyinstaller/PyInstaller/loader/carchive.py   PyObjC-PyInstaller(Download)
class CArchive(archive.Archive):
    """An Archive subclass that an hold arbitrary data.
 
       Easily handled from C or from Python."""
    MAGIC = 'MEI\014\013\012\013\016'

src/g/l/glacier-0.121/glacier/__init__.py   glacier(Download)
from glacier import Connection
from vault import Vault
from archive import Archive
 

src/g/l/glacier-HEAD/glacier/__init__.py   glacier(Download)
from glacier import Connection
from vault import Vault
from archive import Archive
 

src/l/i/lib-rar-python-HEAD/librar/test_archive.py   lib-rar-python(Download)
    file_helper.create_file(fabs,"content123test")
 
    a = archive.Archive(rar,base)
    a.add_file(frel)
 
 
    # Part B:
    b = archive.Archive(rar,base)
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)
    file_helper.create_file(fabs2,"content123test2")
 
    a = archive.Archive(rar,base)
    a.add_file(frel)
    a.add_file(frel2)
 
    # Part B:
    b = archive.Archive(rar,base)
    syscode = b.extract(target_path=base)
    self.assertEqual(syscode,0)
 
    # Part A:
    a = archive.Archive(rar,base)
 
 

src/a/r/Archive-0.3/archive/test/__init__.py   Archive(Download)
import unittest
 
from archive import Archive, extract, UnsafeArchive, UnrecognizedArchiveFormat
 
 

src/p/y/python-archive-0.2/archive/test/test_archive.py   python-archive(Download)
 
from archive.compat import IS_PY2
from archive import Archive, extract, UnsafeArchive, UnrecognizedArchiveFormat