Skip to main content

Library to learn git

Project description

easygit Upload Python Package Python application PyPI - Downloads Maintenance

Generate git syntax, commands by interacting with the terminal in English.

Documentation | Contribution Guidelines | Releases | Wiki

crop1

This repo is also meant to be a reference for learning how to create libraries in Python and use various features that Github provides like Github Actions, Projects and Releases. Well detailed notes on the same can be found here.

Installation

pip install easygit

How to use:

from easygit import Easygit
git = Easygit()
git.interactive()

Upgrade Package to latest version

pip install --upgrade easygit

Cloning repo

Note: Will likely contain changes not yet released in PyPI library.

pip install colorama wit
git clone https://github.com/Sharan-Babu/easygit.git

Versioning PyPI version

You can download specific versions of the library here.

Overview

easygit library comes with the Easygit class which has the following methods:

1) query()

Used to retrieve explanation/git syntax for given sentence.

Example Usage:

git = Easygit()
git.query("How to clone a repository using git?")

Output:

git clone <repository_web_url>

2) interactive()

Used to start interactive mode in terminal.

git = Easygit()
git.interactive()

Output:

Interactive mode:

Enter your query: 

carbon

License

MIT License

Awesome Contributors

Sharan Babu: Linkedin Logo
Rajesh Silvoj: Linkedin Logo

forthebadge made-with-python

Project details


Download files

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

Source Distribution

easygit-1.0.4.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

easygit-1.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

Supported by

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