PySpark-Column-Selectors 0.1.3__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.
Files changed (41) hide show
  1. pyspark_column_selectors-0.1.3/.Rhistory +0 -0
  2. pyspark_column_selectors-0.1.3/.editorconfig +37 -0
  3. pyspark_column_selectors-0.1.3/.gitattributes +2 -0
  4. pyspark_column_selectors-0.1.3/.github/ISSUE_TEMPLATE/bug_report.yml +61 -0
  5. pyspark_column_selectors-0.1.3/.github/ISSUE_TEMPLATE/config.yml +1 -0
  6. pyspark_column_selectors-0.1.3/.github/ISSUE_TEMPLATE/feature_request.yml +30 -0
  7. pyspark_column_selectors-0.1.3/.github/dependabot.yml +9 -0
  8. pyspark_column_selectors-0.1.3/.github/pull_request_template.md +17 -0
  9. pyspark_column_selectors-0.1.3/.github/workflows/ci.yml +112 -0
  10. pyspark_column_selectors-0.1.3/.github/workflows/codeql.yml +32 -0
  11. pyspark_column_selectors-0.1.3/.github/workflows/publish.yml +64 -0
  12. pyspark_column_selectors-0.1.3/.github/workflows/zizmor.yml +34 -0
  13. pyspark_column_selectors-0.1.3/.gitignore +54 -0
  14. pyspark_column_selectors-0.1.3/CHANGELOG/0.1.0.md +1 -0
  15. pyspark_column_selectors-0.1.3/CHANGELOG/0.1.1.md +1 -0
  16. pyspark_column_selectors-0.1.3/CHANGELOG/0.1.2.md +1 -0
  17. pyspark_column_selectors-0.1.3/CHANGELOG/0.1.3.md +2 -0
  18. pyspark_column_selectors-0.1.3/CODE_OF_CONDUCT.md +83 -0
  19. pyspark_column_selectors-0.1.3/CONTRIBUTING.md +141 -0
  20. pyspark_column_selectors-0.1.3/LICENSE +279 -0
  21. pyspark_column_selectors-0.1.3/PKG-INFO +674 -0
  22. pyspark_column_selectors-0.1.3/README.md +654 -0
  23. pyspark_column_selectors-0.1.3/SECURITY.md +32 -0
  24. pyspark_column_selectors-0.1.3/docs/api.md +3 -0
  25. pyspark_column_selectors-0.1.3/docs/index.md +9 -0
  26. pyspark_column_selectors-0.1.3/docs/installation.md +38 -0
  27. pyspark_column_selectors-0.1.3/docs/usage.md +7 -0
  28. pyspark_column_selectors-0.1.3/justfile +109 -0
  29. pyspark_column_selectors-0.1.3/pyproject.toml +103 -0
  30. pyspark_column_selectors-0.1.3/scripts/release.py +47 -0
  31. pyspark_column_selectors-0.1.3/src/PySparkSelectors/__init__.py +240 -0
  32. pyspark_column_selectors-0.1.3/src/PySparkSelectors/__main__.py +4 -0
  33. pyspark_column_selectors-0.1.3/src/PySparkSelectors/cli.py +18 -0
  34. pyspark_column_selectors-0.1.3/src/PySparkSelectors/models.py +1564 -0
  35. pyspark_column_selectors-0.1.3/src/PySparkSelectors/py.typed +1 -0
  36. pyspark_column_selectors-0.1.3/src/PySparkSelectors/spark_overrides.py +677 -0
  37. pyspark_column_selectors-0.1.3/src/PySparkSelectors/user_functions.py +745 -0
  38. pyspark_column_selectors-0.1.3/src/PySparkSelectors/utils.py +298 -0
  39. pyspark_column_selectors-0.1.3/tests/test_PySparkSelectors.py +883 -0
  40. pyspark_column_selectors-0.1.3/uv.lock +892 -0
  41. pyspark_column_selectors-0.1.3/zensical.toml +27 -0
