Skip to content

Releases: Open-Agent-Tools/basic-open-agent-tools

Release v0.4.0: Complete Advanced Data Processing Toolkit

25 Jun 23:01
9f440ae

Choose a tag to compare

🚀 Release v0.4.0: Complete Advanced Data Processing Toolkit

Major New Features

🔧 Advanced Data Processing Modules (28 Total Functions)

  • Object Serialization - Pickle/JSON serialization with safety validation (4 functions)
  • Configuration Processing - YAML/TOML/INI file handling with optional dependencies (8 functions)
  • Data Transformation - Cleaning, normalization, pivoting, field operations (8 functions)
  • Binary Processing - Binary file handling, encoding, metadata extraction (6 functions)
  • Archive Processing - ZIP/TAR creation, extraction, integrity validation (7 functions)

📊 Enhanced Infrastructure

  • 61 Total Data Tools - Complete toolkit expansion from 33 to 61 functions
  • 13 Helper Functions - Full integration with main package exports
  • 78% Test Coverage - Comprehensive testing with >90% for new modules
  • Type Safety - Full mypy compliance with proper type annotations

🏗️ Quality & Integration

  • Ruff Compliance - 100% formatting and linting standards
  • Optional Dependencies - Graceful handling of YAML/TOML dependencies
  • Error Handling - Comprehensive validation and exception management
  • Documentation - AI-readable docstrings for all functions

New Helper Functions Available

import basic_open_agent_tools as boat

# New specialized helper functions
object_tools = boat.load_data_object_tools()      # 4 functions
config_tools = boat.load_data_config_tools()      # 8 functions  
transform_tools = boat.load_data_transformation_tools()  # 8 functions
binary_tools = boat.load_data_binary_tools()      # 6 functions
archive_tools = boat.load_data_archive_tools()    # 7 functions

# Complete data toolkit
all_data_tools = boat.load_all_data_tools()       # 61 functions total

Breaking Changes

None - this release is fully backward compatible.

Dependencies

  • Maintains minimal external dependencies
  • YAML support requires pyyaml (optional)
  • TOML write support requires tomli-w (optional)
  • All core functionality works with Python stdlib only

Testing

  • 310 tests pass with 1 skip for optional dependencies
  • 78% overall test coverage (>90% for new data modules)
  • Tested on Python 3.8, 3.9, 3.10, 3.11, 3.12

Installation

pip install basic-open-agent-tools==0.4.0

# Optional dependencies for full configuration support
pip install basic-open-agent-tools[dev]

Full changelog and technical details available in the pull request.

Release v0.3.0 - Data Processing Tools

24 Jun 23:46

Choose a tag to compare

New Features

Data Processing Module 🛠️

This release introduces a comprehensive data processing toolkit with 28 functions across 4 specialized modules:

JSON Tools (5 functions)

  • Safe JSON serialization/deserialization with error handling
  • JSON validation and pretty formatting
  • JSON compression and decompression with gzip

CSV Tools (7 functions)

  • Robust CSV reading/writing with encoding detection
  • Automatic delimiter detection and validation
  • Data cleaning and structure validation
  • Flexible handling of headers and mixed field types

Data Structures (10 functions)

  • Dictionary flattening/unflattening with custom separators
  • Nested value access and manipulation
  • Deep merging with conflict resolution
  • Data structure comparison with order flexibility
  • Key extraction and renaming utilities

Validation Tools (6 functions)

  • JSON Schema-style validation
  • Required field and type checking
  • Range validation for numeric values
  • Pattern matching with regex support
  • Comprehensive validation reporting and error aggregation

Clean Release - Fresh Start

  • Complete cleanup performed: Deleted all previous releases and tags
  • Fresh build artifacts: No cached 0.2.0 references remaining
  • Version consistency: Both pyproject.toml and init.py show 0.3.0
  • Clean GitHub Actions build: Should now build correct version artifacts

This is a completely fresh v0.3.0 release after comprehensive cleanup of all version conflicts.

Statistics

  • 28 new functions for data processing
  • 164 comprehensive test cases with 91%+ coverage for new modules
  • Zero additional dependencies - built on Python stdlib only
  • Full type safety with mypy compliance
  • Agent-ready design for seamless AI tool integration

Quality Assurance

  • ✅ 100% ruff compliance (linting + formatting)
  • ✅ 100% mypy compliance (type checking)
  • ✅ All 198 tests passing with 81% overall coverage
  • ✅ Comprehensive error handling and validation
  • ✅ GPG signed commits

Integration Ready

Use helper functions for easy tool loading:

import basic_open_agent_tools as boat

# Load specific tool categories
json_tools = boat.load_data_json_tools()      # 5 JSON functions
csv_tools = boat.load_data_csv_tools()        # 7 CSV functions  
structure_tools = boat.load_data_structure_tools()  # 10 structure functions
validation_tools = boat.load_data_validation_tools()  # 6 validation functions

# Or load all data tools at once
all_data_tools = boat.load_all_data_tools()   # All 28 functions

Perfect for integration with Google ADK, LangChain, custom agents, and MCP servers.