Giter Site home page Giter Site logo

python-monorepo's Introduction

python mono repo sample

what is this?

This is a sample to implement a multi-project structure in python.
I am using poetry to manage my dependencies.

project setup

you have to install poetry 1.0.8 version

cd python-monorepo
poetry install

generate new project

cd python-monorepo/projects
poetry new {new project name}
cd {new project name}
poetry add ./../../libs/{project dependency lib module name}

project structure

.
├── README.md
├── libs
│   ├── lib-one
│   └── logger
├── poetry.lock
├── projects
│   ├── __init__.py
│   ├── project-one
│   └── project-two
└── pyproject.toml

/projects

Project code (Python modules) go here.
Each project has its own dependencies.

lib

Each lib specifies its dependencies.
Each lib has its own dependencies.

reference

https://medium.com/opendoor-labs/our-python-monorepo-d34028f2b6fa

python-monorepo's People

Contributors

ya-mori avatar

Watchers

James Cloos avatar  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.