Skip to main content

Add your description here

Project description

repoyard

Usage

To run all all scripts in core in sequence, run

repoyard.core.run_all()

from within Python, or

repoyard run-core

from the terminal.

Development install instructions

Prerequisites

  • Install uv.
  • Install direnv to automatically load the project virtual environment when entering it.
    • Mac: brew install direnv
    • Linux: curl -sfL https://direnv.net/install.sh | bash

Setting up the environment

Run the following:

# In the root of the repo folder
uv sync # Installs the virtual environment at './.venv'
direnv allow # Allows the automatic running of the script './.envrc'
nbl install-hooks # Installs a git hooks that ensures that notebooks are added properly

You are now set up to develop the codebase.

Further instructions:

  • To export notebooks run nbl export.
  • To clean notebooks run nbl clean.
  • To see other available commands run just nbl.
  • To add a new dependency run uv add package-name. See the the uv documentation for more details.
  • You need to git add all 'twinned' notebooks for the commit to be validated by the git-hook. For example, if you add nbs/my-nb.ipynb, you must also add pts/my-nb.pct.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repoyard-0.1.7.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repoyard-0.1.7-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file repoyard-0.1.7.tar.gz.

File metadata

  • Download URL: repoyard-0.1.7.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for repoyard-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f5b5883b32faf3c93055f9884b74417d1a63eb48d8bd23bea4b6f0b2fc7a7d1a
MD5 c0172d2801e989e98f1ba49001c523b0
BLAKE2b-256 39c31b76c8a390fb512b3e7e4b88ecc7f07ef6dcf1e9b38866d74e4756e56fe4

See more details on using hashes here.

File details

Details for the file repoyard-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: repoyard-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for repoyard-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0225021eaeea6f558c8b5d702d80c32f6f9d9445f7277b7723704ee67d4db03a
MD5 0a1d7f1f84bb53117a6f6b236c593402
BLAKE2b-256 caa73acc82615ee04309fcd7f3131734b816342cdaa76a7e4751eedd24882f0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page