forked from catalystneuro/dandi_s3_log_parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
93 lines (81 loc) · 1.82 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["src/dandi_s3_log_parser"]
[project]
name = "dandi_s3_log_parser"
version="0.4.0"
authors = [
{ name="Cody Baker", email="cody.c.baker.phd@gmail.com" },
]
description = "Parse S3 logs to more easily calculate usage metrics per asset."
readme = "README.md"
keywords = ["aws", "s3", "log", "download tracking"]
license = {file = "license.txt"}
requires-python = ">=3.12"
dependencies = [
"pandas",
"tqdm",
"ipinfo",
"PyYAML",
"click",
"natsort",
"dandi",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: Unix",
]
[project.scripts]
reduce_all_dandi_raw_s3_logs = "dandi_s3_log_parser._command_line_interface:_reduce_all_dandi_raw_s3_logs_cli"
bin_all_reduced_s3_logs_by_object_key = "dandi_s3_log_parser._command_line_interface:_bin_all_reduced_s3_logs_by_object_key_cli"
map_binned_s3_logs_to_dandisets = "dandi_s3_log_parser._command_line_interface:_map_binned_s3_logs_to_dandisets_cli"
[tool.black]
line-length = 120
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
\.toml
|\.yml
|\.txt
|\.sh
|\.git
|\.ini
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.ruff]
exclude = [
"*/__init__.py"
]
line-length = 120
[tool.ruff.lint]
select = ["F", "E", "I"]
ignore = [
"PTH123",
"D203",
"D212",
"T201",
"FIX002",
"TD003",
"TD002",
"S101",
"ICN001",
"INP001",
]
fixable = ["ALL"]
[tool.ruff.lint.isort]
relative-imports-order = "closest-to-furthest"
known-first-party = ["dandi_s3_log_parser"]