Skip to content

Commit bdc2ba4

Browse files
author
Aaron Gonzales
committed
updated license headers in all source files
1 parent 1d02f30 commit bdc2ba4

6 files changed

Lines changed: 19 additions & 3 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017
3+
Copyright (c) 2018 Twitter, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

searchtweets/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2018 Twitter, Inc.
2+
# Licensed under the MIT License
3+
# https://opensource.org/licenses/MIT
14
from .result_stream import ResultStream, collect_results
25
from .api_utils import *
36
from .utils import *

searchtweets/api_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# -*- coding: utf-8 -*-
2+
# Copyright 2018 Twitter, Inc.
3+
# Licensed under the MIT License
4+
# https://opensource.org/licenses/MIT
25
"""
36
Module containing the various functions that are used for API calls,
47
rule generation, and related.

searchtweets/result_stream.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# -*- coding: utf-8 -*-
2+
# Copyright 2018 Twitter, Inc.
3+
# Licensed under the MIT License
4+
# https://opensource.org/licenses/MIT
25
"""
36
This module contains the request handing and actual api wrapping functionality.
47

searchtweets/utils.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"""
22
Utility functions that are used in various parts of the program.
33
"""
4+
# Copyright 2018 Twitter, Inc.
5+
# Licensed under the MIT License
6+
# https://opensource.org/licenses/MIT
47

58
from functools import reduce
69
import itertools as it
@@ -22,8 +25,9 @@
2225

2326

2427
def take(n, iterable):
25-
"""Return first n items of the iterable as a list
26-
28+
"""Return first n items of the iterable as a list.
29+
Originaly found in the Python itertools documentation.
30+
2731
Args:
2832
n (int): number of items to return
2933
iterable (iterable): the object to select

tools/search_tweets.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2017 Twitter, Inc.
2+
# Licensed under the Apache License, Version 2.0
3+
# http://www.apache.org/licenses/LICENSE-2.0
14
import os
25
import argparse
36
import json

0 commit comments

Comments
 (0)