Git Product home page Git Product logo

npm-python's Introduction

NPM-Python

Npm styled python package manager.

Installation: npm install @tkdkid1000/pypm

Usage

you@localhost:~/python-package$ pypm                        
pypm <command>

Commands:
  pypm init                      Initializes a package.json file
  pypm install [package]         Installs a pip package             [aliases: i]
  pypm uninstall <package>       Uninstalls a pip package          [aliases: rm]
  pypm config <key> <value>      Modify key-value configuration
  pypm run [script] [arguments]  Runs a pypm script

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]

Commands

init

Initialize a package. Nothing complex. pypm init

install

Installs the specified package, or re installs packages in package.json. pypm install pypm install <packagename> You can specify the package version to install with package@version

uninstall

Uninstalls the specified package. pypm uninstall <packagename>

config

Sets config values for pypm. Not really needed yet. pypm config <key> <value>

run

Runs package scripts. pypm run pypm run <script> [args]

Contribution

I accept any and all contributions to this project. Please format your code with npm run format before committing.

My goals are to implement every existing feature in npm, but designed for python.

Known Issues:

[ ] The python interpreter doesn't run in an M1 (Arm) based system. This is likely due to the different architecture, because it works on linux in GitHub Codespaces and an old Windows computer I tested this on. [ ] Most system commands don't work when you are in a nested folder, currently only at the root. Should be as easy as implementing a crawler that scans directories upwards until finding a package.json.

npm-python's People

Contributors

tkdkid1000 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.