Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Jan 7, 2022
1 parent 210cbee commit 6bf4645
Show file tree
Hide file tree
Showing 21 changed files with 5,735 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,4 @@ dmypy.json

# Pyre type checker
.pyre/
_version.py
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
"setuptools_scm[toml]>=3.4",
"setuptools_scm_git_archive",
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
fallback_version = "1999"
write_to = "sharrow/_version.py"

27 changes: 27 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[metadata]
name = sharrow
author = Cambridge Systematics
author_email = [email protected]
license = BSD-3-Clause
url = https://github.com/camsys/sharrow

[options]
packages = find:
zip_safe = False
include_package_data = True
python_requires = >=3.9
install_requires =
numpy >= 1.19
pandas >= 1.2
pyarrow >= 3.0.0
xarray >= 0.20.0
numba >= 0.53
numexpr
filelock

[isort]
profile = black
skip_gitignore = true
float_to_top = true
default_section = THIRDPARTY
known_first_party = sharrow
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env python
from setuptools import setup

setup(use_scm_version={"fallback_version": "1999"})
8 changes: 8 additions & 0 deletions sharrow/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from xarray import DataArray

from . import example_data
from ._version import version as __version__
from .digital_encoding import array_decode, array_encode
from .relationships import DataTree
from .dataset import Dataset
from .table import Table, concat_tables
Loading

0 comments on commit 6bf4645

Please sign in to comment.