Skip to main content

A library for installing python packages.

Project description

===============================================================================
installer: A library for installing python packages.
===============================================================================

.. image:: https://img.shields.io/pypi/v/installer.svg
:target: https://pypi.org/project/installer

.. image:: https://img.shields.io/pypi/l/installer.svg
:target: https://pypi.org/project/installer

.. image:: https://api.travis-ci.com/sarugaku/installer.svg?branch=master
:target: https://travis-ci.com/sarugaku/installer

.. image:: https://ci.appveyor.com/api/projects/status/y9kpdaqy4di5nhyk/branch/master?svg=true
:target: https://ci.appveyor.com/project/sarugaku/installer

.. image:: https://img.shields.io/pypi/pyversions/installer.svg
:target: https://pypi.org/project/installer

.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
:target: https://saythanks.io/to/techalchemy

.. image:: https://readthedocs.org/projects/installer/badge/?version=latest
:target: https://installer.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


Summary
=======

Installer_ is a library designed for installing python packages built using packagebuilder_.
It is targeted as a lightweight library for synchronizing Pipfile_ formatted projects with
their respective environments (but provides no interface through virtual environments,
see mork_ for that!). Its goal is to provide a small but functional interface to take a
set of requirementslib_ compatible requirements (preferrably from a `Pipfile.lock`) and
install them into an environment, optionally removing packages not present in the lockfile.

Ultimately this project will back installation in Pipenv_.

::

>>> import installer
>>> from passa.cli.options import Project
>>> project = Project(root="/some/root/directory")
>>> syncer = installer.synchronizer.Synchronizer(
project, default=True, develop=True,
clean_unneeded=True
)
>>> installer.operations.sync(syncer)


.. _packagebuilder: https://github.com/sarugaku/packagebuilder
.. _requirementslib: https://github.com/sarugaku/requirementslib
.. _mork: https://github.com/sarugaku/mork
.. _pipfile: https://github.com/pypa/pipfile
.. _pipenv: https://github.com/pypa/pipenv

`Read the documentation <https://installer.readthedocs.io/>`__.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for installer, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size installer-0.1.1-py2.py3-none-any.whl (7.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size installer-0.1.1.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page