atcf-data-parser 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- atcf-data-parser-0.0.1/.devcontainer/devcontainer.json +8 -0
- atcf-data-parser-0.0.1/.flake8 +2 -0
- atcf-data-parser-0.0.1/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- atcf-data-parser-0.0.1/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- atcf-data-parser-0.0.1/.github/dependabot.yml +16 -0
- atcf-data-parser-0.0.1/.github/images/releasing-actions-finished.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-actions-start.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-changelog-button.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-changelog-entered.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-draft-button.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-name-release.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-name-tag.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-publish-button.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-pypi.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-release-published.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-releases-button.png +0 -0
- atcf-data-parser-0.0.1/.github/images/releasing-tag-button.png +0 -0
- atcf-data-parser-0.0.1/.github/workflows/codeql.yml +80 -0
- atcf-data-parser-0.0.1/.github/workflows/continuous-deployment.yaml +171 -0
- atcf-data-parser-0.0.1/.github/workflows/docs.yaml +78 -0
- atcf-data-parser-0.0.1/.gitignore +107 -0
- atcf-data-parser-0.0.1/.pre-commit-config.yaml +59 -0
- atcf-data-parser-0.0.1/CODE_OF_CONDUCT.md +76 -0
- atcf-data-parser-0.0.1/CONTRIBUTING.md +120 -0
- atcf-data-parser-0.0.1/LICENSE +21 -0
- atcf-data-parser-0.0.1/MANIFEST.in +5 -0
- atcf-data-parser-0.0.1/PKG-INFO +28 -0
- atcf-data-parser-0.0.1/Pipfile +43 -0
- atcf-data-parser-0.0.1/Pipfile.lock +2413 -0
- atcf-data-parser-0.0.1/README.md +1 -0
- atcf-data-parser-0.0.1/SECURITY.md +5 -0
- atcf-data-parser-0.0.1/atcf_data_parser/__init__.py +149 -0
- atcf-data-parser-0.0.1/atcf_data_parser/cli.py +39 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/PKG-INFO +28 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/SOURCES.txt +47 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/dependency_links.txt +1 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/entry_points.txt +2 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/requires.txt +6 -0
- atcf-data-parser-0.0.1/atcf_data_parser.egg-info/top_level.txt +2 -0
- atcf-data-parser-0.0.1/docs/Makefile +23 -0
- atcf-data-parser-0.0.1/docs/_static/css/custom.css +322 -0
- atcf-data-parser-0.0.1/docs/_templates/nav.html +48 -0
- atcf-data-parser-0.0.1/docs/conf.py +50 -0
- atcf-data-parser-0.0.1/docs/index.md +68 -0
- atcf-data-parser-0.0.1/setup.cfg +4 -0
- atcf-data-parser-0.0.1/setup.py +87 -0
- atcf-data-parser-0.0.1/tests/__init__.py +1 -0
- atcf-data-parser-0.0.1/tests/cassettes/test_get_dataframe.yaml +7991 -0
- atcf-data-parser-0.0.1/tests/test_get.py +12 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: Create a report to help us improve
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Describe the bug**
|
|
11
|
+
A clear and concise description of what the bug is.
|
|
12
|
+
|
|
13
|
+
**To Reproduce**
|
|
14
|
+
Steps to reproduce the behavior:
|
|
15
|
+
1. Go to '...'
|
|
16
|
+
2. Click on '....'
|
|
17
|
+
3. Scroll down to '....'
|
|
18
|
+
4. See error
|
|
19
|
+
|
|
20
|
+
**Expected behavior**
|
|
21
|
+
A clear and concise description of what you expected to happen.
|
|
22
|
+
|
|
23
|
+
**Screenshots**
|
|
24
|
+
If applicable, add screenshots to help explain your problem.
|
|
25
|
+
|
|
26
|
+
**Desktop (please complete the following information):**
|
|
27
|
+
- OS: [e.g. iOS]
|
|
28
|
+
- Browser [e.g. chrome, safari]
|
|
29
|
+
- Version [e.g. 22]
|
|
30
|
+
|
|
31
|
+
**Smartphone (please complete the following information):**
|
|
32
|
+
- Device: [e.g. iPhone6]
|
|
33
|
+
- OS: [e.g. iOS8.1]
|
|
34
|
+
- Browser [e.g. stock browser, safari]
|
|
35
|
+
- Version [e.g. 22]
|
|
36
|
+
|
|
37
|
+
**Additional context**
|
|
38
|
+
Add any other context about the problem here.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "pip"
|
|
9
|
+
directory: "/"
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "monthly"
|
|
12
|
+
|
|
13
|
+
- package-ecosystem: "github-actions"
|
|
14
|
+
directory: "/.github/workflows"
|
|
15
|
+
schedule:
|
|
16
|
+
interval: "monthly"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
|
2
|
+
# to commit it to your repository.
|
|
3
|
+
#
|
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
|
5
|
+
# or to provide custom queries or build logic.
|
|
6
|
+
#
|
|
7
|
+
# ******** NOTE ********
|
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
|
10
|
+
# supported CodeQL languages.
|
|
11
|
+
#
|
|
12
|
+
name: "CodeQL"
|
|
13
|
+
|
|
14
|
+
on:
|
|
15
|
+
pull_request:
|
|
16
|
+
# The branches below must be a subset of the branches above
|
|
17
|
+
branches: [ "main" ]
|
|
18
|
+
schedule:
|
|
19
|
+
- cron: '18 6 * * 6'
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
analyze:
|
|
23
|
+
name: Analyze
|
|
24
|
+
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
|
25
|
+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
|
26
|
+
# - https://gh.io/supported-runners-and-hardware-resources
|
|
27
|
+
# - https://gh.io/using-larger-runners
|
|
28
|
+
# Consider using larger runners for possible analysis time improvements.
|
|
29
|
+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
30
|
+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
|
|
31
|
+
permissions:
|
|
32
|
+
actions: read
|
|
33
|
+
contents: read
|
|
34
|
+
security-events: write
|
|
35
|
+
|
|
36
|
+
strategy:
|
|
37
|
+
fail-fast: false
|
|
38
|
+
matrix:
|
|
39
|
+
language: [ 'python' ]
|
|
40
|
+
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
|
|
41
|
+
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
|
|
42
|
+
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
|
43
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
|
44
|
+
|
|
45
|
+
steps:
|
|
46
|
+
- name: Checkout repository
|
|
47
|
+
uses: actions/checkout@v4
|
|
48
|
+
|
|
49
|
+
# Initializes the CodeQL tools for scanning.
|
|
50
|
+
- name: Initialize CodeQL
|
|
51
|
+
uses: github/codeql-action/init@v2
|
|
52
|
+
with:
|
|
53
|
+
languages: ${{ matrix.language }}
|
|
54
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
55
|
+
# By default, queries listed here will override any specified in a config file.
|
|
56
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
57
|
+
|
|
58
|
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
59
|
+
# queries: security-extended,security-and-quality
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
|
|
63
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
64
|
+
- name: Autobuild
|
|
65
|
+
uses: github/codeql-action/autobuild@v2
|
|
66
|
+
|
|
67
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
|
68
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
69
|
+
|
|
70
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
|
71
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
|
72
|
+
|
|
73
|
+
# - run: |
|
|
74
|
+
# echo "Run, Build Application using script"
|
|
75
|
+
# ./location_of_script_within_repo/buildscript.sh
|
|
76
|
+
|
|
77
|
+
- name: Perform CodeQL Analysis
|
|
78
|
+
uses: github/codeql-action/analyze@v2
|
|
79
|
+
with:
|
|
80
|
+
category: "/language:${{matrix.language}}"
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
name: Continuous deployment
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
|
|
7
|
+
concurrency:
|
|
8
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
9
|
+
cancel-in-progress: true
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
lint-python:
|
|
13
|
+
name: Lint Python code
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- id: checkout
|
|
17
|
+
name: Checkout
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- id: setup-python
|
|
21
|
+
name: Setup Python
|
|
22
|
+
uses: actions/setup-python@v4
|
|
23
|
+
with:
|
|
24
|
+
python-version: '3.11'
|
|
25
|
+
cache: 'pipenv'
|
|
26
|
+
|
|
27
|
+
- id: install-pipenv
|
|
28
|
+
name: Install pipenv
|
|
29
|
+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
30
|
+
shell: bash
|
|
31
|
+
|
|
32
|
+
- id: install-python-dependencies
|
|
33
|
+
name: Install Python dependencies
|
|
34
|
+
run: pipenv sync --dev
|
|
35
|
+
shell: bash
|
|
36
|
+
|
|
37
|
+
- id: lint
|
|
38
|
+
name: Lint Python code
|
|
39
|
+
run: pipenv run flake8 ./ --verbose
|
|
40
|
+
shell: bash
|
|
41
|
+
|
|
42
|
+
mypy-python:
|
|
43
|
+
name: Static-types check
|
|
44
|
+
runs-on: ubuntu-latest
|
|
45
|
+
steps:
|
|
46
|
+
- name: Checkout
|
|
47
|
+
uses: actions/checkout@v4
|
|
48
|
+
|
|
49
|
+
- id: setup-python
|
|
50
|
+
name: Setup Python
|
|
51
|
+
uses: actions/setup-python@v4
|
|
52
|
+
with:
|
|
53
|
+
python-version: '3.11'
|
|
54
|
+
cache: 'pipenv'
|
|
55
|
+
|
|
56
|
+
- id: install-pipenv
|
|
57
|
+
name: Install pipenv
|
|
58
|
+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
59
|
+
shell: bash
|
|
60
|
+
|
|
61
|
+
- id: install-python-dependencies
|
|
62
|
+
name: Install Python dependencies
|
|
63
|
+
run: pipenv sync --dev
|
|
64
|
+
shell: bash
|
|
65
|
+
|
|
66
|
+
- id: mypy
|
|
67
|
+
name: Run mypy
|
|
68
|
+
run: pipenv run mypy ./ --ignore-missing-imports --verbose
|
|
69
|
+
shell: bash
|
|
70
|
+
|
|
71
|
+
test-python:
|
|
72
|
+
name: Test Python code
|
|
73
|
+
runs-on: ubuntu-latest
|
|
74
|
+
strategy:
|
|
75
|
+
matrix:
|
|
76
|
+
python: ['3.9', '3.10', '3.11']
|
|
77
|
+
steps:
|
|
78
|
+
- name: Checkout
|
|
79
|
+
uses: actions/checkout@v4
|
|
80
|
+
|
|
81
|
+
- id: setup-python
|
|
82
|
+
name: Setup Python
|
|
83
|
+
uses: actions/setup-python@v4
|
|
84
|
+
with:
|
|
85
|
+
python-version: '${{ matrix.python }}'
|
|
86
|
+
cache: 'pipenv'
|
|
87
|
+
|
|
88
|
+
- id: install-pipenv
|
|
89
|
+
name: Install pipenv
|
|
90
|
+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
91
|
+
shell: bash
|
|
92
|
+
|
|
93
|
+
- id: install-python-dependencies
|
|
94
|
+
name: Install Python dependencies
|
|
95
|
+
run: pipenv sync --dev --python=${{ matrix.python }}
|
|
96
|
+
shell: bash
|
|
97
|
+
|
|
98
|
+
- id: tests
|
|
99
|
+
name: Run tests
|
|
100
|
+
run: pipenv run pytest --cov -sv
|
|
101
|
+
shell: bash
|
|
102
|
+
|
|
103
|
+
build:
|
|
104
|
+
name: Build release candidate
|
|
105
|
+
runs-on: ubuntu-latest
|
|
106
|
+
needs: [test-python]
|
|
107
|
+
steps:
|
|
108
|
+
- name: Checkout
|
|
109
|
+
uses: actions/checkout@v4
|
|
110
|
+
|
|
111
|
+
- id: setup-python
|
|
112
|
+
name: Setup Python
|
|
113
|
+
uses: actions/setup-python@v4
|
|
114
|
+
with:
|
|
115
|
+
python-version: '3.11'
|
|
116
|
+
cache: 'pipenv'
|
|
117
|
+
|
|
118
|
+
- id: install-pipenv
|
|
119
|
+
name: Install pipenv
|
|
120
|
+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
121
|
+
shell: bash
|
|
122
|
+
|
|
123
|
+
- id: install-python-dependencies
|
|
124
|
+
name: Install Python dependencies
|
|
125
|
+
run: pipenv install --dev --deploy
|
|
126
|
+
shell: bash
|
|
127
|
+
|
|
128
|
+
- id: build-source
|
|
129
|
+
name: Build source release
|
|
130
|
+
run: pipenv run python setup.py sdist
|
|
131
|
+
shell: bash
|
|
132
|
+
|
|
133
|
+
- id: build-binary
|
|
134
|
+
name: Build binary release
|
|
135
|
+
run: pipenv run python setup.py bdist_wheel
|
|
136
|
+
shell: bash
|
|
137
|
+
|
|
138
|
+
- id: check
|
|
139
|
+
name: Check release
|
|
140
|
+
run: pipenv run twine check dist/*
|
|
141
|
+
shell: bash
|
|
142
|
+
|
|
143
|
+
- id: save
|
|
144
|
+
name: Save artifact
|
|
145
|
+
uses: actions/upload-artifact@v3
|
|
146
|
+
with:
|
|
147
|
+
name: release-candidate
|
|
148
|
+
path: ./dist
|
|
149
|
+
if-no-files-found: error
|
|
150
|
+
|
|
151
|
+
release:
|
|
152
|
+
name: PyPI release
|
|
153
|
+
runs-on: ubuntu-latest
|
|
154
|
+
needs: [build]
|
|
155
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
156
|
+
steps:
|
|
157
|
+
- id: fetch
|
|
158
|
+
name: Fetch artifact
|
|
159
|
+
uses: actions/download-artifact@v3
|
|
160
|
+
with:
|
|
161
|
+
name: release-candidate
|
|
162
|
+
path: ./dist
|
|
163
|
+
|
|
164
|
+
- id: publish
|
|
165
|
+
name: Publish release
|
|
166
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
167
|
+
with:
|
|
168
|
+
user: __token__
|
|
169
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
170
|
+
verbose: true
|
|
171
|
+
verify_metadata: false
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: Documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
|
|
6
|
+
concurrency:
|
|
7
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
8
|
+
cancel-in-progress: true
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
name: Build
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- id: checkout
|
|
16
|
+
name: Checkout
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- id: setup-python
|
|
20
|
+
name: Setup Python
|
|
21
|
+
uses: actions/setup-python@v4
|
|
22
|
+
with:
|
|
23
|
+
python-version: '3.11'
|
|
24
|
+
cache: 'pipenv'
|
|
25
|
+
|
|
26
|
+
- id: install-pipenv
|
|
27
|
+
name: Install pipenv
|
|
28
|
+
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
29
|
+
shell: bash
|
|
30
|
+
|
|
31
|
+
- id: install-python-dependencies
|
|
32
|
+
name: Install Python dependencies
|
|
33
|
+
run: pipenv sync --dev
|
|
34
|
+
shell: bash
|
|
35
|
+
|
|
36
|
+
- id: build-sphinx-documentation
|
|
37
|
+
name: Build Sphinx documentation
|
|
38
|
+
run: pipenv run make html
|
|
39
|
+
shell: bash
|
|
40
|
+
working-directory: docs
|
|
41
|
+
|
|
42
|
+
- id: upload-release-candidate
|
|
43
|
+
name: Upload release candidate
|
|
44
|
+
uses: actions/upload-artifact@v3
|
|
45
|
+
with:
|
|
46
|
+
name: release-candidate
|
|
47
|
+
path: ./docs/_build/html/
|
|
48
|
+
|
|
49
|
+
deploy:
|
|
50
|
+
name: Deploy
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
needs: build
|
|
53
|
+
if: ${{ github.ref_name == 'main' }}
|
|
54
|
+
steps:
|
|
55
|
+
- name: Download release candidate
|
|
56
|
+
uses: actions/download-artifact@v3
|
|
57
|
+
with:
|
|
58
|
+
name: release-candidate
|
|
59
|
+
path: ./docs/
|
|
60
|
+
|
|
61
|
+
- id: configure-aws
|
|
62
|
+
name: Configure AWS Credentials
|
|
63
|
+
uses: aws-actions/configure-aws-credentials@v4
|
|
64
|
+
with:
|
|
65
|
+
aws-access-key-id: ${{ secrets.DOCS_AWS_ACCESS_KEY_ID }}
|
|
66
|
+
aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
|
|
67
|
+
aws-region: ${{ secrets.DOCS_AWS_REGION }}
|
|
68
|
+
|
|
69
|
+
- id: upload-to-s3
|
|
70
|
+
name: Upload documentation to Amazon S3
|
|
71
|
+
uses: datadesk/delivery-deploy-action@v1
|
|
72
|
+
with:
|
|
73
|
+
bucket: ${{ secrets.DOCS_AWS_BUCKET }}
|
|
74
|
+
base-path: ${{ secrets.DOCS_AWS_BASE_PATH }}
|
|
75
|
+
dir: ./docs/
|
|
76
|
+
should-cache: false
|
|
77
|
+
use-accelerate-endpoint: false
|
|
78
|
+
public: true
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
*.sql
|
|
2
|
+
_notebooks
|
|
3
|
+
|
|
4
|
+
# Byte-compiled / optimized / DLL files
|
|
5
|
+
__pycache__/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
*$py.class
|
|
8
|
+
|
|
9
|
+
# C extensions
|
|
10
|
+
*.so
|
|
11
|
+
|
|
12
|
+
# Distribution / packaging
|
|
13
|
+
.Python
|
|
14
|
+
build/
|
|
15
|
+
develop-eggs/
|
|
16
|
+
dist/
|
|
17
|
+
downloads/
|
|
18
|
+
eggs/
|
|
19
|
+
.eggs/
|
|
20
|
+
lib/
|
|
21
|
+
lib64/
|
|
22
|
+
parts/
|
|
23
|
+
sdist/
|
|
24
|
+
var/
|
|
25
|
+
wheels/
|
|
26
|
+
*.egg-info/
|
|
27
|
+
.installed.cfg
|
|
28
|
+
*.egg
|
|
29
|
+
MANIFEST
|
|
30
|
+
|
|
31
|
+
# PyInstaller
|
|
32
|
+
# Usually these files are written by a python script from a template
|
|
33
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
34
|
+
*.manifest
|
|
35
|
+
*.spec
|
|
36
|
+
|
|
37
|
+
# Installer logs
|
|
38
|
+
pip-log.txt
|
|
39
|
+
pip-delete-this-directory.txt
|
|
40
|
+
|
|
41
|
+
# Unit test / coverage reports
|
|
42
|
+
htmlcov/
|
|
43
|
+
.tox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
|
|
53
|
+
# Translations
|
|
54
|
+
*.mo
|
|
55
|
+
*.pot
|
|
56
|
+
|
|
57
|
+
# Django stuff:
|
|
58
|
+
*.log
|
|
59
|
+
local_settings.py
|
|
60
|
+
db.sqlite3
|
|
61
|
+
|
|
62
|
+
# Flask stuff:
|
|
63
|
+
instance/
|
|
64
|
+
.webassets-cache
|
|
65
|
+
|
|
66
|
+
# Scrapy stuff:
|
|
67
|
+
.scrapy
|
|
68
|
+
|
|
69
|
+
# Sphinx documentation
|
|
70
|
+
docs/_build/
|
|
71
|
+
|
|
72
|
+
# PyBuilder
|
|
73
|
+
target/
|
|
74
|
+
|
|
75
|
+
# Jupyter Notebook
|
|
76
|
+
.ipynb_checkpoints
|
|
77
|
+
|
|
78
|
+
# pyenv
|
|
79
|
+
.python-version
|
|
80
|
+
|
|
81
|
+
# celery beat schedule file
|
|
82
|
+
celerybeat-schedule
|
|
83
|
+
|
|
84
|
+
# SageMath parsed files
|
|
85
|
+
*.sage.py
|
|
86
|
+
|
|
87
|
+
# Environments
|
|
88
|
+
.env
|
|
89
|
+
.venv
|
|
90
|
+
env/
|
|
91
|
+
venv/
|
|
92
|
+
ENV/
|
|
93
|
+
env.bak/
|
|
94
|
+
venv.bak/
|
|
95
|
+
|
|
96
|
+
# Spyder project settings
|
|
97
|
+
.spyderproject
|
|
98
|
+
.spyproject
|
|
99
|
+
|
|
100
|
+
# Rope project settings
|
|
101
|
+
.ropeproject
|
|
102
|
+
|
|
103
|
+
# mkdocs documentation
|
|
104
|
+
/site
|
|
105
|
+
|
|
106
|
+
# mypy
|
|
107
|
+
.mypy_cache/
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# See https://pre-commit.com for more information
|
|
2
|
+
# See https://pre-commit.com/hooks.html for more hooks
|
|
3
|
+
repos:
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v4.5.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
- id: end-of-file-fixer
|
|
9
|
+
- id: check-yaml
|
|
10
|
+
- id: check-added-large-files
|
|
11
|
+
args:
|
|
12
|
+
- --maxkb=1000
|
|
13
|
+
- id: check-byte-order-marker
|
|
14
|
+
- id: check-case-conflict
|
|
15
|
+
- id: check-json
|
|
16
|
+
- id: mixed-line-ending
|
|
17
|
+
- id: check-ast
|
|
18
|
+
- id: check-merge-conflict
|
|
19
|
+
|
|
20
|
+
- repo: https://github.com/psf/black
|
|
21
|
+
rev: 23.11.0
|
|
22
|
+
hooks:
|
|
23
|
+
- id: black
|
|
24
|
+
|
|
25
|
+
- repo: https://github.com/asottile/blacken-docs
|
|
26
|
+
rev: 1.16.0
|
|
27
|
+
hooks:
|
|
28
|
+
- id: blacken-docs
|
|
29
|
+
additional_dependencies: [black]
|
|
30
|
+
|
|
31
|
+
- repo: https://github.com/timothycrosley/isort
|
|
32
|
+
rev: 5.12.0
|
|
33
|
+
hooks:
|
|
34
|
+
- id: isort
|
|
35
|
+
args: ["--profile", "black", "--filter-files"]
|
|
36
|
+
|
|
37
|
+
- repo: https://github.com/pycqa/flake8
|
|
38
|
+
rev: 6.1.0
|
|
39
|
+
hooks:
|
|
40
|
+
- id: flake8
|
|
41
|
+
additional_dependencies:
|
|
42
|
+
- flake8-bugbear
|
|
43
|
+
- flake8-docstrings
|
|
44
|
+
- flake8-simplify
|
|
45
|
+
- pep8-naming
|
|
46
|
+
|
|
47
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
48
|
+
rev: v3.15.0
|
|
49
|
+
hooks:
|
|
50
|
+
- id: pyupgrade
|
|
51
|
+
args: [--py37-plus]
|
|
52
|
+
|
|
53
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
54
|
+
rev: v1.7.0
|
|
55
|
+
hooks:
|
|
56
|
+
- id: mypy
|
|
57
|
+
additional_dependencies:
|
|
58
|
+
- types-requests
|
|
59
|
+
- types-retry
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
|
9
|
+
level of experience, education, socio-economic status, nationality, personal
|
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
|
11
|
+
|
|
12
|
+
## Our Standards
|
|
13
|
+
|
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
|
15
|
+
include:
|
|
16
|
+
|
|
17
|
+
* Using welcoming and inclusive language
|
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
|
19
|
+
* Gracefully accepting constructive criticism
|
|
20
|
+
* Focusing on what is best for the community
|
|
21
|
+
* Showing empathy towards other community members
|
|
22
|
+
|
|
23
|
+
Examples of unacceptable behavior by participants include:
|
|
24
|
+
|
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
+
advances
|
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
+
* Public or private harassment
|
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
|
30
|
+
address, without explicit permission
|
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
+
professional setting
|
|
33
|
+
|
|
34
|
+
## Our Responsibilities
|
|
35
|
+
|
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
|
38
|
+
response to any instances of unacceptable behavior.
|
|
39
|
+
|
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
44
|
+
threatening, offensive, or harmful.
|
|
45
|
+
|
|
46
|
+
## Scope
|
|
47
|
+
|
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
|
49
|
+
when an individual is representing the project or its community. Examples of
|
|
50
|
+
representing a project or community include using an official project e-mail
|
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
|
53
|
+
further defined and clarified by project maintainers.
|
|
54
|
+
|
|
55
|
+
## Enforcement
|
|
56
|
+
|
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
58
|
+
reported by contacting the project team at datadesk@latimes.com. All
|
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
|
63
|
+
|
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
|
66
|
+
members of the project's leadership.
|
|
67
|
+
|
|
68
|
+
## Attribution
|
|
69
|
+
|
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
|
72
|
+
|
|
73
|
+
[homepage]: https://www.contributor-covenant.org
|
|
74
|
+
|
|
75
|
+
For answers to common questions about this code of conduct, see
|
|
76
|
+
https://www.contributor-covenant.org/faq
|