Code Monkey home page Code Monkey logo

bread's Introduction

BREAD: Blockchain Read, Extract, Analyze, Display

For more information structure look at this example

Current Development Status

Expect rapid updates over the next few weeks.

How is this organized?

There is a root pyproject.toml file that contains the dev dependencies for the entire project.

Each project has its own pyproject.toml file that contains the dependencies for that project.

So for example, the dash dependency is only in the dashboard project's pyproject.toml file.

Each project has their own distinct configuration files, like .gitignore, to keep things separate while also letting them share common things between them.

Setup

Create new virtual environment

conda create -n "sn-mono" python=3.10   

Activate virtual environment

conda activate "sn-mono"

Install poetry

pip install poetry

Install dependencies

From root:

poetry install

This will install all the dependencies for all the projects

To add a new project

Create a new poetry project

This scaffolds the project in the correct way.

Run from root:

poetry new ./packages/<project-name>

Link the new project to the root pyproject.toml file

Then in the the root pyproject.toml file, add the new project to the packages section like so:

project-name = { path = "./packages/<project-name>", develop = true, extras = ["dev"] }}`

extras = ["dev"] is optional, but it will install the dev dependencies for that project, so for airflow we do this because we need the dev dependencies for the airflow package for IDE support.

bread's People

Contributors

ethanleifer avatar prototype0202 avatar zackgow 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.