Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/holps-7/python-shopping

Python-Shopping
https://github.com/holps-7/python-shopping

online-shopping python python-3 python3 shopping-cart travis-ci

Last synced: about 2 months ago
JSON representation

Python-Shopping

Awesome Lists containing this project

README

        


![](https://img.shields.io/badge/author-Ramesh%20Sachan-brightgreen) ![](https://img.shields.io/badge/licence-MIT-green)

# Python-shopping

A simple code made to be used by shops of any kind. This python code can be used by two admin(owners) and users(consumers).
Both of them have their own modules and have many choices to go through.

### This code can be used to undestand the use of datetime library
*from datetime import datetime
now = datetime.now()
dt_tm = now.strftime("%d/%m/%Y %H:%M:%S")
print("Date of purchase: ", dt_tm[0:10])
print("Time of purchase: ", dt_tm[11:19])

### This code also shows how to print data in table form in Python 3 neatly without any api
*print('%-18s%-16i%-11i%i'%(i,stock[i],basket[i],total))

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites

You will need the following forrunning this code-
1)Python 3 installed in your system.
2)Any kind of IDE(Integrated Development Environment) that you are comfortable with, but it shall support Python else go for a suitable code editor.
OR
You can directly run the code by your Terminal Window(for macOS and Linux Operating Systems) or Command Prompt(for Windows Operating Systems)

### Installing

1)Installing Python 3:- Visit the following url for details on how to install Python 3 for various Operating systems https://realpython.com/installing-python/#step-1-download-the-python-3-installer

2)Installing IDE or Code Editor:- Visit the following url for details on how to install a suitable IDE or Code Editor https://realpython.com/python-ides-code-editors-guide/#which-python-ide-is-right-for-you


PS- I personally use Atom Editior available at https://atom.io

### Break down into end to end tests

This project is not any kind of extention of any other project

## Deployment

Simply download the .py file and run it on your IDE or Code Editor

## Contributing

Feel free to pull requests, for contributing.

## Authors

* **Ramesh Sachan (@holps-7)** - Vellore Institute of Technology
* **Gaurang Dwivedi (@Gaur025)** - Dehradun Institute of Technology

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* Gaurang Dwivedi for asking me to work on something fun together.
* Got bored on summer vacation after my first year of college, so did this project for fun.