Giter Site home page Giter Site logo

khant-sodope / prizama Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 25 KB

Prizama is a Python application with both command-line and GUI interfaces for efficient management of Python package dependencies. It supports logging in, signing up, and easily uploading your local pip package list to Redis. Prizama also facilitates seamless package downloads from Redis.

Home Page: https://prizama.co

License: MIT License

Python 100.00%

prizama's Introduction

Prizama's Package Manager

Overview

This project includes a package manager with two versions:

  1. GUI Version - A graphical user interface (GUI) for managing packages.
  2. Command-Line Version - A command-line interface (CLI) for managing packages without a GUI.

Prerequisites

Before running either version, ensure you have the following installed:

  • Python 3.x
  • Redis server

Installation

  1. Clone the repository or download the code files.

  2. Install the required Python packages. You can do this by running:

    pip install -r requirements.txt
  3. Set up your environment variables:

    • Copy the .env.example file to .env:

      cp .env.example .env
    • Edit the .env file to include your Redis connection parameters:

      REDIS_HOST=your_redis_host
      REDIS_PORT=your_redis_port
      REDIS_PASSWORD=your_redis_password
      

GUI Version

Overview

The GUI version uses Tkinter to provide a user-friendly interface for managing packages.

Running the GUI Version

  1. Start the Application

    Run the following command to start the GUI application:

    python app-gui.py
  2. Usage

    • Login: Click "Login" and enter your username and password.
    • Signup: Click "Signup" to create a new account.
    • Upload Selected Packages: Select packages from the table and click "Upload Selected Packages" to upload them to Redis.
    • Download All Packages: Click "Download All Packages" to download and install all packages associated with the logged-in user.
    • Download Selected Packages: Select packages from the table and click "Download Selected Packages" to download and install them.
    • Logout: Click "Logout" to sign out of your account.

Command-Line Version

Overview

The command-line version provides a terminal-based interface for managing packages.

Running the Command-Line Version

  1. Start the Application

    Run the following command to start the CLI application:

    python app.py
  2. Usage

    • Login: Enter your username and password when prompted.
    • Signup: Create a new account by entering a new username and password when prompted.
    • Upload Pip List: Choose whether to use the pip module or pkg_resources to upload the pip list.
    • Download All Packages: Download and install all packages associated with the logged-in user.
    • Sign Out: Sign out of your account.

Notes

  • Ensure Redis is running before using either version of the package manager.
  • Customize the .env file with your Redis server details.

For more information or help, feel free to reach out to me.

prizama's People

Contributors

khant-sodope avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.