API Documentation for compoze

compoze.compozer

Generic command line driver.

Register sub-commands by querying setuptools entry points for the group compoze_commands.

class compoze.compozer.Compozer(argv=None, logger=None)

Driver for the compoze command-line script.

parse_arguments(argv=None)
Parse subcommands and their options from an argv list.

See compoze for command line options which are global, i.e. not specific to any of the subcommands.

compoze.fetcher

class compoze.fetcher.Fetcher(global_options, *argv, **kw)

Download distributions for a set of setuptools requirements.

download_distributions()

Collect best sdist candidate for each requirement into a tempdir.

Search each index and find-links URL provided in command options.

Report results using the logger.

index_factory
alias of CompozePackageIndex

See compoze fetch Subcommand for command line options for this subcommand.

compoze.index

class compoze.index.CompozePackageIndex(*args, **kwargs)

Override logging of setuptools.package_index.PackageIndex.

Collect logged messages, rather than spewing to sys.stdout.

compoze.indexer

class compoze.indexer.Indexer(global_options, *argv, **kw)
make_index(path=None)

Build an index from a directory full of source distributions.

path, if passed, overrides the value set from the command line.

See compoze index Subcommand for command line options for this subcommand.

compoze.informer

class compoze.informer.Informer(global_options, *argv, **kw)
index_factory
alias of CompozePackageIndex
show_distributions()
Show available distributions for each index.

See compoze show Subcommand for command line options for this subcommand.

compoze.pooler

class compoze.pooler.Pooler(global_options, *argv, **kw)

Move archives into a common pool directory; symlink back into path.

move_to_pool()

Move archives the pool directory and create symlinks.

Ignore any archives which are already symlinks.

See compoze pool Subcommand for command line options for this subcommand.

Table Of Contents

Previous topic

Configuration File Reference

Next topic

Glossary

This Page