Skip to content

Commit

Permalink
chore: Remove shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 3, 2023
1 parent 1d68d33 commit 0432b7c
Show file tree
Hide file tree
Showing 64 changed files with 0 additions and 128 deletions.
2 changes: 0 additions & 2 deletions agate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


import agate.csv_py3 as csv
from agate.aggregations import *
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
Aggregations create a new value by summarizing a :class:`.Column`. For
example, :class:`.Mean`, when applied to a column containing :class:`.Number`
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/all.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Boolean

Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/any.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Boolean

Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


from agate.exceptions import UnsupportedAggregationError

Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/count.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Number
from agate.utils import default
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/deciles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.percentiles import Percentiles
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/first.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation


Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/has_nulls.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Boolean

Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/iqr.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.percentiles import Percentiles
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/mad.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.median import Median
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/max.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Date, DateTime, Number, TimeDelta
from agate.exceptions import DataTypeError
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/max_length.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from decimal import Decimal

from agate.aggregations.base import Aggregation
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/max_precision.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Number
from agate.exceptions import DataTypeError
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/mean.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.sum import Sum
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/median.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.percentiles import Percentiles
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/min.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.data_types import Date, DateTime, Number, TimeDelta
from agate.exceptions import DataTypeError
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/mode.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from collections import defaultdict

from agate.aggregations.base import Aggregation
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/percentiles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import math

from agate.aggregations.base import Aggregation
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/quartiles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.percentiles import Percentiles
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/quintiles.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.percentiles import Percentiles
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/stdev.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.variance import PopulationVariance, Variance
Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/summary.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation


Expand Down
2 changes: 0 additions & 2 deletions agate/aggregations/variance.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.base import Aggregation
from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.mean import Mean
Expand Down
2 changes: 0 additions & 2 deletions agate/columns.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains the :class:`Column` class, which defines a "vertical"
array of tabular data. Whereas :class:`.Row` instances are independent of their
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
Computations create a new value for each :class:`.Row` in a :class:`.Table`.
When used with :meth:`.Table.compute` these new values become a new column.
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


class Computation: # pragma: no cover
"""
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/change.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.has_nulls import HasNulls
from agate.computations.base import Computation
from agate.data_types import Date, DateTime, Number, TimeDelta
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/formula.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.computations.base import Computation


Expand Down
2 changes: 0 additions & 2 deletions agate/computations/percent.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


from agate.aggregations.has_nulls import HasNulls
from agate.aggregations.sum import Sum
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/percent_change.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.has_nulls import HasNulls
from agate.computations.base import Computation
from agate.data_types import Number
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/percentile_rank.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.percentiles import Percentiles
from agate.computations.rank import Rank
from agate.data_types import Number
Expand Down
2 changes: 0 additions & 2 deletions agate/computations/rank.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from decimal import Decimal
from functools import cmp_to_key

Expand Down
2 changes: 0 additions & 2 deletions agate/computations/slug.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate.aggregations.has_nulls import HasNulls
from agate.computations.base import Computation
from agate.data_types import Text
Expand Down
2 changes: 0 additions & 2 deletions agate/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains the global configuration for agate. Users should use
:meth:`get_option` and :meth:`set_option` to modify the global
Expand Down
2 changes: 0 additions & 2 deletions agate/csv_py3.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains the Python 3 replacement for :mod:`csv`.
"""
Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
Data types define how data should be imported during the creation of a
:class:`.Table`.
Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


from agate.exceptions import CastError

Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/boolean.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from decimal import Decimal

from agate.data_types.base import DEFAULT_NULL_VALUES, DataType
Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/date.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import locale
from datetime import date, datetime, time

Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/date_time.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import datetime
import locale

Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/number.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import warnings
from decimal import Decimal, InvalidOperation

Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/text.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


from agate.data_types.base import DataType

Expand Down
2 changes: 0 additions & 2 deletions agate/data_types/time_delta.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import datetime

import pytimeparse
Expand Down
2 changes: 0 additions & 2 deletions agate/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains various exceptions raised by agate.
"""
Expand Down
2 changes: 0 additions & 2 deletions agate/fixed.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains a generic parser for fixed-width files. It operates
similar to Python's built-in CSV reader.
Expand Down
2 changes: 0 additions & 2 deletions agate/mapped_sequence.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains the :class:`MappedSequence` class that forms the foundation
for agate's :class:`.Row` and :class:`.Column` as well as for named sequences of
Expand Down
2 changes: 0 additions & 2 deletions agate/rows.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains agate's :class:`Row` implementation. Rows are independent
of both the :class:`.Table` that contains them as well as the :class:`.Columns`
Expand Down
2 changes: 0 additions & 2 deletions agate/table/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
The :class:`.Table` object is the most important class in agate. Tables are
created by supplying row data, column names and subclasses of :class:`.DataType`
Expand Down
2 changes: 0 additions & 2 deletions agate/table/from_csv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import itertools
from io import StringIO

Expand Down
2 changes: 0 additions & 2 deletions agate/table/from_fixed.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate import fixed, utils


Expand Down
2 changes: 0 additions & 2 deletions agate/table/from_json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
from collections import OrderedDict
from decimal import Decimal
Expand Down
2 changes: 0 additions & 2 deletions agate/table/from_object.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

from agate import utils


Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
The :class:`.TableSet` class collects a set of related tables in a single data
structure. The most common way of creating a :class:`.TableSet` is using the
Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/from_csv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os
from collections import OrderedDict
from glob import glob
Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/from_json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
import os
from collections import OrderedDict
Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/print_structure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import sys

from agate.data_types import Text
Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/proxy_methods.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python


def bins(self, *args, **kwargs):
"""
Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/to_csv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import os


Expand Down
2 changes: 0 additions & 2 deletions agate/tableset/to_json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import json
import os
from collections import OrderedDict
Expand Down
2 changes: 0 additions & 2 deletions agate/testcase.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import unittest

import agate
Expand Down
2 changes: 0 additions & 2 deletions agate/type_tester.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import warnings
from copy import copy

Expand Down
2 changes: 0 additions & 2 deletions agate/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
This module contains a collection of utility classes and functions used in
agate.
Expand Down
2 changes: 0 additions & 2 deletions agate/warns.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

import warnings


Expand Down

0 comments on commit 0432b7c

Please sign in to comment.