Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding license boilerplate #849

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions arctic/_cache.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
from datetime import datetime, timedelta

Expand Down
4 changes: 4 additions & 0 deletions arctic/_compression.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
from multiprocessing.pool import ThreadPool

Expand Down
4 changes: 4 additions & 0 deletions arctic/_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
import os

Expand Down
4 changes: 4 additions & 0 deletions arctic/_util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging

import numpy as np
Expand Down
4 changes: 4 additions & 0 deletions arctic/arctic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
import os
import re
Expand Down
4 changes: 4 additions & 0 deletions arctic/asynchronous/_workers_pool.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import abc
import logging
import uuid
Expand Down
4 changes: 4 additions & 0 deletions arctic/asynchronous/async_arctic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
import time
from collections import defaultdict
Expand Down
4 changes: 4 additions & 0 deletions arctic/asynchronous/async_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import time
import uuid

Expand Down
4 changes: 4 additions & 0 deletions arctic/auth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
from collections import namedtuple

Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/_chunker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
START = 's'
END = 'e'

Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/chunkstore.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import hashlib
import logging
from collections import defaultdict
Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/date_chunker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import pandas as pd

from arctic.date import DateRange, to_pandas_closed_closed
Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/passthrough_chunker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from pandas import DataFrame, Series

from ._chunker import Chunker
Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/tools/tools.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from itertools import groupby

import pymongo
Expand Down
4 changes: 4 additions & 0 deletions arctic/chunkstore/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
"""
Helper functions that are not 'core' to chunkstore
"""

Expand Down
4 changes: 4 additions & 0 deletions arctic/date/_daterange.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import datetime

from six import string_types
Expand Down
4 changes: 4 additions & 0 deletions arctic/date/_generalslice.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from enum import Enum


Expand Down
4 changes: 4 additions & 0 deletions arctic/date/_mktz.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import dateutil
import six
import tzlocal
Expand Down
4 changes: 4 additions & 0 deletions arctic/date/_parse.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from dateutil.parser import parse as _parse


Expand Down
4 changes: 4 additions & 0 deletions arctic/date/_util.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import calendar
import datetime
import sys
Expand Down
4 changes: 4 additions & 0 deletions arctic/decorators.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
import sys
from functools import wraps
Expand Down
4 changes: 4 additions & 0 deletions arctic/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
class ArcticException(Exception):
pass

Expand Down
4 changes: 4 additions & 0 deletions arctic/fixtures/arctic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import base64
import getpass
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/hooks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""


_resolve_mongodb_hook = lambda env: env
Expand Down
4 changes: 4 additions & 0 deletions arctic/hosts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
"""
Utilities to resolve a string to Mongo host, or a Arctic library.
"""
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/multi_index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
'''
Utility functions for multi-index dataframes. Useful for creating bi-temporal timeseries.
'''
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_copy_data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import argparse
import logging
import os
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_create_user.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import argparse
import base64
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_delete_library.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import print_function

import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_enable_sharding.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import print_function

import optparse
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_fsck.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import argparse
import logging

Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_init_library.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import print_function

import argparse
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_list_libraries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import print_function

import optparse
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/arctic_prune_versions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import print_function

import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/scripts/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from __future__ import absolute_import

import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/serialization/_serializer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
class Serializer(object):
def serialize(self, data, **kwargs):
raise NotImplementedError
Expand Down
4 changes: 4 additions & 0 deletions arctic/serialization/incremental.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import abc
import hashlib
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/serialization/numpy_arrays.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging

import numpy as np
Expand Down
4 changes: 4 additions & 0 deletions arctic/serialization/numpy_records.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import six
import logging

Expand Down
4 changes: 4 additions & 0 deletions arctic/store/_ndarray_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import hashlib
import logging
from operator import itemgetter
Expand Down
4 changes: 4 additions & 0 deletions arctic/store/_pandas_ndarray_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import ast
import logging

Expand Down
4 changes: 4 additions & 0 deletions arctic/store/_pickle_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import io
import logging
from operator import itemgetter
Expand Down
4 changes: 4 additions & 0 deletions arctic/store/_version_store_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import functools
import hashlib
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/store/audit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
"""
Handle audited data changes.
"""
import logging
Expand Down
4 changes: 4 additions & 0 deletions arctic/store/bitemporal_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from collections import namedtuple
from datetime import datetime as dt

Expand Down
4 changes: 4 additions & 0 deletions arctic/store/bson_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging

from pymongo.errors import OperationFailure
Expand Down
4 changes: 4 additions & 0 deletions arctic/store/metadata_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
from datetime import datetime as dt

Expand Down
4 changes: 4 additions & 0 deletions arctic/store/version_store.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
import logging
from datetime import datetime as dt, timedelta

Expand Down
4 changes: 4 additions & 0 deletions arctic/store/versioned_item.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Copyright (C) 2020 Man Group
For a list of authors, see README.md; for the license, see file LICENSE in project root directory.
"""
from collections import namedtuple


Expand Down
Loading