Skip to main content

Python projects management toolset

Project description

ndev

Set of tools that helps to manage development lifecycle. This set contains tools for:

To install ndev run:

pipx install ndev

To update ndev run:

pipx upgrade ndev

Release management

When you have a big repository with complicated structure and you want to make release of some part of it, you can use ndev to help you with that.

Basic use case is to transfer some sources codes to antoher repository:

    ndev release \
        --origin . \
        --destination git@example.com:libs/example1.git \
        --author_name "$GITLAB_USER_NAME" \
        --author_email "$GITLAB_USER_EMAIL"

Here --origin is a path to the sources you want to release, --destination is a path to the repository where you want to release the sources.

--author_name and --author_email are optional parameters that will be used to set author of the commit in the destination repository.

After running this command, ndev will:

  1. Wipe out all the files in the destination repository
  2. Copy all the files from the origin repository to the destination repository
  3. Commit all the changes

All configuration is stored in pyproject.toml in tool.ndev section. Config sample:

[tool.ndev]
# relative path in origin repository to be a root of the release in destination repository
release-root = "releases/customer-root"

# generate and copy requirements.txt
copy-requirements = true

# generate and copy version.json
add-version-json = true

# list of files to be copied from origin to destination
copy-local = [
    { from = "example1", to = "services/example1" },
]

# list of wheels to be copied from origin dependecies to destination
copy-wheel-src = [
    # wheels sources for external use
    { from = "example2", to = "wheels/example2" },
]
# list of repositories to be copied to destination
copy-repo-src = [
    { from = "git@example.com:collction/example3.git", to = "libs/example3/cpp-src", ref = "main" },
]

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

ndev-0.2.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

ndev-0.2.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file ndev-0.2.1.tar.gz.

File metadata

  • Download URL: ndev-0.2.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ndev-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8611bd2518e56248ef08ddf5ed38d5ef15fbeb6e22ce9c9b20d2e0997fe3144c
MD5 23e3afc2d28ed55c4962f3f41dfb784b
BLAKE2b-256 3b2da9cd57620e276007db3150f278fa81600327997d83075a18b14a3b8b9578

See more details on using hashes here.

File details

Details for the file ndev-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ndev-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ndev-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc2179b73ae877b28491fbf3c26a3d55ccc8d7a2d82e95fc26a3d01b4547d9eb
MD5 3704bd93b803fef2ac2d4f69b258ae47
BLAKE2b-256 c171a1beb536723167f79ba3be74948bbc8c73539f9cc0e9103922f711181c51

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