Skip to main content

paci


PyPI version GitHub issues GitHub license

paci

Your friendly, lightweight and flexible package manager.

It is a package manager which can be used to distribute your own packages. It is meant to install all packages in your userland.

Please see Limitations

Installation

Via script

bash <(curl -s https://raw.githubusercontent.com/tradebyte/paci/master/.github/bin/install.sh)

The script takes two parameter main_registry and fallback_registry. If you want to use them for your setup just append them accordingly.

Example:

bash <(curl -s https://raw.githubusercontent.com/tradebyte/paci/master/.github/bin/install.sh) https://raw.githubusercontent.com/tradebyte/paci/master

(which would define the main registry)

Manually

On Ubuntu 16.04:

pip3 install paci

After that you should add $HOME/.local/bin to your $PATH in your ~/.bashrc file.

export PATH="$PATH:$HOME/.local/bin"

Requirements

  • python3
  • python3-venv
  • rsync

Setup

❯ make

Usage

These are the planned commands.

❯ paci --help
paci

Usage:
  paci install [--no-config] [--no-cleanup] [--reuse] [--overwrite] [--debug] <package>...
  paci update [--no-config] [--no-cleanup] [--reuse] [--overwrite] [--debug] <package>...
  paci search <package>
  paci refresh
  paci list [--installed]
  paci remove
  paci configure [--no-choice] [--silent] [--main-registry=<url>] [--fallback-registry=<url>]
  paci generate (repo-index <path> | pkg-index)
  paci --help
  paci --version

Options:
  -h, --help                         Show this screen.
  -v, --version                      Show version.
  -n, --no-config                    Omits the config.
  -c, --no-cleanup                   Don't cleanup the mess.
  -o, --overwrite                    Overwrite the config.
  -d, --debug                        Print debugging messages.
  -i, --installed                    List all installed packages.
  -r, --reuse                        Reuse the downloaded files.
                                     (only possible with --no-cleanup)
  --no-choice                        Omit the questions and use the defaults.
  --silent                           Don't print anything.
  --main-registry=<url>              Set the <url> as default for the main registry.
  --fallback-registry=<url>          Set the <url> as default for the fallback registry.

Examples:
  paci install phpstorm

Help:
  For help using this tool, please open an issue on the Github repository:
  https://github.com/tradebyte/paci

Limitations

  • It currently targets Ubuntu 16.04 only!
  • It needs more packages.
  • It needs testing.
  • It only supports 64bit systems.

Some snippets

  • Run tests: $ python setup.py test
  • Activate virtualenv: . env/bin/activate
  • Deactivate virtualenv: deactivate
  • Run the linter: pylint paci
  • New release of this CLI tool (pip): $ python setup.py sdist bdist_wheel

Releasing a new version

What you need to release a new paci version

  • Make sure to install wheel and twine via pip.
  • Have a pypi-account with access to the paci package.

Releasing

  1. Bump up the version number in paci/__init__.py according to semver.
  2. Build: python setup.py sdist bdist_wheel
  3. Test: twine check dist/*
  4. Publish it to the test.pypi.org registry: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  5. Check if everything worked on the test.pypi.org site.
  6. Publish it for real: twine upload dist/*

Contributing

See the CONTRIBUTING document.
Thank you, contributors!

License

Copyright (c) 2017 by the Tradebyte Software GmbH.
paci is free software, and may be redistributed under the terms specified in the LICENSE file.

About

paci is maintained and funded by the Tradebyte Software GmbH.
The names and logos for paci are trademarks of the Tradebyte Software GmbH.

We love free software!

Download files

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

Source Distribution

paci-1.10.3.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paci-1.10.3-py2.py3-none-any.whl (23.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file paci-1.10.3.tar.gz.

File metadata

  • Download URL: paci-1.10.3.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for paci-1.10.3.tar.gz
Algorithm Hash digest
SHA256 a89478619b8e519b62f0411dbc7e0f410f6a958946db8dd717c85a3ce423b82e
MD5 b95d287a3b4222cbf15285df7a0ea8c3
BLAKE2b-256 52a4de5a967998a21316a0ac337f10b658b1cfea33cd8ffedd09993e8687c5bd

See more details on using hashes here.

File details

Details for the file paci-1.10.3-py2.py3-none-any.whl.

File metadata

  • Download URL: paci-1.10.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for paci-1.10.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1439643d02f510ce7059c9a9fdbe00bbe82df002f4a0e4c9b4cd8b0d009767c6
MD5 75cca9a08509aea54c8423748303ed89
BLAKE2b-256 5e492bd79ff4bad27ca5087e532e99c7f8b1549d840eacf26a660529642cced5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.10.5

2 files

1.10.4

1 file

This release

1.10.3 This release

2 files

1.10.2

1 file

1.10.1

1 file

1.10.0

1 file

1.9.0

1 file

1.8.0

1 file

1.7.0

1 file

1.6.0

1 file

1.5.3

1 file

1.5.2

1 file

1.5.0

1 file

1.4.0

1 file

1.3.0

1 file

1.2.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page