Giter VIP home page Giter VIP logo

microservice-apis's Introduction

Python Project Template for Rye

This is a template that can be used generically for projects. As a package management tool, Rye is used.

Prerequisites

Before using this template, please ensure the following software is installed:

Rye: Package management tool. The following command allows you to install Rye:

curl -sSf https://rye-up.com/get | RYE_INSTALL_OPTION="--yes" bash
echo 'source "$HOME/.rye/env"' >> ~/.bashrc
source "$HOME/.rye/env"

The following dependencies will be automatically installed using Rye:

  • Python 3.10.x (latest)
  • Python Libraries
    • The installed libraries are listed in the requirements.lock file.

Repository Initialization

After cloning this template repository, you will need to initialize your project repository to remove the template's .git directory and start with a fresh history.

Follow these steps:

  1. Navigate to the root of your cloned repository.
  2. Remove the existing .git directory:
rm -rf .git
  1. Initialize a new Git repository:
git init
  1. Add all files to the new repository:
git add .
  1. Commit the files to start your project with a clean slate:
git commit -m "Initial commit."
  1. Now, you can add your remote repository and push your changes:
# Replace <your-repository-URL> with the URL of your new GitHub repository.
git remote add origin <your-repository-URL>
git push -u origin main

Usage

Install the required packages.

make install

To test the functionality, execute main.py.

make run_main

Execute pre-commit

make pre-commit

microservice-apis's People

Contributors

k-dash avatar

Watchers

 avatar

microservice-apis's Issues

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.