Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda authored Aug 2, 2024
0 parents commit a854f17
Show file tree
Hide file tree
Showing 50 changed files with 2,315 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .binder/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
channels:
- conda-forge
dependencies:
- pyiron_base =0.8.3
29 changes: 29 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# pip install main
pip install --no-deps .
# Note: This produces build and pyiron_module_template.egg-info directories

# clean up
if [ -d "notebooks" ]; then
mv notebooks/* .
fi
if [ -d "${HOME}/pyiron_module_template" ]; then
rm -r ${HOME}/.binder \
${HOME}/.ci_support \
${HOME}/.github \
${HOME}/build \
${HOME}/docs \
${HOME}/notebooks \
${HOME}/pyiron_module_template \
${HOME}/pyiron_module_template.egg-info \
${HOME}/tests \
${HOME}/.gitattributes \
${HOME}/.gitignore \
${HOME}/.gitpod \
${HOME}/.readthedocs.yml \
${HOME}/CODE_OF_CONDUCT.md \
${HOME}/CONTRIBUTING.rst \
${HOME}/LICENSE \
${HOME}/MANIFEST.in \
${HOME}/pyproject.toml \
${HOME}/setup.py
fi
5 changes: 5 additions & 0 deletions .ci_support/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
channels:
- conda-forge
dependencies:
- pyiron_base =0.8.3

Empty file added .ci_support/exclude
Empty file.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# .coveragerc to control coverage.py
[run]
source = pyiron_module_template
omit = pyiron_module_template/_version.py
concurrency = multiprocessing
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyiron_module_template/_version.py export-subst
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a bug report to help us eliminate issues and improve pyiron_module_template
title: ''
labels: bug
assignees: ''

---

**Summary**

<!--Please provide a clear and concise description of what the bug is.-->

**pyiron Version and Platform**

<!--Please specify precisely how you installed pyiron and configured pyiron. Post your .pyiron configuration and list your pyiron version.-->

**Expected Behavior**

<!--Describe the expected behavior.-->

**Actual Behavior**

<!--Describe the actual behavior, how it differs from the expected behavior, and how this can be observed.-->

**Steps to Reproduce**

<!--Describe the steps required to (quickly) reproduce the issue.-->

**Further Information, Files, and Links**

<!--Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications-->
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Make a suggestion for a new feature or a change to pyiron_module_template
title: ''
labels: enhancement
assignees: ''

---

**Summary**

<!--Please provide a brief and concise description of the suggested feature or change-->

**Detailed Description**

<!--Please explain how you would like to see pyiron_module_template enhanced, what feature(s) you are looking for, what specific problems this will solve.-->

**Further Information, Files, and Links**

<!--Put any additional information here, attach relevant text or image files and URLs to external sites, e.g. relevant publications-->
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/bug_fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug fix
about: Submit a pull request that fixes one or more bugs
title: ''
labels: bug
assignees: ''

---

**Summary**

<!--Briefly describe the bug(s) that are eliminated by this pull request.-->

**Related Issue(s)**

<!--If this addresses an open GitHub issue for this project, please mention the issue number here, and describe the relation. Use the phrases `fixes #221` or `closes #135`, when you want an issue to be automatically closed when the pull request is merged-->

**Backward Compatibility**

<!--Please state whether any changes in the pull request will break backward compatibility for inputs, and - if yes - explain what has been changed and why-->

**Detailed Description**

<!--Provide any relevant details about how the fixed bug can be reproduced, how the changes are implemented, how correctness was verified, how other features - if any - in pyiron are affected-->
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/new_feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: New Feature
about: Submit a pull request that adds new Features (complete files) to pyiron
title: ''
labels: enhancement
assignees: ''

---

**Summary**

<!--Briefly describe the new feature(s) included in this pull request.-->

**Related Issue(s)**

<!--If this addresses an open GitHub issue for this project, please mention the issue number here, and describe the relation. Use the phrases `fixes #221` or `closes #135`, when you want an issue to be automatically closed when the pull request is merged-->

**Backward Compatibility**

<!--Please state whether any changes in the pull request will break backward compatibility for inputs, and - if yes - explain what has been changed and why-->

**Implementation Notes**

<!--Provide any relevant details about how the new feature(s) are implemented, how correctness was verified, how other features - if any - in pyiron are affected-->
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: monday
open-pull-requests-limit: 10
58 changes: 58 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 14

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 14

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels: []

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels: []

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Set to true to ignore issues with an assignee (defaults to false)
exemptAssignees: false

# Label to use when marking as stale
staleLabel: stale

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
# closeComment: >
# Your comment here.

# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
only: pulls

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
# pulls:
# daysUntilStale: 30
# markComment: >
# This pull request has been automatically marked as stale because it has not had
# recent activity. It will be closed if no further activity occurs. Thank you
# for your contributions.

# issues:
# exemptLabels:
# - confirmed
12 changes: 12 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This runs cron jobs daily

name: Daily

on:
schedule:
- cron: '0 23 * * *'

jobs:
codeql:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/dependabot-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: UpdateDependabotPR

on:
pull_request_target:
branches: [ main ]

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/pr-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This runs jobs which pyiron modules should run when a PR is labeled

name: PR labeled

on:
pull_request:
types: [labeled]

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/pr-target-opened.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This runs jobs which pyiron modules should run when a PR target is opened

name: PR opened

on:
pull_request_target:
types: [opened]

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
18 changes: 18 additions & 0 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This runs jobs which pyiron modules should run on release
# This job runs on pull requests and does not actually publish anything to pypi
# It is useful for debugging new build recipes
# To actually release, change the `on` and `publish-to-pypi` fields
name: Preview Release

on:
pull_request:
# release:
# types: [ published ]

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
with:
semantic-upper-bound: 'minor'
publish-to-pypi: false
13 changes: 13 additions & 0 deletions .github/workflows/push-pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This runs jobs which pyiron modules should run on pushes or PRs to main

name: Push-Pull

on:
push:
branches: [ main ]
pull_request:

jobs:
pyiron:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This runs cron jobs weekly

name: Weekly

on:
schedule:
- cron: '0 23 * * 2'

jobs:
codeql:
uses: pyiron/actions/.github/workflows/[email protected]
secrets: inherit
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.pyc
.DS_Store
.coverage
nohup.out
pyiron.log
.idea/
inspectionProfiles/
_build/
apidoc/
.ipynb_checkpoints/
test_times.dat
core.*
3 changes: 3 additions & 0 deletions .gitpod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
prebuilds:
pullRequestsFromForks: true
30 changes: 30 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-22.9"
jobs:
pre_build:
- pip install versioneer[toml]==0.29
- pip install . --no-deps --no-build-isolation

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Install pyiron from conda
conda:
environment: docs/environment.yml
Loading

0 comments on commit a854f17

Please sign in to comment.