An open API service indexing awesome lists of open source software.

https://github.com/oslokommune/okdata-data-exporter

AWS Lambda function for generating a list of presigned S3 URLs from a dataset ID
https://github.com/oslokommune/okdata-data-exporter

dataplatform

Last synced: 28 days ago
JSON representation

AWS Lambda function for generating a list of presigned S3 URLs from a dataset ID

Awesome Lists containing this project

README

          

# Data exporter

REST API to generate a list of presigned S3 URLs for downloading a dataset distribution.

## Setup

1. [Install Serverless Framework](https://serverless.com/framework/docs/getting-started/)
2. Install dependencies
```
make init
```

## Running tests

Tests are run using [tox](https://pypi.org/project/tox/).

```
$ make test
```

## Deploy

Deploy to both dev and prod is automatic via GitHub Actions on push to
`main`. You can alternatively deploy from local machine with: `make deploy` or
`make deploy-prod`.

## Code fromatting

Format code with

```
$ make format
```