Skip to main content

a package manager for git projects with private repositories

Project description

qaviton_package_manager


Tired of redundant packaging systems for your software?
qaviton is here to help!
we can package everything into simple

git branches:

  |
 dev
  |
tests
  |  
release/2019.9.1.21.12.2.127916      
  |
release/2019.9.2.0.39.13.173494     
  |
release/latest

you can now install this package:
pip install git+https://github.com/owner/package.git@release/latest

Installation

pip install --upgrade qaviton_package_manager

Requirements

  • git 2.16+
  • Python 3.6+

Usage

first let's create a manager directory:

(venv) windows> python -m qaviton_package_manager ^
--create ^
--url "https://github.com/owner/project.git" ^
--username "user1" ^
--password "pass@#$" ^
--email "awsome@qaviton.com" ^
--pypi_user "supasayajin" ^
--pypi_pass "final space" 
(venv) bash$ python -m qaviton_package_manager  \
--create  \
--url "https://github.com/owner/project.git"  \
--username "user1"  \
--password "pass@#$"  \
--email "awsome@qaviton.com"  \
--pypi_user "supasayajin"  \
--pypi_pass "final space"  \
/

now let's build a package:

# package/manage.py
from qaviton_package_manager import Manager
from qaviton_package_manager import decypt


manager = Manager(**decypt(
    key=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==',
    token=b'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==',
))


if __name__ == "__main__":
    manager.run(
        lambda: manager.update(),
        lambda: manager.update_test(),
        lambda: manager.test(),
        # lambda: manager.build(to_branch='release/latest'),
        lambda: manager.build(),
        lambda: manager.upload(),
    )
python package.py

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

Built Distribution

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

File details

Details for the file qaviton_package_manager-2019.9.2.16.51.19.832207.tar.gz.

File metadata

  • Download URL: qaviton_package_manager-2019.9.2.16.51.19.832207.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for qaviton_package_manager-2019.9.2.16.51.19.832207.tar.gz
Algorithm Hash digest
SHA256 c5a2d3f37c34166a9387033a55e0950467042188aba4f170e1887e49f443b6ea
MD5 925524bc86f929a8fb9afdb601c2c1f0
BLAKE2b-256 8e5db7ae7c7023d77aecc9a06358db06d0159c53055a56e9e438b3c9583d45b8

See more details on using hashes here.

File details

Details for the file qaviton_package_manager-2019.9.2.16.51.19.832207-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qaviton_package_manager-2019.9.2.16.51.19.832207-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a550d4f2a3eb5959a90254da9b78a3b63be75ad3ed4a78343696755cf3a77338
MD5 ec491fa204afb774088cb21db5ef3e92
BLAKE2b-256 4d4520f1ccfc217db35215f72bb90bc85fd09a96f74d40cdf6bc0f9ce8a5d635

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page