File without changes
@@ -0,0 +1,37 @@
1
+ # https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ end_of_line = lf
7
+ indent_style = space
8
+ indent_size = 4
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.{html,css,js,json,sh,yml,yaml}]
13
+ indent_size = 2
14
+
15
+ [*.bat]
16
+ indent_style = tab
17
+ end_of_line = crlf
18
+
19
+ [LICENSE]
20
+ insert_final_newline = false
21
+
22
+ [justfile]
23
+ indent_style = space
24
+ indent_size = 4
25
+
26
+ # Ignore binary or generated files
27
+ [*.{png,jpg,gif,ico,woff,woff2,ttf,eot,svg,pdf}]
28
+ charset = unset
29
+ end_of_line = unset
30
+ indent_style = unset
31
+ indent_size = unset
32
+ trim_trailing_whitespace = unset
33
+ insert_final_newline = unset
34
+ max_line_length = unset
35
+
36
+ [*.{diff,patch}]
37
+ trim_trailing_whitespace = false
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,61 @@
1
+ name: Bug Report
2
+ description: Something isn't working as expected.
3
+ title: "BUG: "
4
+ labels: [bug]
5
+ body:
6
+ - type: textarea
7
+ id: description
8
+ attributes:
9
+ label: Describe the bug
10
+ description: What happened? What did you expect to happen?
11
+ validations:
12
+ required: true
13
+ - type: textarea
14
+ id: steps
15
+ attributes:
16
+ label: Steps to reproduce
17
+ description: Minimal steps to trigger the bug.
18
+ placeholder: |
19
+ 1. Install with `uv pip install PySpark_Column_Selectors`
20
+ 2. Run `...`
21
+ 3. See error
22
+ validations:
23
+ required: true
24
+ - type: textarea
25
+ id: expected
26
+ attributes:
27
+ label: Expected behavior
28
+ validations:
29
+ required: true
30
+ - type: input
31
+ id: version
32
+ attributes:
33
+ label: "PySparkSelectors version"
34
+ placeholder: "0.1.0"
35
+ validations:
36
+ required: true
37
+ - type: input
38
+ id: python-version
39
+ attributes:
40
+ label: Python version
41
+ placeholder: "3.13"
42
+ validations:
43
+ required: true
44
+ - type: dropdown
45
+ id: os
46
+ attributes:
47
+ label: Operating system
48
+ options:
49
+ - macOS
50
+ - Linux
51
+ - Windows
52
+ - Other
53
+ validations:
54
+ required: true
55
+ - type: textarea
56
+ id: context
57
+ attributes:
58
+ label: Additional context
59
+ description: Logs, tracebacks, screenshots, or anything else that helps.
60
+ validations:
61
+ required: false
@@ -0,0 +1 @@
1
+ blank_issues_enabled: true
@@ -0,0 +1,30 @@
1
+ name: Feature Request
2
+ description: Suggest something new.
3
+ title: "FEAT: "
4
+ labels: [enhancement]
5
+ body:
6
+ - type: textarea
7
+ id: description
8
+ attributes:
9
+ label: Describe the feature
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: motivation
14
+ attributes:
15
+ label: Motivation
16
+ description: What problem does this solve? What's the use case?
17
+ validations:
18
+ required: true
19
+ - type: textarea
20
+ id: alternatives
21
+ attributes:
22
+ label: Alternatives considered
23
+ validations:
24
+ required: false
25
+ - type: textarea
26
+ id: context
27
+ attributes:
28
+ label: Additional context
29
+ validations:
30
+ required: false
@@ -0,0 +1,9 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: github-actions
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ cooldown:
8
+ default-days: 7
9
+ open-pull-requests-limit: 5
@@ -0,0 +1,17 @@
1
+ ## What
2
+
3
+ <!-- 1-3 sentences. Link the issue if there is one. -->
4
+
5
+ ## AI Provenance
6
+
7
+ <!-- Remove this section for human-authored PRs. -->
8
+
9
+ - **Tool:** <!-- Claude Code, Cursor, Copilot, Codex, etc. -->
10
+ - **Model:** <!-- Claude Opus 4.6, GPT-4o, etc. -->
11
+ - **Prompt/thread:** <!-- Paste your prompt or a link to the thread. -->
12
+
13
+ ## Checklist
14
+
15
+ - [ ] Addresses exactly one issue or feature
16
+ - [ ] New or changed behavior has test coverage
17
+ - [ ] Diff contains only changes for this task
@@ -0,0 +1,112 @@
1
+ name: CI
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
+ types:
10
+ - opened
11
+ - synchronize
12
+ - reopened
13
+ - ready_for_review
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ concurrency:
19
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20
+ cancel-in-progress: true
21
+
22
+ jobs:
23
+ lint:
24
+ name: Lint
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28
+ with:
29
+ persist-credentials: false
30
+
31
+ - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
32
+
33
+ - name: Ruff format check
34
+ run: UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run ruff format --check .
35
+
36
+ - name: Ruff lint
37
+ run: UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run ruff check .
38
+
39
+ type-check:
40
+ name: Type check
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
44
+ with:
45
+ persist-credentials: false
46
+
47
+ - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
48
+
49
+ - name: Type check with ty
50
+ run: UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run ty check .
51
+
52
+ test:
53
+ name: Test (Python ${{ matrix.python-version }})
54
+ runs-on: ubuntu-latest
55
+ strategy:
56
+ fail-fast: false
57
+ matrix:
58
+ python-version: ["3.10","3.11","3.12", "3.13", "3.14"]
59
+ steps:
60
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
61
+ with:
62
+ persist-credentials: false
63
+
64
+ - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
65
+
66
+ - name: Run tests with coverage
67
+ run: UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run --python=${{ matrix.python-version }} coverage run -m pytest
68
+
69
+ - name: Upload coverage data
70
+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
71
+ with:
72
+ name: coverage-${{ matrix.python-version }}
73
+ path: .coverage.*
74
+ include-hidden-files: true
75
+
76
+ coverage:
77
+ name: Coverage
78
+ needs: test
79
+ runs-on: ubuntu-latest
80
+ steps:
81
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
82
+ with:
83
+ persist-credentials: false
84
+
85
+ - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
86
+
87
+ - name: Download coverage data
88
+ uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
89
+ with:
90
+ pattern: coverage-*
91
+ merge-multiple: true
92
+
93
+ - name: Combine coverage
94
+ run: UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run coverage combine
95
+
96
+ - name: Coverage report
97
+ run: |
98
+ echo '## Coverage Report' >> $GITHUB_STEP_SUMMARY
99
+ echo '```' >> $GITHUB_STEP_SUMMARY
100
+ UV_LINK_MODE=copy UV_CONCURRENT_INSTALLS=4 uv run coverage report | tee -a $GITHUB_STEP_SUMMARY
101
+ echo '```' >> $GITHUB_STEP_SUMMARY
102
+
103
+ all-checks-pass:
104
+ name: All checks pass
105
+ if: always()
106
+ needs: [lint, type-check, test, coverage]
107
+ runs-on: ubuntu-latest
108
+ steps:
109
+ - name: Check job results
110
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
111
+ with:
112
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,32 @@
1
+ name: CodeQL
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+ schedule:
9
+ - cron: '0 6 * * 1'
10
+
11
+ permissions: {}
12
+
13
+ jobs:
14
+ analyze:
15
+ name: Analyze
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ security-events: write
19
+ steps:
20
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21
+ with:
22
+ persist-credentials: false
23
+
24
+ - name: Initialize CodeQL
25
+ uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
26
+ with:
27
+ languages: python # Add c-cpp, go, java-kotlin, or swift if needed
28
+ build-mode: none # Switch to autobuild for compiled languages
29
+ queries: security-extended
30
+
31
+ - name: Perform CodeQL Analysis
32
+ uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
@@ -0,0 +1,64 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions: {}
9
+
10
+ concurrency:
11
+ group: publish
12
+
13
+ jobs:
14
+ build:
15
+ name: Build distribution
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19
+ with:
20
+ persist-credentials: false
21
+
22
+ # Cache disabled to prevent cache-poisoning attacks on release artifacts.
23
+ - uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
24
+ with:
25
+ enable-cache: false
26
+
27
+ - name: Build
28
+ run: uv build
29
+
30
+ - name: Upload distribution
31
+ uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
32
+ with:
33
+ name: dist
34
+ path: dist/
35
+
36
+ publish:
37
+ name: Publish to PyPI
38
+ needs: build
39
+ runs-on: ubuntu-latest
40
+ permissions:
41
+ id-token: write
42
+ attestations: write
43
+ # Requires environment protection rules in GitHub Settings:
44
+ # Settings > Environments > pypi > Add required reviewers
45
+ # and restrict deployment to v* tags.
46
+ environment:
47
+ name: pypi
48
+ url: https://pypi.org/p/PySpark_Column_Selectors
49
+ steps:
50
+ - name: Download distribution
51
+ uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
52
+ with:
53
+ name: dist
54
+ path: dist/
55
+
56
+ - name: Attest build provenance
57
+ uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
58
+ with:
59
+ subject-path: "dist/*"
60
+
61
+ - name: Publish to PyPI
62
+ uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
63
+
64
+
@@ -0,0 +1,34 @@
1
+ name: Workflow security analysis
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - ".github/workflows/**"
9
+ pull_request:
10
+ types:
11
+ - opened
12
+ - synchronize
13
+ - reopened
14
+ - ready_for_review
15
+ paths:
16
+ - ".github/workflows/**"
17
+
18
+ permissions: {}
19
+
20
+ jobs:
21
+ zizmor:
22
+ name: Run zizmor
23
+ runs-on: ubuntu-latest
24
+ permissions:
25
+ security-events: write
26
+ steps:
27
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28
+ with:
29
+ persist-credentials: false
30
+
31
+ - name: Run zizmor
32
+ uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0
33
+ with:
34
+ inputs: ./.github/
@@ -0,0 +1,54 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ build/
11
+ dist/
12
+ eggs/
13
+ .eggs/
14
+ *.egg-info/
15
+ *.egg
16
+ MANIFEST
17
+
18
+ # Unit test / coverage reports
19
+ htmlcov/
20
+ .tox/
21
+ .nox/
22
+ .coverage
23
+ .coverage.*
24
+ coverage.xml
25
+ .hypothesis/
26
+ .pytest_cache/
27
+
28
+ # Environments
29
+ .env
30
+ .envrc
31
+ .venv
32
+
33
+ # uv
34
+ # Generally recommended to include uv.lock in version control for
35
+ # reproducibility. Uncomment for libraries where you want consumers
36
+ # to resolve their own dependencies.
37
+ # uv.lock
38
+
39
+ # Ruff
40
+ .ruff_cache/
41
+
42
+ # Type checkers
43
+ .mypy_cache/
44
+ .dmypy.json
45
+ dmypy.json
46
+ .pyre/
47
+ .pytype/
48
+
49
+ # Documentation build output
50
+ site/
51
+
52
+ # IDE files
53
+ # .idea/
54
+ # .vscode/
@@ -0,0 +1 @@
1
+ First release on PyPI.
@@ -0,0 +1 @@
1
+ This should create the first publishable Pyspark_Column_Selectors package
@@ -0,0 +1 @@
1
+ This should create the first publishable Pyspark_Column_Selectors package
@@ -0,0 +1,2 @@
1
+ This should create the first publishable Pyspark_Column_Selectors package
2
+ - need this version to create the publish to pypi event.
@@ -0,0 +1,83 @@
1
+ # Contributor Covenant 3.0
2
+
3
+ ## Our Pledge
4
+
5
+ We pledge to make our community welcoming, safe, and equitable for all.
6
+
7
+ We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant.
8
+
9
+ ## Encouraged Behaviors
10
+
11
+ While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language.
12
+
13
+ With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including:
14
+
15
+ 1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
16
+ 2. Engaging **kindly and honestly** with others.
17
+ 3. Respecting **different viewpoints** and experiences.
18
+ 4. **Taking responsibility** for our actions and contributions.
19
+ 5. Gracefully giving and accepting **constructive feedback**.
20
+ 6. Committing to **repairing harm** when it occurs.
21
+ 7. Behaving in other ways that promote and sustain the **well-being of our community**.
22
+
23
+ ## Restricted Behaviors
24
+
25
+ We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct.
26
+
27
+ 1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop.
28
+ 2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a community member or group of people.
29
+ 3. **Stereotyping or discrimination.** Characterizing anyone’s personality or behavior on the basis of immutable identities or traits.
30
+ 4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community.
31
+ 5. **Violating confidentiality**. Sharing or acting on someone's personal or private information without their permission.
32
+ 6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person or group.
33
+ 7. Behaving in other ways that **threaten the well-being** of our community.
34
+
35
+ ### Other Restrictions
36
+
37
+ 1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions.
38
+ 2. **Failing to credit sources.** Not properly crediting the sources of content you contribute.
39
+ 3. **Promotional materials**. Sharing marketing or other commercial content in a way that is outside the norms of the community.
40
+ 4. **Irresponsible communication.** Failing to responsibly present content which includes, links or describes any other restricted behaviors.
41
+
42
+ ## Reporting an Issue
43
+
44
+ Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm.
45
+
46
+ When an incident does occur, it is important to report it promptly. To report a possible violation, email [Info\@TrevorMichel.com](mailto:Info@TrevorMichel.com){.email}.
47
+
48
+ Community Moderators take reports of violations seriously and will make every effort to respond in a timely manner. They will investigate all reports of code of conduct violations, reviewing messages, logs, and recordings, or interviewing witnesses and other participants. Community Moderators will keep investigation and enforcement actions as transparent as possible while prioritizing safety and confidentiality. In order to honor these values, enforcement actions are carried out in private with the involved parties, but communicating to the whole community may be part of a mutually agreed upon resolution.
49
+
50
+ ## Addressing and Repairing Harm
51
+
52
+ If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.
53
+
54
+ 1) Warning
55
+ 1) Event: A violation involving a single incident or series of incidents.
56
+ 2) Consequence: A private, written warning from the Community Moderators.
57
+ 3) Repair: Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations.
58
+ 2) Temporarily Limited Activities
59
+ 1) Event: A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation.
60
+ 2) Consequence: A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members.
61
+ 3) Repair: Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over.
62
+ 3) Temporary Suspension
63
+ 1) Event: A pattern of repeated violation which the Community Moderators have tried to address with warnings, or a single serious violation.
64
+ 2) Consequence: A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions.
65
+ 3) Repair: Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted.
66
+ 4) Permanent Ban
67
+ 1) Event: A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the Community Moderators determine there is no way to keep the community safe with this person as a member.
68
+ 2) Consequence: Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior.
69
+ 3) Repair: There is no possible repair in cases of this severity.
70
+
71
+ This enforcement ladder is intended as a guideline. It does not limit the ability of Community Managers to use their discretion and judgment, in keeping with the best interests of our community.
72
+
73
+ ## Scope
74
+
75
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public or other spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
76
+
77
+ ## Attribution
78
+
79
+ This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at <https://www.contributor-covenant.org/version/3/0/>.
80
+
81
+ Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit <https://creativecommons.org/licenses/by-sa/4.0/>
82
+
83
+ For answers to common questions about Contributor Covenant, see the FAQ at <https://www.contributor-covenant.org/faq>. Translations are provided at <https://www.contributor-covenant.org/translations>. Additional enforcement and community guideline resources can be found at <https://www.contributor-covenant.org/resources>. The enforcement ladder was inspired by the work of [Mozilla’s code of conduct team](https://github.com/mozilla/inclusion).