Conversation
- Renamed the package from `pyldb` to `pybdl` across all files, including configuration, documentation, and test cases. - Updated URLs in the GitHub workflows and documentation to reflect the new package name. - Adjusted import statements in tests and source files to ensure compatibility with the new naming convention. - Enhanced overall consistency in naming throughout the codebase.
- Deleted the `pr-description.md` file, which contained a detailed overview of the access layer implementation and related changes. - This file was previously used for pull request documentation and is no longer necessary following the completion of the associated features and enhancements.
Test Results (Python 3.13)426 tests ±0 417 ✅ ±0 4s ⏱️ -1s Results for commit e82777f. ± Comparison against base commit a78e0ed. This pull request removes 6 and adds 6 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Test Results (Python 3.12)426 tests ±0 417 ✅ ±0 4s ⏱️ -1s Results for commit e82777f. ± Comparison against base commit a78e0ed. This pull request removes 6 and adds 6 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Test Results (Python 3.11)426 tests ±0 417 ✅ ±0 5s ⏱️ ±0s Results for commit e82777f. ± Comparison against base commit a78e0ed. This pull request removes 6 and adds 6 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Test Results426 tests 417 ✅ 5s ⏱️ Results for commit e82777f. ♻️ This comment has been updated with latest results. |
- Enhanced the documentation for the AggregatesAccess class by adding a code block to illustrate the example of column renaming. - This change improves clarity and usability for developers working with the aggregates API and its DataFrame conversion capabilities.
📋 Summary
This PR renames the package from
pyldbtopybdlacross the entire codebase, including package structure, imports, documentation, and configuration files. This is a comprehensive refactoring that updates all references to maintain consistency with the new naming convention while preserving all existing functionality.🎯 Purpose & Context
The package has been renamed from
pyldbtopybdlto better align with the official naming of the Local Data Bank (BDL) API. This change ensures consistency across the codebase and improves clarity for users. The refactoring maintains 100% functional compatibility—only the package name and import paths have changed.🔧 Changes Made
Package Structure
pyldb/topybdl/__init__.py)Configuration & Build
pyproject.tomlwith new package name (pyBDL)uv.lockto reflect package name changesMakefiletargets to reference new package pathDocumentation
docs/access_layer.rst- Updated all code examples and referencesdocs/api_clients.rst- Updated API client documentationdocs/main_client.rst- Updated main client examplesdocs/config.rst- Updated configuration examplesdocs/rate_limiting.rst- Updated rate limiting documentationdocs/index.rst- Updated index referencesdocs/appendix.rst- Updated appendix referencesdocs/examples.ipynbnotebook with new import statementsdocs/conf.pySphinx configurationREADME.mdwith new package nameCI/CD & Workflows
.github/workflows/pr_checks.yml- Updated paths and package references.github/workflows/release.yml- Updated PyPI package URL and paths.github/workflows/sphinx.yml- Updated documentation build pathsgit-conventional-commits.yaml)Tests
conftest.py)Code Changes
LDB→BDL,LDBConfig→BDLConfig)Files Changed: 108 files (713 insertions, 713 deletions)
✅ Testing
Automated Testing
Manual Testing Checklist
from pybdl import BDL, BDLConfigbdl = BDL(BDLConfig(api_key="test"))Test Coverage
🚨 Breaking Changes & Migration Notes
This is a breaking change for all existing users. The package name and import paths have changed.
Migration Guide
Before:
After:
Required Actions for Users
from pyldb import ...tofrom pybdl import ...LDBtoBDLandLDBConfigtoBDLConfigldbvariables tobdlfor consistency (optional)Backward Compatibility
🔍 Review Focus Areas
Critical Review Points
pyproject.tomlfor correct package name and URLsAreas Requiring Special Attention
Security & Performance
📦 Dependencies & Side Effects
Dependencies
uv.lockupdated only to reflect package name changeSide Effects
pybdlConfiguration Changes
🚀 Deployment Notes
Pre-Deployment Checklist
pybdl)Deployment Steps
pybdlnamePost-Deployment
pyldbpackage on PyPI (if applicable)Environment Considerations