diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7ffd47f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py}] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false diff --git a/.github/.git-pr-release b/.github/.git-pr-release new file mode 100644 index 0000000..d1f36c1 --- /dev/null +++ b/.github/.git-pr-release @@ -0,0 +1,4 @@ +Release <%= Time.now %> +<% pull_requests.each do |pr| -%> +- #<%= pr.number %> <%= pr.title %> <%= pr.mention %> +<% end -%> diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..974115c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Mameta29 @SeiyaKobayashi diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..7c74e51 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,20 @@ +--- +name: Bug Report +about: Create a bug report +title: '' +labels: 'bug' +assignees: '' +--- + + + +## πŸ› Description + + + +## πŸ” How to Reproduce + + + +## πŸ“š References + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..5744726 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,24 @@ +--- +name: Feature Request +about: Submit a feature request +title: '' +labels: ['feature request'] +assignees: '' +--- + + + +## 🌈 Overview + + + +## ❓ Motivation + + + +## 🎨 Description + + + +## πŸ“š References + diff --git a/.github/ISSUE_TEMPLATE/task.md b/.github/ISSUE_TEMPLATE/task.md new file mode 100644 index 0000000..772be00 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/task.md @@ -0,0 +1,24 @@ +--- +name: Task +about: Create a new task +title: '' +labels: ['task'] +assignees: '' +--- + + + +## πŸ“ Overview + + + +## πŸ–‹ Details + + + +## 🍭 Sub-Tasks + +- + +## πŸ“š References + diff --git a/.github/actions/.gitkeep b/.github/actions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..e57d9f0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,16 @@ + + +## 🌈 Overview + + + +## 🎯 Issues + +- + +## 🎨 Details + + + +## πŸ“š References + diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..18468e1 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,6 @@ +template: | + ## What's Changed + + $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml new file mode 100644 index 0000000..f93c4cc --- /dev/null +++ b/.github/workflows/create-release-pr.yml @@ -0,0 +1,27 @@ +name: create release prs + +on: + push: + branches: + - develop + +jobs: + create-release-pr: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3 + - name: Create a release PR + env: + GIT_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_PR_RELEASE_BRANCH_PRODUCTION: main + GIT_PR_RELEASE_BRANCH_STAGING: develop + GIT_PR_RELEASE_TEMPLATE: .github/.git-pr-release + GIT_PR_RELEASE_LABELS: release + TZ: Asia/Tokyo + run: | + gem install -N git-pr-release -v "2.2.0" + git-pr-release --no-fetch diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..228a386 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# misc +cspell.json diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5caab71 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 JPYCζ ͺ式会瀾 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README-ja.md b/README-ja.md new file mode 100644 index 0000000..bbbb123 --- /dev/null +++ b/README-ja.md @@ -0,0 +1,4 @@ +# JPYC Python SDK + +> [!IMPORTANT] +> TODO: README in Japanese diff --git a/README.md b/README.md index 4f610d1..95953c4 100644 --- a/README.md +++ b/README.md @@ -1 +1,4 @@ -# python-sdk +# JPYC Python SDK + +> [!IMPORTANT] +> TODO: README in English diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/core/.gitkeep b/src/core/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/tests/.gitkeep b/tests/.gitkeep new file mode 100644 index 0000000..e69de29