<commit_before>package cloudfiles

import (
  "github.com/ncw/swift"
  "github.com/stretchr/objx"
)

var Cloudfiles swift.Connection

func New(c objx.Map) swift.Connection {
  Cloudfiles = swift.Connection{
    UserName: c.Get("cloudfiles.username").Str(),
    ApiKey:   c.Get("cloudfiles.apiKey").Str(),
    AuthUrl:  c.Get("cloudfiles.authUrl").Str(),<commit_msg>Allow for region configuration<commit_after>package cloudfiles

import (
  "github.com/ncw/swift"
  "github.com/stretchr/objx"
)

var Cloudfiles swift.Connection

func New(c objx.Map) swift.Connection {
  Cloudfiles = swift.Connection{
    UserName: c.Get("cloudfiles.username").Str(),
    ApiKey:   c.Get("cloudfiles.apiKey").Str(),
    AuthUrl:  c.Get("cloudfiles.authUrl").Str(),
    Region:   c.Get("cloudfiles.region").Str(),
{'fraction_non_alphanumeric': 0.15723270440251572, 'fraction_numerical': 0.0, 'mean_word_length': 4.414965986394558, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1969165', 'n_tokens_mistral': 274, 'n_tokens_neox': 273, 'n_words': 44}