Git Product home page Git Product logo

payu_hub_e2ee_card_encryption_python's Introduction

PayU Hub E2EE example

This repository is based on the implementation of a simple python implementation of PayU Hub End To End Encryption.

Installation

  • Create a virtual environment with the command

    windows

    py -3 -m venv .venv

    MacOS/Linux

    python -m venv .venv or python3 -m venv .venv

  • Activate the virtual environment:

    In Linux or Mac:

    source .venv/bin/activate

    Windows:

    .venv\scripts\activate or .venv\scripts\activate.bat or navigate to route and run activate.bat

    It should appear (venv) in the console. Whenever a new console is executed, the virtual machine has a libraries and dependencies other than those found in the normal Windows environment, this to maintain the integrity of the applications in the operating system.

    linux or mac pip install --upgrade pip or python3 -m pip install --upgrade pip windows python -m pip install --upgrade pip

  • Install dependencies

    Windows (may require elevation)

    py -3 -m pip install -r requirements.txt

    macOS/Linux

    python -m pip install -r requirements.txt or python3 -m pip install -r requirements.txt

    Linux (Debian)

    apt-get install python3-tk python3 -m pip install m-r requirements.txt

    use python3 -m pip install --upgrade pip if necessary.

Execution

  • With the virtual environment activated, run the following console command:

    uvicorn app:app --reload --port 5000

    in case you need to delete cache use

    find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf

    for root open http://127.0.0.1:5000/

    for swagger open http://127.0.0.1:5000/docs

payu_hub_e2ee_card_encryption_python's People

Contributors

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