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

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

src/a/r/ardj-1.2.1/src/ardj/cli.py   ardj(Download)
def cmd_db_stats(*args):
    """shows database statistics"""
    from ardj.database import Track
    tracks = Track.find_all()
def cmd_fix_artist_names(*args):
    """correct names according to Last.fm"""
    from ardj.scrobbler import LastFM
    from ardj.database import Track, commit

src/a/r/ardj-1.2.1/src/ardj/tracks.py   ardj(Download)
from ardj import is_dry_run, is_verbose
from ardj.database import Track as Track2
from ardj.users import resolve_alias