{"id":30275217,"url":"https://github.com/sieugene/rez_intro","last_synced_at":"2025-08-16T09:14:38.301Z","repository":{"id":305270044,"uuid":"1022422419","full_name":"sieugene/rez_intro","owner":"sieugene","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-19T05:53:28.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-19T09:42:54.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sieugene.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-19T03:40:14.000Z","updated_at":"2025-07-19T05:53:31.000Z","dependencies_parsed_at":"2025-07-19T09:42:56.108Z","dependency_job_id":"49cf6ee7-7b0c-42b6-8ab0-00b5b9262fe8","html_url":"https://github.com/sieugene/rez_intro","commit_stats":null,"previous_names":["sieugene/rez_intro"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sieugene/rez_intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sieugene%2Frez_intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sieugene%2Frez_intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sieugene%2Frez_intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sieugene%2Frez_intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sieugene","download_url":"https://codeload.github.com/sieugene/rez_intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sieugene%2Frez_intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270692071,"owners_count":24629210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-16T09:14:34.359Z","updated_at":"2025-08-16T09:14:38.267Z","avatar_url":"https://github.com/sieugene.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rez Intro Project\n\n## Overview\n\nThis project demonstrates a basic structure for Python development using Rez packages. It includes two example packages: `my_package` and `my_tool`, as well as a sample integration script.\n\n## Project Structure\n\n```\npackages/\n├── my_package/\n│   ├── package.py      # Rez package definition\n│   ├── setup.py        # Optional setuptools script\n│   └── hello_world/    # Python module\n│       ├── __init__.py\n│       └── hello.py\n├── my_tool/\n│   ├── package.py\n│   └── test.py\n├── maya/\n│   ├── package.py\n│   └── ...\nscripts/\n└── main.py             # Example script for running packages\nMakefile                # Automation for build and run tasks\n```\n\n## Quick Start\n\n### 1. Build and Install Packages\n\nYou can use the Makefile for common tasks:\n\n- **Build all packages:**\n    ```bash\n    make build-all\n    ```\n- **Clean all build directories:**\n    ```bash\n    make clean\n    ```\n- **Run the main script with all packages:**\n    ```bash\n    make run\n    ```\n\n### 2. Manual Usage\n\n- **Build and install a package:**\n    ```bash\n    cd packages/my_package\n    rez-build --install\n    ```\n- **Check if the package is available:**\n    ```bash\n    rez search my_package\n    ```\n- **Activate a Rez environment with your package:**\n    ```bash\n    rez env my_package -- python\n    ```\n- **Use the Python module:**\n    ```python\n    from hello_world import hello\n    hello()\n    ```\n- **Check the package root folder:**\n    ```bash\n    rez env my_package-1.1.0 -- printenv REZ_MY_PACKAGE_ROOT\n    ```\n\n### 3. Using Multiple Packages\n\nYou can activate an environment with several packages for integration testing:\n\n- **Interactive Python session:**\n    ```bash\n    rez env my_package my_tool -- python\n    ```\n    ```python\n    import hello_world\n    hello_world.hello()  # Should print Hello World from my_package!\n    import test\n    test.hello()         # Should print Hello from my_tool\n    ```\n- **Run the main script:**\n    ```bash\n    rez env my_package my_tool -- python ./scripts/main.py\n    ```\n\n## Makefile Description\n\nThe Makefile automates common development tasks:\n\n- **build-all** — Builds all packages (`maya`, `my_package`, `my_tool`)\n- **clean** — Cleans all build directories\n- **run** — Cleans, builds, and runs the main script with the required packages\n\n**Usage examples:**\n```bash\nmake build-all   # Build all packages\nmake clean       # Clean build directories\nmake run         # Full cycle: clean, build, and run\n```\n\n## Conclusion\n\nThis project is a simple template for organizing and integrating Python packages using Rez and Makefile automation. Use it as a starting point for your own dependency management and build automation workflows.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsieugene%2Frez_intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsieugene%2Frez_intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsieugene%2Frez_intro/lists"}