Giter Club home page Giter Club logo

pyos's Introduction

PyOS

Codacy Badge codebeat badge CodeFactor

Lines of Code GitHub (pre-)release

A Python CLI made for Python 2.

Features

  • Command auto-completer
  • Easy command addition
  • Command arguments
  • Plugin support (coming soon!)

Contributing

We handle contributions through pull requests on GitHub. Active development is usually done in branches, which are then merged with master for final release.

For instructions on how to contribute, please click here.

Examples

There is an example program in the programs directory.

Dependencies

This is only usually required on Windows systems.

You can install the requirements with this command:

pip install -r requirements.txt

You only need to install these requirements if the program fails to launch.

Notes

Documentation

pyos's People

Contributors

alfro avatar feralpoosum avatar jcxldn avatar josteinl avatar rainta avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pyos's Issues

Create a Python Game

Challenge: Create a game in Python (e.g. Hangman or Snake) and submit a pull request for Hacktoberfest.

Command Infomation

This would mean that commands (and plugins, see #6) would have some information on how they should be used, for example, syntax examples or, in the case of plugins, author and version information.

README Improvements

Requirements

  • Codacy Badge

Sections

  • About
  • Features
  • Contributing
  • Branches
  • Licensing

Documentation

It would be nice to properly document PyOS and keep it updated, maybe in the GitHub wiki.

Updater cannot handle three point version numbers

Result when attempting to use 1.2.1 as a version number:

File "PyOS\internal\update\runscript.py", line 29, in app
if (repr(float(internal.extra.notes.ver)) >= repr(float(ver))):
ValueError: invalid literal for float(): 1.2.1

This occurs when the script tries to work out if your version is older than the latest GitHub tag.

Sanitize Input

For:

  • Calculator floats
  • File names
  • URLs (?)

Note that whilst command injection is not possible, you can crash the application.

Program Suggestions?

Any suggestions for programs or features to add to PyOS?

If you like, feel free to open a pull request with your feature, or just comment it here.

Plugin support

It would be good to have plugin support (an API and a mechanism for importing it) for custom commands or to edit existing commands.

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.