Did I find the right examples for you? yes no

All Samples(12)  |  Call(4)  |  Derive(0)  |  Import(8)

src/c/u/curdling-0.4.0/curdling/index.py   curdling(Download)
from threading import RLock
from pkg_resources import parse_version
from .util import split_name, filehash, safe_name, parse_requirement
 
import os
    def __init__(self, spec, formats):
        pkg = parse_requirement(spec)
        msg = ['The index does not have the requested package: ']
        msg.append(pkg.requirement)
        msg.append(formats and ' ({0})'.format(formats) or '')
    def get(self, query):
        # Read both: "pkg==0.0.0" and "pkg==0.0.0,fmt"
        sym = ';'
        spec, format_ = (sym in query and (query.split(sym)) or (query, ''))
        requirement = parse_requirement(spec)

src/c/u/curdling-HEAD/curdling/index.py   curdling(Download)
from threading import RLock
from pkg_resources import parse_version
from .util import split_name, filehash, safe_name, parse_requirement
 
import os
    def __init__(self, spec, formats):
        pkg = parse_requirement(spec)
        msg = ['The index does not have the requested package: ']
        msg.append(pkg.requirement)
        msg.append(formats and ' ({0})'.format(formats) or '')
    def get(self, query):
        # Read both: "pkg==0.0.0" and "pkg==0.0.0,fmt"
        sym = ';'
        spec, format_ = (sym in query and (query.split(sym)) or (query, ''))
        requirement = parse_requirement(spec)

src/c/u/curdling-0.4.0/curdling/install.py   curdling(Download)
from .mapping import Mapping
from .signal import SignalEmitter, Signal
from .util import logger, is_url, parse_requirement, safe_name
from .exceptions import VersionConflict
 

src/c/u/curdling-HEAD/curdling/install.py   curdling(Download)
from .mapping import Mapping
from .signal import SignalEmitter, Signal
from .util import logger, is_url, parse_requirement, safe_name
from .exceptions import VersionConflict
 

src/c/u/curdling-0.4.0/curdling/uninstall.py   curdling(Download)
from . import exceptions
from .database import Database
from .util import logger, parse_requirement
 
 

src/c/u/curdling-HEAD/curdling/uninstall.py   curdling(Download)
from . import exceptions
from .database import Database
from .util import logger, parse_requirement
 
 

src/c/u/curdling-0.4.0/curdling/services/installer.py   curdling(Download)
from __future__ import absolute_import, print_function, unicode_literals
from ..util import parse_requirement
from .base import Service
from distlib.wheel import Wheel
 

src/c/u/curdling-HEAD/curdling/services/installer.py   curdling(Download)
from __future__ import absolute_import, print_function, unicode_literals
from ..util import parse_requirement
from .base import Service
from distlib.wheel import Wheel