keboola / input-mapping
Input mapping library for downloading tables and files from Keboola Storage API with support for CSV and Parquet formats
Installs: 40 069
Dependents: 5
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 0
pkg:composer/keboola/input-mapping
Requires
- php: >=8.2
- ext-json: *
- keboola/key-generator: *@dev
- keboola/php-file-storage-utils: ^0.2
- keboola/staging-provider: *@dev
- keboola/storage-api-client: ^18.3.0
- keboola/storage-api-php-client-branch-wrapper: ^6.0
- symfony/config: ^5.4|^6.0|^7.0
- symfony/finder: ^5.4|^6.0|^7.0
- symfony/serializer: ^5.4|^6.0|^7.0
- symfony/yaml: ^5.4|^6.0|^7.0
Requires (Dev)
- brianium/paratest: ^6.11
- flow-php/filesystem: ^0.22.0
- flow-php/parquet: ^0.22.0
- flow-php/types: ^0.22.0
- keboola/coding-standard: >=14.0
- keboola/php-temp: ^2.0
- keboola/settle: *@dev
- monolog/monolog: ^3.0
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-symfony: ^1.2
- phpunit/phpunit: ^9.5
- sempro/phpunit-pretty-print: ^1.4
- symfony/dotenv: ^5.4|^6.0|^7.0
- dev-main
- 22.1.0
- 22.0.0
- 21.0.0
- 20.0.0
- 19.3.1
- 19.3.0
- 19.2.1
- 19.2.0
- 19.1.0
- 19.0.1
- 19.0.0
- 18.10.0
- 18.9.1
- 18.9.0
- 18.8.0
- 18.7.0
- 18.6.3
- 18.6.2
- 18.6.1
- 18.6.0
- 18.5.2
- 18.5.1
- 18.5.0
- 18.4.0
- 18.3.0
- 18.2.1
- 18.2.0
- 18.1.0
- 18.0.0
- 17.6.0
- 17.5.0
- 17.4.0
- 17.3.0
- 17.2.3
- 17.2.2
- 17.2.1
- 17.2.0
- 17.1.0
- 17.0.3
- 17.0.2
- 17.0.1
- 17.0.0
- 16.3.2
- 16.3.1
- 16.3.0
- 16.2.1
- 16.2.0
- 16.1.0
- 16.0.1
- 16.0.0
- 15.1.1
- 15.1.0
- 15.0.0
- dev-erik-AJDA-1087-single-job
- dev-ST-devin-1760626167-single-job-submission-optimization
- dev-devin/AJDA-1087-1760625607-consolidate-workspace-loads
- dev-devin/1760948558-query-api-client-pr-comments
- dev-AJDA-1052-ondra
- dev-miro-AJDA-1167
- dev-miro-AJDA-1167-2
- dev-erik-AJDA-594-part2
- dev-zajca-event-grid
- dev-pepa_PAT-64_podWatch
- dev-ujovlado-snowflake-size
- dev-PST-2442-ondra
- dev-pepa_k8s_deployment
- dev-roman-pst-1710
- dev-pepa_azClientNamedArgs
This package is auto-updated.
Last update: 2025-10-20 11:00:38 UTC
README
Input mapping library for Keboola Runner and Workspaces. Downloads tables and files from Keboola Storage API: tables can be exported to CSV or Parquet, files are downloaded as-is. Creates manifests and tracks incremental file state. Supports staging via Local, S3, Azure Blob Storage, and loading into Snowflake/BigQuery workspaces.
Development
Prepare local environment
Create .env.local
file from this .env
template and fill the required environment variables:
cp .env .env.local
Prepare resources
You need to provide the following environment variables:
STORAGE_API_URL
- The Keboola Storage API URL (e.g.,https://connection.keboola.com
)STORAGE_API_TOKEN
- A non-admin token with "Full Access" to Files, Components & Buckets and TrashSTORAGE_API_TOKEN_MASTER
- An admin user token from the same project (with roleadmin
)
Available composer commands
Development commands:
composer phpcs
- Check code stylecomposer phpcbf
- Automatically fix code style issuescomposer phpstan
- Run static analysis
Testing commands:
composer tests
- Run tests with PHPUnitcomposer paratests
- Run tests in parallel with Paratest
License
MIT licensed, see LICENSE file.