This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker compose for external services, assuming main ckan services are run | |
# outside of Docker | |
version: "3" | |
volumes: | |
pg_data: | |
services: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Test Azure Multipart Uploads | |
""" | |
import base64 | |
import logging | |
import os | |
from itertools import count | |
from typing import BinaryIO, Generator, Tuple | |
import click | |
from azure.core.exceptions import ResourceNotFoundError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Use to generate a large CSV file for testing purposes. Will write CSV data to STDOUT | |
Usage: python make-test-csv.py 512000000 # Make a ~512mb CSV file | |
""" | |
import csv | |
import sys | |
from itertools import count | |
def make_csv_row(counter, row_width, zero_fill=8): |
OlderNewer