Showing preview only (3,559K chars total). Download the full file or copy to clipboard to get everything.
Repository: juancarlospaco/cpython
Branch: nim
Commit: 7c9cd23d3357
Files: 240
Total size: 3.4 MB
Directory structure:
gitextract_krlmm29s/
├── .gitattributes
├── .github/
│ ├── FUNDING.yml
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yml
│ │ └── config.yml
│ └── workflows/
│ ├── add-stars.yml
│ ├── antispamm.yml
│ ├── build.yml
│ ├── stale.yml
│ ├── welcome-new-users.yml
│ └── wiki-on-edit.yml
├── .gitignore
├── .pre-commit-config.yaml
├── LICENSE
├── README.md
├── cpython.nimble
├── docs/
│ ├── atexit.html
│ ├── base64.html
│ ├── bgl.html
│ ├── binascii.html
│ ├── binhex.html
│ ├── bl_math.html
│ ├── blf.html
│ ├── bpy_app_icons.html
│ ├── bpy_app_timers.html
│ ├── bpy_app_translations.html
│ ├── bpy_msgbus.html
│ ├── bpy_path.html
│ ├── bpy_utils.html
│ ├── bpy_utils_units.html
│ ├── builtins.html
│ ├── bz2.html
│ ├── cmath.html
│ ├── codecs.html
│ ├── codeop.html
│ ├── colorsys.html
│ ├── compileall.html
│ ├── copy.html
│ ├── crypt.html
│ ├── curses.html
│ ├── dbd.html
│ ├── decimal.html
│ ├── dis.html
│ ├── doctest.html
│ ├── ensurepip.html
│ ├── errno.html
│ ├── faulthandler.html
│ ├── fcntl.html
│ ├── filecmp.html
│ ├── fnmatch.html
│ ├── gc.html
│ ├── getopt.html
│ ├── getpass.html
│ ├── gettext.html
│ ├── glob.html
│ ├── grp.html
│ ├── gzip.html
│ ├── hashlib.html
│ ├── hmac.html
│ ├── html_entities.html
│ ├── imghdr.html
│ ├── imp.html
│ ├── importlib.html
│ ├── keyword.html
│ ├── linecache.html
│ ├── logging.html
│ ├── lzma.html
│ ├── marshal.html
│ ├── math.html
│ ├── mathutils_geometry.html
│ ├── mathutils_noise.html
│ ├── mimetypes.html
│ ├── nimdoc.out.css
│ ├── nis.html
│ ├── ntpath.html
│ ├── operator.html
│ ├── os.html
│ ├── pickle.html
│ ├── pickletools.html
│ ├── pkgutil.html
│ ├── posixpath.html
│ ├── pprint.html
│ ├── pwd.html
│ ├── py_compile.html
│ ├── quopri.html
│ ├── random.html
│ ├── re.html
│ ├── readline.html
│ ├── reprlib.html
│ ├── resource.html
│ ├── runpy.html
│ ├── secrets.html
│ ├── shutil.html
│ ├── signal.html
│ ├── site.html
│ ├── sndhdr.html
│ ├── spwd.html
│ ├── ssl.html
│ ├── statistics.html
│ ├── struct.html
│ ├── subprocess.html
│ ├── sys.html
│ ├── sysconfig.html
│ ├── syslog.html
│ ├── tabnanny.html
│ ├── tempfile.html
│ ├── termios.html
│ ├── textwrap.html
│ ├── timeit.html
│ ├── token.html
│ ├── tty.html
│ ├── turtle.html
│ ├── typing.html
│ ├── unicodedata.html
│ ├── uu.html
│ ├── uuid.html
│ ├── venv.html
│ ├── warnings.html
│ ├── webbrowser.html
│ ├── winsound.html
│ ├── zipapp.html
│ └── zlib.html
├── src/
│ └── cpython/
│ ├── atexit.nim
│ ├── base64.nim
│ ├── binascii.nim
│ ├── binhex.nim
│ ├── bisect.nim
│ ├── builtins.nim
│ ├── bz2.nim
│ ├── calendar.nim
│ ├── cmath.nim
│ ├── codecs.nim
│ ├── codeop.nim
│ ├── colorsys.nim
│ ├── compileall.nim
│ ├── copy.nim
│ ├── crypt.nim
│ ├── curses.nim
│ ├── dbd.nim
│ ├── decimal.nim
│ ├── dis.nim
│ ├── doctest.nim
│ ├── ensurepip.nim
│ ├── errno.nim
│ ├── faulthandler.nim
│ ├── fcntl.nim
│ ├── filecmp.nim
│ ├── fnmatch.nim
│ ├── gc.nim
│ ├── getopt.nim
│ ├── getpass.nim
│ ├── gettext.nim
│ ├── glob.nim
│ ├── grp.nim
│ ├── gzip.nim
│ ├── hashlib.nim
│ ├── hmac.nim
│ ├── html_entities.nim
│ ├── imghdr.nim
│ ├── imp.nim
│ ├── importlib.nim
│ ├── keyword.nim
│ ├── linecache.nim
│ ├── logging.nim
│ ├── lzma.nim
│ ├── marshal.nim
│ ├── math.nim
│ ├── mimetypes.nim
│ ├── nis.nim
│ ├── ntpath.nim
│ ├── operator.nim
│ ├── os.nim
│ ├── pickle.nim
│ ├── pickletools.nim
│ ├── pkgutil.nim
│ ├── posixpath.nim
│ ├── pprint.nim
│ ├── pwd.nim
│ ├── py_compile.nim
│ ├── quopri.nim
│ ├── random.nim
│ ├── re.nim
│ ├── readline.nim
│ ├── reprlib.nim
│ ├── resource.nim
│ ├── runpy.nim
│ ├── secrets.nim
│ ├── shutil.nim
│ ├── signal.nim
│ ├── site.nim
│ ├── sndhdr.nim
│ ├── spwd.nim
│ ├── ssl.nim
│ ├── statistics.nim
│ ├── stringprep.nim
│ ├── strings.nim
│ ├── struct.nim
│ ├── subprocess.nim
│ ├── sys.nim
│ ├── sysconfig.nim
│ ├── syslog.nim
│ ├── tabnanny.nim
│ ├── tempfile.nim
│ ├── termios.nim
│ ├── textwrap.nim
│ ├── timeit.nim
│ ├── token.nim
│ ├── tomllib.nim
│ ├── tty.nim
│ ├── turtle.nim
│ ├── typing.nim
│ ├── unicodedata.nim
│ ├── upbge/
│ │ ├── bge_render.nim
│ │ ├── bgl.nim
│ │ ├── bl_math.nim
│ │ ├── blf.nim
│ │ ├── bpy_app.nim
│ │ ├── bpy_app_icons.nim
│ │ ├── bpy_app_timers.nim
│ │ ├── bpy_app_translations.nim
│ │ ├── bpy_msgbus.nim
│ │ ├── bpy_path.nim
│ │ ├── bpy_utils.nim
│ │ ├── bpy_utils_units.nim
│ │ ├── gpu_capabilities.nim
│ │ ├── gpu_extras.nim
│ │ ├── gpu_platform.nim
│ │ ├── gpu_select.nim
│ │ ├── gpu_state.nim
│ │ ├── imbuff.nim
│ │ ├── mathutils_geometry.nim
│ │ └── mathutils_noise.nim
│ ├── uu.nim
│ ├── uuid.nim
│ ├── venv.nim
│ ├── warnings.nim
│ ├── webbrowser.nim
│ ├── winsound.nim
│ ├── zipapp.nim
│ └── zlib.nim
└── wiki_changelog_2022.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitattributes
================================================
*.* linguist-language=Python
================================================
FILE: .github/FUNDING.yml
================================================
custom: ["https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e"]
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yml
================================================
name: "BUG Report"
description: "Create a new Bug report."
title: "[bug] "
labels: ["unconfirmed"]
assignees: ["juancarlospaco"]
body:
- type: markdown
attributes:
value: |
- **Remember to :star: Star the project on GitHub!.**
- **Please provide a minimal code example that reproduces the :bug: Bug!.**
Reports with full repro code and descriptive detailed information will be fixed faster.
- [Please, keep in mind there is ZERO FUNDING for the project!, we have no sponsors, no company behind, no dev team,
:heart: Send crypto today to speed up development!](https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e)
- type: dropdown
id: architecture
attributes:
label: Architecture
description: What is your Hardware Architecture?
options:
- x86_64 (Default)
- x86_32 (32Bit)
- ARM_64 (64Bit)
- ARM_32 (32Bit)
- AVR (Arduino, ESP32)
- RISC (RISC-V)
- Others (Unkown)
validations:
required: true
- type: dropdown
id: os
attributes:
label: Operating System
description: What is your Operating System?
options:
- Linux
- Windows
- Mac OSX
- Android
- BSD
- FreeDOS
- ReactOS
- Others (Unkown)
validations:
required: true
- type: dropdown
id: disk
attributes:
label: Disk
description: What is your main Disk Storage?
options:
- SSD (Solid)
- HDD (SATA, IDE, Mechanical)
- NVME (M2, MSATA)
- Others (USB)
validations:
required: true
- type: dropdown
id: ram
attributes:
label: Memory
description: What is your total RAM Memory capacity?
options:
- 1 Gigabytes
- 2 Gigabytes
- 4 Gigabytes
- 8 Gigabytes
- 16 Gigabytes
- 32 Gigabytes
- 64 Gigabytes
- 128 Gigabytes
- 256 Gigabytes
- 512 Gigabytes
- Others (Unkown)
validations:
required: true
- type: dropdown
id: cores
attributes:
label: CPU Cores
description: What is your total CPU Cores count?
options:
- 1 CPU Cores
- 2 CPU Cores
- 4 CPU Cores
- 8 CPU Cores
- 16 CPU Cores
- 32 CPU Cores
- 64 CPU Cores
- 128 CPU Cores
- 256 CPU Cores
- 512 CPU Cores
- Others (Unkown)
validations:
required: true
- type: dropdown
id: internet
attributes:
label: Internet Connection
description: What is your Internet connection?
options:
- Optical Fiber (very fast)
- DSL (aDSL, DSL, etc)
- Wifi (WLAN, Wireless)
- LAN (RJ45, Local, etc)
- Satellite (StarLink, etc)
- Mobile (4G, 3G, Edge, etc)
- Offline (No Internet)
- Others (Unkown)
validations:
required: true
- type: dropdown
id: browser
attributes:
label: Web browser
description: What is your web browser?
options:
- Chrome/Chromium
- Firefox/Firefox Fork
- Apple Safari
- Microsoft Edge
- KDE (Konqueror, Falkon, etc)
- Others (Unkown)
validations:
required: true
- type: dropdown
id: antivirus
attributes:
label: AntiVirus
description: Do you use an Anti-Virus?
options:
- "Yes"
- "No"
- Others (Unkown)
validations:
required: true
- type: dropdown
id: device
attributes:
label: Device
description: What kind of computer is it?
options:
- Desktop PC
- Server PC
- Docker/Qemu (Container)
- VirtualBox/Vagrant (Virtual Machine)
- Embedded/IOT
- Arduino/ESP32 Kit
- SmartTV/SmartDisplay
- Drone/Robot
- ASIC/FPGA/Crypto-mining hardware
- PLC/Industrial/heavy machine
- Point Of Sale/Kiosk/ATM
- Car/Self-Driving/On-Board Computer
- Electric scooter/Electric bike
- Satellite/MicroSatellite
- Military machine
- Others (Unkown)
validations:
required: true
- type: dropdown
id: country
attributes:
label: Where are you from?
options:
- Afghanistan
- Albania
- Algeria
- Andorra
- Angola
- Antigua
- Argentina
- Armenia
- Australia
- Austria
- Azerbaijan
- Bahamas
- Bahrain
- Bangladesh
- Barbados
- Belarus
- Belgium
- Belize
- Benin
- Bhutan
- Bolivia
- Bosnia Herzegovina
- Botswana
- Brazil
- Brunei
- Bulgaria
- Burkina
- Burundi
- Cambodia
- Cameroon
- Canada
- Cape Verde
- Central African Republic
- Chad
- Chile
- China
- Colombia
- Comoros
- Congo
- Congo Democratic Republic
- Costa Rica
- Croatia
- Cuba
- Curacao
- Cyprus
- Czech Republic
- Denmark
- Djibouti
- Dominica
- Dominican Republic
- East Timor
- Ecuador
- Egypt
- El Salvador
- Equatorial Guinea
- Eritrea
- Estonia
- Ethiopia
- Fiji
- Finland
- France
- Gabon
- Gambia
- Georgia
- Germany
- Ghana
- Greece
- Grenada
- Guatemala
- Guinea
- Guinea-Bissau
- Guyana
- Haiti
- Honduras
- Hungary
- Iceland
- India
- Indonesia
- Iran
- Iraq
- Ireland
- Israel
- Italy
- Ivory Coast
- Jamaica
- Japan
- Jordan
- Kazakhstan
- Kenya
- Kiribati
- Korea North
- Korea South
- Kosovo
- Kuwait
- Kyrgyzstan
- Laos
- Latvia
- Lebanon
- Lesotho
- Liberia
- Libya
- Liechtenstein
- Lithuania
- Luxembourg
- Macedonia
- Madagascar
- Malawi
- Malaysia
- Maldives
- Mali
- Malvinas Argentinas Islands
- Malta
- Marshall Islands
- Mauritania
- Mauritius
- Mexico
- Micronesia
- Moldova
- Monaco
- Mongolia
- Montenegro
- Morocco
- Mozambique
- Myanmar
- Namibia
- Nauru
- Nepal
- Netherlands
- New Zealand
- Nicaragua
- Niger
- Nigeria
- Norway
- Oman
- Pakistan
- Palau
- Palestine
- Panama
- Papua New Guinea
- Paraguay
- Peru
- Philippines
- Poland
- Portugal
- Qatar
- Romania
- Russia
- Rwanda
- St Kitts
- St Lucia
- Saint Vincent
- Samoa
- San Marino
- Sao Tome Principe
- Saudi Arabia
- Senegal
- Scotland
- Serbia
- Seychelles
- Sierra Leone
- Singapore
- Slovakia
- Slovenia
- Solomon Islands
- Somalia
- South Africa
- South Sudan
- Spain
- Sri Lanka
- Sudan
- Suriname
- Swaziland
- Sweden
- Switzerland
- Syria
- Taiwan
- Tajikistan
- Tanzania
- Thailand
- Togo
- Tonga
- Trinidad Tobago
- Tunisia
- Turkey
- Turkmenistan
- Tuvalu
- Uganda
- Ukraine
- United Arab Emirates
- United Kingdom
- United States
- Uruguay
- Uzbekistan
- Vanuatu
- Vatican City
- Venezuela
- Vietnam
- Yemen
- Zambia
- Zimbabwe
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Use DETAILED DESCRIPTIVE information about the problem
placeholder: Bug reports with full repro code and detailed information will be fixed faster.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Standard Output Logs
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
placeholder: Bug reports with full repro code and detailed information will be fixed faster.
render: shell
- type: markdown
attributes:
value: |
**Before you open a new bug...**
- 32-Bit is NOT supported.
- Windows older than Windows 10 is NOT supported.
- Mac OSX support is Experimental.
- ARM support is Experimental.
- Alpine Linux support is Experimental.
- Termux support is Experimental.
- Check if Git main branch already have a fix for your problem.
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Sponsor this Project
url: https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
about: Toss a coin to your witcher...
================================================
FILE: .github/workflows/add-stars.yml
================================================
name: Add Stars
on: [watch]
jobs:
addstars:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Add Stars to Readme
run: |
echo -e ":star: [@${{github.actor}}](https://github.com/${{github.actor}} '`date --iso-8601`')\t" >> README.md
- name: Commit changes
uses: elstudio/actions-js-build/commit@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUSH_BRANCH: 'nim'
================================================
FILE: .github/workflows/antispamm.yml
================================================
name: Pull Request AntiSpamm
on: [pull_request]
jobs:
automation:
name: Repo Automation
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft && !contains(github.event.head_commit.message, '[skip ci]') }}
steps:
# AntiSpamm for Pull Requests: Stops single-commit PR automatically, like Hacktoberfests, Bots, Trolls, etc.
- name: Must be >= 3 commits
if: ${{ github.event.pull_request.commits < 3 }}
uses: actions/github-script@v5
with:
script: core.setFailed('AntiSpamm\tMust be >= 3 commits, make more commits to unlock.')
================================================
FILE: .github/workflows/build.yml
================================================
name: Build
on: [push, pull_request]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.12"]
nim-channel: [stable, devel]
name: ${{ matrix.platform }}-${{ matrix.python-version }}-${{ matrix.nim-channel }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Set Environment Variables
uses: allenevans/set-env@v2.0.0
with:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
CMD: "nim doc -d:nimStrictDelete -d:nimPreviewFloatRoundtrip -d:nimPreviewDotLikeOps --gc:orc --index:on --project --experimental:strictEffects --experimental:strictFuncs --styleCheck:usages --styleCheck:hint --outdir:../../docs"
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# - uses: pre-commit/action@v2.0.3
# if: runner.os == 'Linux'
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-channel }}
- name: Nimble setup
run: |
nimble -y refresh
nimble -y install nimpy
- name: Build docs
shell: bash
run: |
cd src/cpython/
for i in *.nim; do
$CMD $i
done
- name: Build UPBGE docs
shell: bash
run: |
cd src/cpython/upbge/
for i in *.nim; do
$CMD $i
done
- name: Clean out
shell: bash
run: |
rm --verbose --force --recursive docs/*.idx
rm --verbose --force --recursive docs/nimcache/*.*
rm --verbose --force --recursive docs/nimcache/runnableExamples/*.*
================================================
FILE: .github/workflows/stale.yml
================================================
name: Stale Issues & PRs
on:
schedule:
- cron: '0 0 * * *'
# workflow_dispatch:
jobs:
mark_stale:
name: Mark issues and PRs as Stale
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-pr-stale: 90
days-before-pr-close: 10
days-before-issue-stale: 60
days-before-issue-close: 7
stale-issue-message: >
This issue is Stale because it has been open for 60 days with no activity.
Contribute a fix or comment on the issue, or it will be closed in 7 days.
stale-pr-message: >
This pull request is Stale because it has been open for 90 days with no activity.
Contribute more commits on the pull request, or it will be closed in 10 days.
close-issue-message: >
This issue has been marked as Stale and closed due to inactivity.
close-pr-message: >
This pull request has been marked as Stale and Closed due to inactivity for 100 days.
================================================
FILE: .github/workflows/welcome-new-users.yml
================================================
name: Welcome New Users
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
# Welcome ${{github.actor}}
- **Remember to :star: Star the project on GitHub!.**
- **Congrats for your first issue!, please provide a minimal code example that reproduces the :bug: Bug!.**
Reports with full repro code and descriptive detailed information will be fixed faster.
- Please, keep in mind there is ZERO FUNDING for the project!, we have no sponsors, no company behind, no dev team,
:heart: Send crypto today to speed up development!:
<details>
<summary title="Send Bitcoin"><kbd> Bitcoin BTC </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**BTC Bitcoin Network**
```
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
```
**Lightning Network**
```
juancarlospaco@bitrefill.me
```
</details>
<details>
<summary title="Send Ethereum and DAI"><kbd> Ethereum ETH </kbd> <kbd> Dai DAI </kbd> <kbd> Uniswap UNI </kbd> <kbd> Axie Infinity AXS </kbd> <kbd> Smooth Love Potion SLP </kbd> </summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Tether"><kbd> Tether USDT </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**TRC20 Tron Network**
```
TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
```
</details>
<details>
<summary title="Send Solana"><kbd> Solana SOL </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**SOL Solana Network**
```
FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
```
</details>
<details>
<summary title="Send Cardano"><kbd> Cardano ADA </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ADA Cardano Network**
```
DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
```
</details>
<details>
<summary title="Send Sandbox"><kbd> Sandbox SAND </kbd> <kbd> Decentraland MANA </kbd></summary>
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Algorand"><kbd> Algorand ALGO </kbd></summary>
**ALGO Algorand Network**
```
WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
```
</details>
<details>
<summary title="Send via Binance Pay"> Binance </summary>
[https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
</details>
pr-message: |
# Welcome ${{github.actor}}
- **Remember to :star: Star the project on GitHub!.**
- **Congrats for your first Pull Request!, we will review your contributions very soon, and likely merge it!.**
Pull Requests with detailed description of the changes and documentation on the code will be merged faster.
- Please, keep in mind there is ZERO FUNDING for the project!, we have no sponsors, no company behind, no dev team,
:heart: Send crypto today to speed up development!:
<details>
<summary title="Send Bitcoin"><kbd> Bitcoin BTC </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**BTC Bitcoin Network**
```
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
```
**Lightning Network**
```
juancarlospaco@bitrefill.me
```
</details>
<details>
<summary title="Send Ethereum and DAI"><kbd> Ethereum ETH </kbd> <kbd> Dai DAI </kbd> <kbd> Uniswap UNI </kbd> <kbd> Axie Infinity AXS </kbd> <kbd> Smooth Love Potion SLP </kbd> </summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Tether"><kbd> Tether USDT </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**TRC20 Tron Network**
```
TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
```
</details>
<details>
<summary title="Send Solana"><kbd> Solana SOL </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**SOL Solana Network**
```
FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
```
</details>
<details>
<summary title="Send Cardano"><kbd> Cardano ADA </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ADA Cardano Network**
```
DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
```
</details>
<details>
<summary title="Send Sandbox"><kbd> Sandbox SAND </kbd> <kbd> Decentraland MANA </kbd></summary>
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Algorand"><kbd> Algorand ALGO </kbd></summary>
**ALGO Algorand Network**
```
WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
```
</details>
<details>
<summary title="Send via Binance Pay"> Binance </summary>
[https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
</details>
================================================
FILE: .github/workflows/wiki-on-edit.yml
================================================
# Wiki automated monitoring/antispam/changelog.
name: Wiki On Edit
on: gollum # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#gollum
jobs:
wiki_on_edit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Update Wiki Changelog
run: |
echo -e "- <code>${{github.event.repository.updated_at}}</code>\t<kbd title='${{github.event.pages[0].sha}}'>SHA</kbd>\t<img src='${{github.event.sender.avatar_url}}' width=20 height=20 /> [@${{github.actor}}](https://github.com/${{github.actor}} '${{github.event.sender.login}}') ${{github.event.pages[0].action}} [${{github.event.pages[0].page_name}}](${{github.event.pages[0].html_url}} '${{github.event.pages[0].title}}')." >> wiki_changelog_`date +%Y`.md
- name: Commit changes
uses: elstudio/actions-js-build/commit@v2
with:
commitMessage: Update wiki changelog [skip ci]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUSH_BRANCH: 'nim'
================================================
FILE: .gitignore
================================================
nimcache/
nimblecache/
htmldocs/
temp.nim
temp.py
_private.nim
================================================
FILE: .pre-commit-config.yaml
================================================
# Multi-Language Static Analysis.
# Install on local: pip install pre-commit pre-commit-hooks
# Force Run: pre-commit run --all-files
# Auto-Update all hooks: pre-commit autoupdate
# Run all hooks on Push: pre-commit install --hook-type pre-push
# Run all hooks on Commit: pre-commit install
# Uninstall hooks on Push: pre-commit uninstall --hook-type pre-push
# Uninstall hooks on Commit: pre-commit uninstall
# http://pre-commit.com https://github.com/pre-commit
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 # v4.0.1 Or SemVer of latest release. Or SHA1.
hooks:
- id: fix-byte-order-marker # Check for BOM byte-order marker on files.
- id: check-case-conflict # Check conflicts for case-insensitive FS.
- id: check-merge-conflict # Check for committing Unmerged files.
- id: check-symlinks # Check for SymLinks pointing nowhere.
- id: destroyed-symlinks # Check for broken Symlinks (if any).
- id: detect-private-key # Check for committing Private Keys.
- id: forbid-new-submodules # Prevent addition of new Git SubModules.
- id: check-json # Check JSON files are valid (if any).
- id: check-executables-have-shebangs # Check if executable have SheBang.
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2021 Juan Carlos
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.
================================================
FILE: README.md
================================================
# Alternative StdLib for Nim for Python targets








# Documentation
- :heavy_check_mark: [atexit](https://docs.python.org/3.10/library/atexit) :arrow_right: https://juancarlospaco.github.io/cpython/atexit
- :heavy_check_mark: [base64](https://docs.python.org/3.10/library/base64) :arrow_right: https://juancarlospaco.github.io/cpython/base64
- :heavy_check_mark: [binascii](https://docs.python.org/3.10/library/binascii) :arrow_right: https://juancarlospaco.github.io/cpython/binascii
- :heavy_check_mark: [binhex](https://docs.python.org/3.10/library/binhex) :arrow_right: https://juancarlospaco.github.io/cpython/binhex
- :heavy_check_mark: [builtins](https://docs.python.org/3.10/library/builtins) :arrow_right: https://juancarlospaco.github.io/cpython/builtins
- :heavy_check_mark: [bz2](https://docs.python.org/3.10/library/bz2) :arrow_right: https://juancarlospaco.github.io/cpython/bz2
- :heavy_check_mark: [cmath](https://docs.python.org/3.10/library/cmath) :arrow_right: https://juancarlospaco.github.io/cpython/cmath
- :heavy_check_mark: [codecs](https://docs.python.org/3.10/library/codecs) :arrow_right: https://juancarlospaco.github.io/cpython/codecs
- :heavy_check_mark: [codeop](https://docs.python.org/3.10/library/codeop) :arrow_right: https://juancarlospaco.github.io/cpython/codeop
- :heavy_check_mark: [colorsys](https://docs.python.org/3.10/library/colorsys) :arrow_right: https://juancarlospaco.github.io/cpython/colorsys
- :heavy_check_mark: [compileall](https://docs.python.org/3.10/library/compileall) :arrow_right: https://juancarlospaco.github.io/cpython/compileall
- :heavy_check_mark: [copy](https://docs.python.org/3.10/library/copy) :arrow_right: https://juancarlospaco.github.io/cpython/copy
- :heavy_check_mark: [crypt](https://docs.python.org/3.10/library/crypt) :arrow_right: https://juancarlospaco.github.io/cpython/crypt
- :heavy_check_mark: [curses](https://docs.python.org/3.10/library/curses) :arrow_right: https://juancarlospaco.github.io/cpython/curses
- :heavy_check_mark: [decimal](https://docs.python.org/3.10/library/decimal) :arrow_right: https://juancarlospaco.github.io/cpython/decimal
- :heavy_check_mark: [dbd](https://docs.python.org/3.10/library/dbd) :arrow_right: https://juancarlospaco.github.io/cpython/dbd
- :heavy_check_mark: [dis](https://docs.python.org/3.10/library/dis) :arrow_right: https://juancarlospaco.github.io/cpython/dis
- :heavy_check_mark: [doctest](https://docs.python.org/3.10/library/doctest) :arrow_right: https://juancarlospaco.github.io/cpython/doctest
- :heavy_check_mark: [ensurepip](https://docs.python.org/3.10/library/ensurepip) :arrow_right: https://juancarlospaco.github.io/cpython/ensurepip
- :heavy_check_mark: [errno](https://docs.python.org/3.10/library/errno) :arrow_right: https://juancarlospaco.github.io/cpython/errno
- :heavy_check_mark: [faulthandler](https://docs.python.org/3.10/library/faulthandler) :arrow_right: https://juancarlospaco.github.io/cpython/faulthandler
- :heavy_check_mark: [fcntl](https://docs.python.org/3.10/library/fcntl) :arrow_right: https://juancarlospaco.github.io/cpython/fcntl
- :heavy_check_mark: [filecmp](https://docs.python.org/3.10/library/filecmp) :arrow_right: https://juancarlospaco.github.io/cpython/filecmp
- :heavy_check_mark: [fnmatch](https://docs.python.org/3.10/library/fnmatch) :arrow_right: https://juancarlospaco.github.io/cpython/fnmatch
- :heavy_check_mark: [gc](https://docs.python.org/3.10/library/gc) :arrow_right: https://juancarlospaco.github.io/cpython/gc
- :heavy_check_mark: [getopt](https://docs.python.org/3.10/library/getopt) :arrow_right: https://juancarlospaco.github.io/cpython/getopt
- :heavy_check_mark: [getpass](https://docs.python.org/3.10/library/getpass) :arrow_right: https://juancarlospaco.github.io/cpython/getpass
- :heavy_check_mark: [gettext](https://docs.python.org/3.10/library/gettext) :arrow_right: https://juancarlospaco.github.io/cpython/gettext
- :heavy_check_mark: [glob](https://docs.python.org/3.10/library/glob) :arrow_right: https://juancarlospaco.github.io/cpython/glob
- :heavy_check_mark: [grp](https://docs.python.org/3.10/library/grp) :arrow_right: https://juancarlospaco.github.io/cpython/grp
- :heavy_check_mark: [gzip](https://docs.python.org/3.10/library/gzip) :arrow_right: https://juancarlospaco.github.io/cpython/gzip
- :heavy_check_mark: [hashlib](https://docs.python.org/3.10/library/hashlib) :arrow_right: https://juancarlospaco.github.io/cpython/hashlib
- :heavy_check_mark: [hmac](https://docs.python.org/3.10/library/hmac) :arrow_right: https://juancarlospaco.github.io/cpython/hmac
- :heavy_check_mark: [html.entities](https://docs.python.org/3.10/library/html.entities) :arrow_right: https://juancarlospaco.github.io/cpython/html_entities
- :heavy_check_mark: [imghdr](https://docs.python.org/3.10/library/imghdr) :arrow_right: https://juancarlospaco.github.io/cpython/imghdr
- :heavy_check_mark: [imp](https://docs.python.org/3.10/library/imp) :arrow_right: https://juancarlospaco.github.io/cpython/imp
- :heavy_check_mark: [importlib](https://docs.python.org/3.10/library/importlib) :arrow_right: https://juancarlospaco.github.io/cpython/importlib
- :heavy_check_mark: [keyword](https://docs.python.org/3.10/library/keyword) :arrow_right: https://juancarlospaco.github.io/cpython/keyword
- :heavy_check_mark: [linecache](https://docs.python.org/3.10/library/linecache) :arrow_right: https://juancarlospaco.github.io/cpython/linecache
- :heavy_check_mark: [logging](https://docs.python.org/3.10/library/logging) :arrow_right: https://juancarlospaco.github.io/cpython/logging
- :heavy_check_mark: [lzma](https://docs.python.org/3.10/library/lzma) :arrow_right: https://juancarlospaco.github.io/cpython/lzma
- :heavy_check_mark: [marshal](https://docs.python.org/3.10/library/marshal) :arrow_right: https://juancarlospaco.github.io/cpython/marshal
- :heavy_check_mark: [math](https://docs.python.org/3.10/library/math) :arrow_right: https://juancarlospaco.github.io/cpython/math
- :heavy_check_mark: [mimetypes](https://docs.python.org/3.10/library/mimetypes) :arrow_right: https://juancarlospaco.github.io/cpython/mimetypes
- :heavy_check_mark: [ntpath](https://docs.python.org/3.10/library/ntpath) :arrow_right: https://juancarlospaco.github.io/cpython/ntpath
- :heavy_check_mark: [nis](https://docs.python.org/3.10/library/nis) :arrow_right: https://juancarlospaco.github.io/cpython/nis
- :heavy_check_mark: [operator](https://docs.python.org/3.10/library/operator) :arrow_right: https://juancarlospaco.github.io/cpython/operator
- :heavy_check_mark: [os](https://docs.python.org/3.10/library/os) :arrow_right: https://juancarlospaco.github.io/cpython/os
- :heavy_check_mark: [pickle](https://docs.python.org/3.10/library/pickle) :arrow_right: https://juancarlospaco.github.io/cpython/pickle
- :heavy_check_mark: [pickletools](https://docs.python.org/3.10/library/pickletools) :arrow_right: https://juancarlospaco.github.io/cpython/pickletools
- :heavy_check_mark: [pkgutil](https://docs.python.org/3.10/library/pkgutil) :arrow_right: https://juancarlospaco.github.io/cpython/pkgutil
- :heavy_check_mark: [posixpath](https://docs.python.org/3.10/library/posixpath) :arrow_right: https://juancarlospaco.github.io/cpython/posixpath
- :heavy_check_mark: [pprint](https://docs.python.org/3.10/library/pprint) :arrow_right: https://juancarlospaco.github.io/cpython/pprint
- :heavy_check_mark: [pwd](https://docs.python.org/3.10/library/pwd) :arrow_right: https://juancarlospaco.github.io/cpython/pwd
- :heavy_check_mark: [py_compile](https://docs.python.org/3.10/library/py_compile) :arrow_right: https://juancarlospaco.github.io/cpython/py_compile
- :heavy_check_mark: [quopri](https://docs.python.org/3.10/library/quopri) :arrow_right: https://juancarlospaco.github.io/cpython/quopri
- :heavy_check_mark: [random](https://docs.python.org/3.10/library/random) :arrow_right: https://juancarlospaco.github.io/cpython/random
- :heavy_check_mark: [re](https://docs.python.org/3.10/library/re) :arrow_right: https://juancarlospaco.github.io/cpython/re
- :heavy_check_mark: [readline](https://docs.python.org/3.10/library/readline) :arrow_right: https://juancarlospaco.github.io/cpython/readline
- :heavy_check_mark: [reprlib](https://docs.python.org/3.10/library/reprlib) :arrow_right: https://juancarlospaco.github.io/cpython/reprlib
- :heavy_check_mark: [resource](https://docs.python.org/3.10/library/resource) :arrow_right: https://juancarlospaco.github.io/cpython/resource
- :heavy_check_mark: [runpy](https://docs.python.org/3.10/library/runpy) :arrow_right: https://juancarlospaco.github.io/cpython/runpy
- :heavy_check_mark: [secrets](https://docs.python.org/3.10/library/secrets) :arrow_right: https://juancarlospaco.github.io/cpython/secrets
- :heavy_check_mark: [shutil](https://docs.python.org/3.10/library/shutil) :arrow_right: https://juancarlospaco.github.io/cpython/shutil
- :heavy_check_mark: [signal](https://docs.python.org/3.10/library/signal) :arrow_right: https://juancarlospaco.github.io/cpython/signal
- :heavy_check_mark: [site](https://docs.python.org/3.10/library/site) :arrow_right: https://juancarlospaco.github.io/cpython/site
- :heavy_check_mark: [sndhdr](https://docs.python.org/3.10/library/sndhdr) :arrow_right: https://juancarlospaco.github.io/cpython/sndhdr
- :heavy_check_mark: [spwd](https://docs.python.org/3.10/library/spwd) :arrow_right: https://juancarlospaco.github.io/cpython/spwd
- :heavy_check_mark: [statistics](https://docs.python.org/3.10/library/statistics) :arrow_right: https://juancarlospaco.github.io/cpython/statistics
- :heavy_check_mark: [struct](https://docs.python.org/3.10/library/struct) :arrow_right: https://juancarlospaco.github.io/cpython/struct
- :heavy_check_mark: [ssl](https://docs.python.org/3.10/library/ssl) :arrow_right: https://juancarlospaco.github.io/cpython/ssl
- :heavy_check_mark: [subprocess](https://docs.python.org/3.10/library/subprocess) :arrow_right: https://juancarlospaco.github.io/cpython/subprocess
- :heavy_check_mark: [sys](https://docs.python.org/3.10/library/sys) :arrow_right: https://juancarlospaco.github.io/cpython/sys
- :heavy_check_mark: [sysconfig](https://docs.python.org/3.10/library/sysconfig) :arrow_right: https://juancarlospaco.github.io/cpython/sysconfig
- :heavy_check_mark: [syslog](https://docs.python.org/3.10/library/syslog) :arrow_right: https://juancarlospaco.github.io/cpython/syslog
- :heavy_check_mark: [tabnanny](https://docs.python.org/3.10/library/tabnanny) :arrow_right: https://juancarlospaco.github.io/cpython/tabnanny
- :heavy_check_mark: [tempfile](https://docs.python.org/3.10/library/tempfile) :arrow_right: https://juancarlospaco.github.io/cpython/tempfile
- :heavy_check_mark: [termios](https://docs.python.org/3.10/library/termios) :arrow_right: https://juancarlospaco.github.io/cpython/termios
- :heavy_check_mark: [textwrap](https://docs.python.org/3.10/library/textwrap) :arrow_right: https://juancarlospaco.github.io/cpython/textwrap
- :heavy_check_mark: [timeit](https://docs.python.org/3.10/library/timeit) :arrow_right: https://juancarlospaco.github.io/cpython/timeit
- :heavy_check_mark: [token](https://docs.python.org/3.10/library/token) :arrow_right: https://juancarlospaco.github.io/cpython/token
- :heavy_check_mark: [tty](https://docs.python.org/3.10/library/tty) :arrow_right: https://juancarlospaco.github.io/cpython/tty
- :heavy_check_mark: [turtle](https://docs.python.org/3.10/library/turtle) :arrow_right: https://juancarlospaco.github.io/cpython/turtle
- :heavy_check_mark: [typing](https://docs.python.org/3.10/library/typing) :arrow_right: https://juancarlospaco.github.io/cpython/typing
- :heavy_check_mark: [unicodedata](https://docs.python.org/3.10/library/unicodedata) :arrow_right: https://juancarlospaco.github.io/cpython/unicodedata
- :heavy_check_mark: [uu](https://docs.python.org/3.10/library/uu) :arrow_right: https://juancarlospaco.github.io/cpython/uu
- :heavy_check_mark: [uuid](https://docs.python.org/3.10/library/uuid) :arrow_right: https://juancarlospaco.github.io/cpython/uuid
- :heavy_check_mark: [venv](https://docs.python.org/3.10/library/venv) :arrow_right: https://juancarlospaco.github.io/cpython/venv
- :heavy_check_mark: [warnings](https://docs.python.org/3.10/library/warnings) :arrow_right: https://juancarlospaco.github.io/cpython/warnings
- :heavy_check_mark: [webbrowser](https://docs.python.org/3.10/library/webbrowser) :arrow_right: https://juancarlospaco.github.io/cpython/webbrowser
- :heavy_check_mark: [winsound](https://docs.python.org/3.10/library/winsound) :arrow_right: https://juancarlospaco.github.io/cpython/winsound
- :heavy_check_mark: [zipapp](https://docs.python.org/3.10/library/zipapp) :arrow_right: https://juancarlospaco.github.io/cpython/zipapp
- :heavy_check_mark: [zlib](https://docs.python.org/3.10/library/zlib) :arrow_right: https://juancarlospaco.github.io/cpython/zlib
- :trollface: More supported modules soon...
- [For more documentation, use Python official documentation, works too.](https://docs.python.org/3.10/py-modindex)
# UPBGE
[UPBGE](https://upbge.org) API is supported out of the box, new [UPBGE](https://upbge.org) features will be integrated.
3D Games, GUI with OpenGL and shaders, audio, video, and more...

*Are you Gamedev?, Pull Requests welcome!.*
# Design
- 1 Dependency only.
- 1 Nim module per 1 Python module.
- Module files are <200 lines each of pure Nim code.
- [Arbitrary precision big Decimals with all the operators for Nim.](https://juancarlospaco.github.io/cpython/decimal)
- Compatible with ARC and ORC deterministic memory nanagement.
- Enforces real strong inferred static typing with UFCS for Python.
- Same API as Python StdLib, same function names, same argument names
(Names starting and ending with double underscore are not legal in Nim).
- Use the vanilla official Python StdLib that you already know by memory.
- Same module filenames as Python StdLib, same imports as Python StdLib.
- Documentation online, but also any Python documentation should work too.
- Simple code using template, easy to hack for new users, [KISS](https://en.wikipedia.org/wiki/KISS_principle) & [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself).
- Stuff deprecated/removed in Python before year 2020 will not be supported.
- We do not deprecate stuff, even if Python deprecate/remove it, it will keep working for Nim.
- Each file is completely self-contained standalone, you can copy just 1 file on your project and use it.
- If Python removes a module from StdLib you must obtain the `.py` file somehow, but the `.nim` remains.
- It does not use anything from Nim standard library, very future-proof
(uses [Nimpy](https://github.com/yglukhov/nimpy) for Python-Nim interop,
but other than that they are thin wrappers, with minimal dependency on StdLib).
- Package version == Python version.
- [Pet the turtle.](https://juancarlospaco.github.io/cpython/turtle)
# Requisites
- Python ( >`2.7` works but unsupported, >`3.5` minimal, >=`3.10` recommended ).
# Install
```
nimble install cpython
```
OR
```
nimble install https://github.com/juancarlospaco/cpython.git
```
# Doing JavaScript or Web Dev ?
- [Alternative StdLib for Nim for NodeJS/JavaScript targets, hijacks NodeJS StdLib for Nim.](https://github.com/juancarlospaco/nodejs#alternative-stdlib-for-nim-for-nodejsjavascript-targets)
## Why?
The idea comes from [the community of "Nim en Espanol" Telegram group (Spanish).](https://t.me/NimArgentina)
[](https://t.me/NimArgentina)
Also...
- Whole new StdLib becomes usable for Nim, without Nim having to spend resources.
- Showcase easy interoperability of Nim (CTypes is harder, Python is verbose, etc).
- [Arbitrary precision big Decimals for Nim.](https://juancarlospaco.github.io/cpython/decimal)
- Others do it too (Scala/Kotlin uses Java StbLib, Swift uses Objective-C StdLib, etc).
- Python does it too, Python is written in C therefore using C StdLib.
- Make others work improving libs that you can use in Nim.
- A place to pile up "Nim-ified" Python stuff.
# See also
- [**For Python Programmers**](https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers#table-of-contents)
- [Nim integration for Python PIP](https://github.com/juancarlospaco/choosenim_install#nim-integration-for-python-pip)
- [Python modules Deprecated from Python StdLib for download](https://github.com/tiran/legacylib) ([PEP594](https://www.python.org/dev/peps/pep-0594))
# 💰➡️🍕
<details>
<summary title="Send Bitcoin"><kbd> Bitcoin BTC </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**BTC Bitcoin Network**
```
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
```
**Lightning Network**
```
juancarlospaco@bitrefill.me
```
</details>
<details>
<summary title="Send Ethereum and DAI"><kbd> Ethereum ETH </kbd> <kbd> Dai DAI </kbd> <kbd> Uniswap UNI </kbd> <kbd> Axie Infinity AXS </kbd> <kbd> Smooth Love Potion SLP </kbd> <kbd> Uniswap UNI </kbd> <kbd> USDC </kbd> </summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Tether"><kbd> Tether USDT </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**TRC20 Tron Network**
```
TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
```
</details>
<details>
<summary title="Send Solana"><kbd> Solana SOL </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**SOL Solana Network**
```
FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
```
</details>
<details>
<summary title="Send Cardano"><kbd> Cardano ADA </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ADA Cardano Network**
```
DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
```
</details>
<details>
<summary title="Send Sandbox"><kbd> Sandbox SAND </kbd> <kbd> Decentraland MANA </kbd></summary>
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Algorand"><kbd> Algorand ALGO </kbd></summary>
**ALGO Algorand Network**
```
WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
```
</details>
<details>
<summary title="Send Polkadot"><kbd> Polkadot DOT </kbd></summary>
**DOT Network**
```
13GdxHQbQA1K6i7Ctf781nQkhQhoVhGgUnrjn9EvcJnYWCEd
```
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send via Binance Pay"> Binance </summary>
[https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
</details>
# Stars

:star: [@juancarlospaco](https://github.com/juancarlospaco '2022-02-15')
:star: [@aguspiza](https://github.com/aguspiza '2022-02-20')
:star: [@AndrielFR](https://github.com/AndrielFR '2022-02-27')
:star: [@S0Sbrigade8](https://github.com/S0Sbrigade8 '2022-03-15')
:star: [@aphkyle](https://github.com/aphkyle '2022-03-15')
:star: [@jhgalino](https://github.com/jhgalino '2022-04-02')
:star: [@YanMu2020](https://github.com/YanMu2020 '2022-04-04')
:star: [@matkuki](https://github.com/matkuki '2022-04-14')
:star: [@Traumatism](https://github.com/Traumatism '2022-04-21')
:star: [@foxoman](https://github.com/foxoman '2022-05-19')
:star: [@whee](https://github.com/whee '2022-05-21')
:star: [@bakarilevy](https://github.com/bakarilevy '2022-06-23')
:star: [@Ryu1845](https://github.com/Ryu1845 '2022-06-24')
:star: [@babaloveyou](https://github.com/babaloveyou '2022-07-16')
:star: [@jdbernard](https://github.com/jdbernard '2022-08-15')
:star: [@cyraxjoe](https://github.com/cyraxjoe '2022-09-04')
:star: [@zendbit](https://github.com/zendbit '2022-09-05')
:star: [@vovavili](https://github.com/vovavili '2022-09-09')
:star: [@xujin8](https://github.com/xujin8 '2022-09-18')
:star: [@Geksan](https://github.com/Geksan '2022-09-24')
:star: [@shxdow](https://github.com/shxdow '2022-10-05')
:star: [@singularperturbation](https://github.com/singularperturbation '2022-10-06')
:star: [@adokitkat](https://github.com/adokitkat '2022-10-09')
:star: [@luisacosta828](https://github.com/luisacosta828 '2022-10-15')
:star: [@ByK95](https://github.com/ByK95 '2022-11-04')
:star: [@daweedkob](https://github.com/daweedkob '2022-11-04')
:star: [@Quantum-Codes](https://github.com/Quantum-Codes '2022-11-05')
:star: [@qununc](https://github.com/qununc '2022-11-06')
:star: [@AriesFoxgirl](https://github.com/AriesFoxgirl '2022-11-06')
:star: [@Braden-Preston](https://github.com/Braden-Preston '2022-11-07')
:star: [@AriesFoxgirl](https://github.com/AriesFoxgirl '2022-11-13')
:star: [@mahmoudimus](https://github.com/mahmoudimus '2022-11-13')
:star: [@terretta](https://github.com/terretta '2022-11-26')
:star: [@AndrewGPU](https://github.com/AndrewGPU '2022-12-04')
:star: [@themorya](https://github.com/themorya '2022-12-04')
:star: [@zimitz](https://github.com/zimitz '2022-12-13')
:star: [@tommo](https://github.com/tommo '2022-12-14')
:star: [@rlipsc](https://github.com/rlipsc '2022-12-22')
:star: [@jyapayne](https://github.com/jyapayne '2022-12-22')
:star: [@barseghyanartur](https://github.com/barseghyanartur '2022-12-25')
:star: [@tiberiuichim](https://github.com/tiberiuichim '2022-12-25')
:star: [@yuchunzhou](https://github.com/yuchunzhou '2022-12-27')
:star: [@lf-araujo](https://github.com/lf-araujo '2023-01-01')
:star: [@pietroppeter](https://github.com/pietroppeter '2023-01-11')
:star: [@arkanoid87](https://github.com/arkanoid87 '2023-01-18')
:star: [@jgdevop](https://github.com/jgdevop '2023-01-18')
:star: [@onoe-serika](https://github.com/onoe-serika '2023-01-22')
:star: [@shizhaojingszj](https://github.com/shizhaojingszj '2023-01-22')
:star: [@W1M0R](https://github.com/W1M0R '2023-02-14')
:star: [@genbtc](https://github.com/genbtc '2023-02-14')
:star: [@buster-blue](https://github.com/buster-blue '2023-02-17')
:star: [@Megamegamium](https://github.com/Megamegamium '2023-02-26')
:star: [@1MarcosDev](https://github.com/1MarcosDev '2023-02-26')
:star: [@lightcax](https://github.com/lightcax '2023-02-28')
:star: [@termermc](https://github.com/termermc '2023-04-27')
:star: [@catsmells](https://github.com/catsmells '2023-04-28')
:star: [@maleyva1](https://github.com/maleyva1 '2023-05-18')
:star: [@all-an](https://github.com/all-an '2023-05-24')
:star: [@janflyborg](https://github.com/janflyborg '2023-06-03')
:star: [@smeggingsmegger](https://github.com/smeggingsmegger '2023-06-10')
:star: [@ArikRahman](https://github.com/ArikRahman '2023-06-27')
:star: [@KolyaRS](https://github.com/KolyaRS '2023-07-18')
:star: [@jinczing](https://github.com/jinczing '2023-08-15')
:star: [@jason-chandler](https://github.com/jason-chandler '2023-09-11')
:star: [@lolgab](https://github.com/lolgab '2023-09-11')
:star: [@melMass](https://github.com/melMass '2023-09-24')
:star: [@xgr](https://github.com/xgr '2023-09-24')
:star: [@majj](https://github.com/majj '2023-10-01')
:star: [@dseeni](https://github.com/dseeni '2023-10-03')
:star: [@jmgomez](https://github.com/jmgomez '2023-10-06')
:star: [@shaoxie1986](https://github.com/shaoxie1986 '2023-10-08')
:star: [@wjl12](https://github.com/wjl12 '2023-10-09')
:star: [@cammclain](https://github.com/cammclain '2023-11-21')
:star: [@Optimax125](https://github.com/Optimax125 '2023-11-25')
:star: [@hanok2](https://github.com/hanok2 '2023-12-22')
:star: [@KhazAkar](https://github.com/KhazAkar '2024-01-05')
:star: [@rxx](https://github.com/rxx '2024-03-02')
:star: [@FI-Mihej](https://github.com/FI-Mihej '2024-03-15')
:star: [@davidvfx07](https://github.com/davidvfx07 '2024-03-28')
:star: [@gnusec](https://github.com/gnusec '2024-04-25')
:star: [@ziggertonziggy](https://github.com/ziggertonziggy '2024-05-10')
:star: [@neroist](https://github.com/neroist '2024-05-13')
:star: [@Bimzzzzz](https://github.com/Bimzzzzz '2024-05-22')
:star: [@tuanductran](https://github.com/tuanductran '2024-05-29')
:star: [@Zira3l137](https://github.com/Zira3l137 '2024-06-23')
:star: [@ranjian0](https://github.com/ranjian0 '2024-07-02')
:star: [@drewbitt](https://github.com/drewbitt '2024-07-11')
:star: [@taylourchristian](https://github.com/taylourchristian '2024-07-13')
:star: [@seruman](https://github.com/seruman '2024-07-17')
:star: [@corv89](https://github.com/corv89 '2024-10-26')
:star: [@pkulev](https://github.com/pkulev '2024-12-12')
:star: [@marioboi3112](https://github.com/marioboi3112 '2024-12-15')
:star: [@planetis-m](https://github.com/planetis-m '2025-01-24')
:star: [@shaneish](https://github.com/shaneish '2025-02-18')
:star: [@trinhminhtriet](https://github.com/trinhminhtriet '2025-03-27')
:star: [@jtonsing](https://github.com/jtonsing '2025-05-24')
:star: [@kalaverin](https://github.com/kalaverin '2025-07-03')
:star: [@svaite](https://github.com/svaite '2025-10-21')
:star: [@hasansezertasan](https://github.com/hasansezertasan '2025-10-30')
:star: [@moncefdhk999](https://github.com/moncefdhk999 '2025-11-23')
:star: [@jeansossmeier](https://github.com/jeansossmeier '2025-11-27')
:star: [@seanstrom](https://github.com/seanstrom '2025-12-06')
:star: [@Miqueas](https://github.com/Miqueas '2026-01-18')
:star: [@fmalina](https://github.com/fmalina '2026-02-07')
:star: [@Dregacorp](https://github.com/Dregacorp '2026-02-12')
:star: [@kylesinlynn](https://github.com/kylesinlynn '2026-03-19')
:star: [@nilslindemann](https://github.com/nilslindemann '2026-05-05')
:star: [@vvsagar](https://github.com/vvsagar '2026-05-10')
:star: [@a07087263-cmyk](https://github.com/a07087263-cmyk '2026-05-22')
================================================
FILE: cpython.nimble
================================================
version = "3.12.0"
author = "Juan_Carlos.nim"
description = "Alternative StdLib for Nim for Python targets"
license = "MIT"
srcDir = "src"
skipDirs = @["docs"]
requires "nim >= 1.0.0"
requires "nimpy"
================================================
FILE: docs/atexit.html
================================================
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- This file is generated by Nim. -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
<!-- Google fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- CSS -->
<title>src/cpython/atexit</title>
<link rel="stylesheet" type="text/css" href="nimdoc.out.css">
<script type="text/javascript" src="dochack.js"></script>
<script type="text/javascript">
function main() {
var pragmaDots = document.getElementsByClassName("pragmadots");
for (var i = 0; i < pragmaDots.length; i++) {
pragmaDots[i].onclick = function(event) {
// Hide tease
event.target.parentNode.style.display = "none";
// Show actual
event.target.parentNode.nextElementSibling.style.display = "inline";
}
}
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
function switchTheme(e) {
if (e.target.checked) {
document.documentElement.setAttribute('data-theme', 'dark');
localStorage.setItem('theme', 'dark');
} else {
document.documentElement.setAttribute('data-theme', 'light');
localStorage.setItem('theme', 'light');
}
}
toggleSwitch.addEventListener('change', switchTheme, false);
const currentTheme = localStorage.getItem('theme') ? localStorage.getItem('theme') : null;
if (currentTheme) {
document.documentElement.setAttribute('data-theme', currentTheme);
if (currentTheme === 'dark') {
toggleSwitch.checked = true;
}
}
}
window.addEventListener('DOMContentLoaded', main);
</script>
</head>
<body>
<div class="document" id="documentId">
<div class="container">
<h1 class="title">src/cpython/atexit</h1>
<div class="row">
<div class="three columns">
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider round"></div>
</label>
<em>Dark Mode</em>
</div>
<div id="global-links">
<ul class="simple">
<li>
<a href="theindex.html">Index</a>
</li>
</ul>
</div>
<div id="searchInputDiv">
Search: <input type="text" id="searchInput"
onkeyup="search()" />
</div>
<div>
Group by:
<select onchange="groupBy(this.value)">
<option value="section">Section</option>
<option value="type">Type</option>
</select>
</div>
<ul class="simple simple-toc" id="toc-list">
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">register
<li><a class="reference" href="#register%2CT"
title="register[T](function: T)">register[T](function: T)</a></li>
</ul>
<ul class="simple nested-toc-section">unregister
<li><a class="reference" href="#unregister%2CT"
title="unregister[T](function: T)">unregister[T](function: T)</a></li>
</ul>
</ul>
</li>
</ul>
</div>
<div class="nine columns" id="content">
<div id="tocRoot"></div>
<p class="module-desc"><ul class="simple"><li><a class="reference external" href="https://docs.python.org/3.10/library/atexit.html">https://docs.python.org/3.10/library/atexit.html</a></li>
</ul>
</p>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<a id="register,T"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#register%2CT"><span class="Identifier">register</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">function</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
<a id="unregister,T"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#unregister%2CT"><span class="Identifier">unregister</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">function</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</dl></div>
</div>
</div>
<div class="row">
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2021-07-23 22:51:54 UTC</small>
</div>
</div>
</div>
</div>
</body>
</html>
================================================
FILE: docs/base64.html
================================================
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- This file is generated by Nim. -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
<!-- Google fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- CSS -->
<title>src/cpython/base64</title>
<link rel="stylesheet" type="text/css" href="nimdoc.out.css">
<script type="text/javascript" src="dochack.js"></script>
<script type="text/javascript">
function main() {
var pragmaDots = document.getElementsByClassName("pragmadots");
for (var i = 0; i < pragmaDots.length; i++) {
pragmaDots[i].onclick = function(event) {
// Hide tease
event.target.parentNode.style.display = "none";
// Show actual
event.target.parentNode.nextElementSibling.style.display = "inline";
}
}
function switchTheme(e) {
if (e.target.checked) {
document.documentElement.setAttribute('data-theme', 'dark');
localStorage.setItem('theme', 'dark');
} else {
document.documentElement.setAttribute('data-theme', 'light');
localStorage.setItem('theme', 'light');
}
}
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
if (toggleSwitch !== null) {
toggleSwitch.addEventListener('change', switchTheme, false);
}
var currentTheme = localStorage.getItem('theme');
if (!currentTheme && window.matchMedia('(prefers-color-scheme: dark)').matches) {
currentTheme = 'dark';
}
if (currentTheme) {
document.documentElement.setAttribute('data-theme', currentTheme);
if (currentTheme === 'dark' && toggleSwitch !== null) {
toggleSwitch.checked = true;
}
}
}
window.addEventListener('DOMContentLoaded', main);
</script>
</head>
<body>
<div class="document" id="documentId">
<div class="container">
<h1 class="title">src/cpython/base64</h1>
<div class="row">
<div class="three columns">
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider round"></div>
</label>
<em>Dark Mode</em>
</div>
<div id="global-links">
<ul class="simple">
<li>
<a href="theindex.html">Index</a>
</li>
</ul>
</div>
<div id="searchInputDiv">
Search: <input type="text" id="searchInput"
onkeyup="search()" />
</div>
<div>
Group by:
<select onchange="groupBy(this.value)">
<option value="section">Section</option>
<option value="type">Type</option>
</select>
</div>
<ul class="simple simple-toc" id="toc-list">
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">b32encode
<li><a class="reference" href="#b32encode%2Cstring"
title="b32encode(s: string): string">b32encode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b64decode
<li><a class="reference" href="#b64decode%2Cstring%2Cstring"
title="b64decode(s, altchars: string; validate = false): string">b64decode(s, altchars: string; validate = false): string</a></li>
<li><a class="reference" href="#b64decode%2Cstring"
title="b64decode(s: string): string">b64decode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b32hexdecode
<li><a class="reference" href="#b32hexdecode%2Cstring"
title="b32hexdecode(s: string; casefold = false): string">b32hexdecode(s: string; casefold = false): string</a></li>
</ul>
<ul class="simple nested-toc-section">a85encode
<li><a class="reference" href="#a85encode%2Cstring"
title="a85encode(s: string): string">a85encode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">standard_b64decode
<li><a class="reference" href="#standard_b64decode%2Cstring"
title="standard_b64decode(s: string): string">standard_b64decode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b85decode
<li><a class="reference" href="#b85decode%2Cstring"
title="b85decode(s: string): string">b85decode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b32hexencode
<li><a class="reference" href="#b32hexencode%2Cstring"
title="b32hexencode(s: string): string">b32hexencode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">standard_b64encode
<li><a class="reference" href="#standard_b64encode%2Cstring"
title="standard_b64encode(s: string): string">standard_b64encode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b32decode
<li><a class="reference" href="#b32decode%2Cstring"
title="b32decode(s: string; casefold = false): string">b32decode(s: string; casefold = false): string</a></li>
</ul>
<ul class="simple nested-toc-section">a85decode
<li><a class="reference" href="#a85decode%2Cstring"
title="a85decode(s: string): string">a85decode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b85encode
<li><a class="reference" href="#b85encode%2Cstring"
title="b85encode(s: string; pad = false): string">b85encode(s: string; pad = false): string</a></li>
</ul>
<ul class="simple nested-toc-section">urlsafe_b64decode
<li><a class="reference" href="#urlsafe_b64decode%2Cstring"
title="urlsafe_b64decode(s: string): string">urlsafe_b64decode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">urlsafe_b64encode
<li><a class="reference" href="#urlsafe_b64encode%2Cstring"
title="urlsafe_b64encode(s: string): string">urlsafe_b64encode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">decodebytes
<li><a class="reference" href="#decodebytes%2Cstring"
title="decodebytes(s: string): string">decodebytes(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">encodebytes
<li><a class="reference" href="#encodebytes%2Cstring"
title="encodebytes(s: string): string">encodebytes(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b16decode
<li><a class="reference" href="#b16decode%2Cstring"
title="b16decode(s: string; casefold = false): string">b16decode(s: string; casefold = false): string</a></li>
</ul>
<ul class="simple nested-toc-section">b64encode
<li><a class="reference" href="#b64encode%2Cstring%2Cstring"
title="b64encode(s, altchars: string): string">b64encode(s, altchars: string): string</a></li>
<li><a class="reference" href="#b64encode%2Cstring"
title="b64encode(s: string): string">b64encode(s: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">b16encode
<li><a class="reference" href="#b16encode%2Cstring"
title="b16encode(s: string): string">b16encode(s: string): string</a></li>
</ul>
</ul>
</li>
</ul>
</div>
<div class="nine columns" id="content">
<div id="tocRoot"></div>
<p class="module-desc"><ul class="simple"><li><a class="reference external" href="https://docs.python.org/3.10/library/base64.html">https://docs.python.org/3.10/library/base64.html</a></li>
</ul>
</p>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<a id="b64encode,string,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b64encode%2Cstring%2Cstring"><span class="Identifier">b64encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">,</span> <span class="Identifier">altchars</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b64encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b64encode%2Cstring"><span class="Identifier">b64encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b64decode,string,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b64decode%2Cstring%2Cstring"><span class="Identifier">b64decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">,</span> <span class="Identifier">altchars</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">validate</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b64decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b64decode%2Cstring"><span class="Identifier">b64decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="standard_b64encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#standard_b64encode%2Cstring"><span class="Identifier">standard_b64encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="standard_b64decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#standard_b64decode%2Cstring"><span class="Identifier">standard_b64decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="urlsafe_b64encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#urlsafe_b64encode%2Cstring"><span class="Identifier">urlsafe_b64encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="urlsafe_b64decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#urlsafe_b64decode%2Cstring"><span class="Identifier">urlsafe_b64decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b32encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b32encode%2Cstring"><span class="Identifier">b32encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b32decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b32decode%2Cstring"><span class="Identifier">b32decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">casefold</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b32hexencode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b32hexencode%2Cstring"><span class="Identifier">b32hexencode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b32hexdecode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b32hexdecode%2Cstring"><span class="Identifier">b32hexdecode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">casefold</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b16encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b16encode%2Cstring"><span class="Identifier">b16encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b16decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b16decode%2Cstring"><span class="Identifier">b16decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">casefold</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="a85encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#a85encode%2Cstring"><span class="Identifier">a85encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="a85decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#a85decode%2Cstring"><span class="Identifier">a85decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b85encode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b85encode%2Cstring"><span class="Identifier">b85encode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">pad</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="b85decode,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#b85decode%2Cstring"><span class="Identifier">b85decode</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="decodebytes,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#decodebytes%2Cstring"><span class="Identifier">decodebytes</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
<a id="encodebytes,string"></a>
<dt><pre><span class="Keyword">proc</span> <a href="#encodebytes%2Cstring"><span class="Identifier">encodebytes</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</dl></div>
</div>
</div>
<div class="row">
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br/>
<small style="color: var(--hint);">Made with Nim. Generated: 2021-07-19 16:47:27 UTC</small>
</div>
</div>
</div>
</div>
</body>
</html>
================================================
FILE: docs/bgl.html
================================================
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- This file is generated by Nim. -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
<!-- Google fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- CSS -->
<title>src/cpython/upbge/bgl</title>
<link rel="stylesheet" type="text/css" href="nimdoc.out.css">
<script type="text/javascript" src="dochack.js"></script>
<script type="text/javascript">
function main() {
var pragmaDots = document.getElementsByClassName("pragmadots");
for (var i = 0; i < pragmaDots.length; i++) {
pragmaDots[i].onclick = function(event) {
// Hide tease
event.target.parentNode.style.display = "none";
// Show actual
event.target.parentNode.nextElementSibling.style.display = "inline";
}
}
function switchTheme(e) {
if (e.target.checked) {
document.documentElement.setAttribute('data-theme', 'dark');
localStorage.setItem('theme', 'dark');
} else {
document.documentElement.setAttribute('data-theme', 'light');
localStorage.setItem('theme', 'light');
}
}
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
if (toggleSwitch !== null) {
toggleSwitch.addEventListener('change', switchTheme, false);
}
var currentTheme = localStorage.getItem('theme');
if (!currentTheme && window.matchMedia('(prefers-color-scheme: dark)').matches) {
currentTheme = 'dark';
}
if (currentTheme) {
document.documentElement.setAttribute('data-theme', currentTheme);
if (currentTheme === 'dark' && toggleSwitch !== null) {
toggleSwitch.checked = true;
}
}
}
window.addEventListener('DOMContentLoaded', main);
</script>
</head>
<body>
<div class="document" id="documentId">
<div class="container">
<h1 class="title">src/cpython/upbge/bgl</h1>
<div class="row">
<div class="three columns">
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider round"></div>
</label>
<em>Dark Mode</em>
</div>
<div id="global-links">
<ul class="simple">
<li>
<a href="theindex.html">Index</a>
</li>
</ul>
</div>
<div id="searchInputDiv">
Search: <input type="text" id="searchInput"
onkeyup="search()" />
</div>
<div>
Group by:
<select onchange="groupBy(this.value)">
<option value="section">Section</option>
<option value="type">Type</option>
</select>
</div>
<ul class="simple simple-toc" id="toc-list">
<li>
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">glActiveTexture
<li><a class="reference" href="#glActiveTexture%2Cint"
title="glActiveTexture(texture: int)">glActiveTexture(texture: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glAttachShader
<li><a class="reference" href="#glAttachShader%2Cint%2Cint"
title="glAttachShader(program, shader: int)">glAttachShader(program, shader: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glBindTexture
<li><a class="reference" href="#glBindTexture%2Cint%2Cuint"
title="glBindTexture(target: int; texture: uint)">glBindTexture(target: int; texture: uint)</a></li>
</ul>
<ul class="simple nested-toc-section">glBlendFunc
<li><a class="reference" href="#glBlendFunc%2Cint%2Cint"
title="glBlendFunc(sfactor, dfactor: int)">glBlendFunc(sfactor, dfactor: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glClear
<li><a class="reference" href="#glClear%2Cint"
title="glClear(mask: int)">glClear(mask: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glClearColor
<li><a class="reference" href="#glClearColor%2Cint%2Cint%2Cint%2Cint"
title="glClearColor(red, green, blue, alpha: int)">glClearColor(red, green, blue, alpha: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glClearDepth
<li><a class="reference" href="#glClearDepth%2Cint"
title="glClearDepth(depth: int)">glClearDepth(depth: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glClearStencil
<li><a class="reference" href="#glClearStencil%2Cint"
title="glClearStencil(s: int)">glClearStencil(s: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glClipPlane
<li><a class="reference" href="#glClipPlane%2Cint%2Cauto"
title="glClipPlane(plane: int; equation: auto)">glClipPlane(plane: int; equation: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glColor
<li><a class="reference" href="#glColor%2Cint%2Cint%2Cint%2Cint"
title="glColor(red, green, blue, alpha: int)">glColor(red, green, blue, alpha: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glColorMask
<li><a class="reference" href="#glColorMask%2Cint%2Cint%2Cint%2Cint"
title="glColorMask(red, green, blue, alpha: int)">glColorMask(red, green, blue, alpha: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glCompileShader
<li><a class="reference" href="#glCompileShader%2Cint"
title="glCompileShader(shader: int)">glCompileShader(shader: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glCopyTexImage2D
<li><a class="reference" href="#glCopyTexImage2D%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint"
title="glCopyTexImage2D(target, level, internalformat, x, y, width, height, border: int)">glCopyTexImage2D(target, level, internalformat, x, y, width, height, border: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glCreateProgram
<li><a class="reference" href="#glCreateProgram"
title="glCreateProgram(): int">glCreateProgram(): int</a></li>
</ul>
<ul class="simple nested-toc-section">glCreateShader
<li><a class="reference" href="#glCreateShader%2Cint"
title="glCreateShader(shaderType: int): int">glCreateShader(shaderType: int): int</a></li>
</ul>
<ul class="simple nested-toc-section">glCullFace
<li><a class="reference" href="#glCullFace%2Cint"
title="glCullFace(mode: int)">glCullFace(mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDeleteProgram
<li><a class="reference" href="#glDeleteProgram%2Cint"
title="glDeleteProgram(program: int)">glDeleteProgram(program: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDeleteShader
<li><a class="reference" href="#glDeleteShader%2Cint"
title="glDeleteShader(shader: int)">glDeleteShader(shader: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDeleteTextures
<li><a class="reference" href="#glDeleteTextures%2Cint%2Cauto"
title="glDeleteTextures(n: int; textures: auto)">glDeleteTextures(n: int; textures: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glDepthFunc
<li><a class="reference" href="#glDepthFunc%2Cint"
title="glDepthFunc(fun: int)">glDepthFunc(fun: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDepthMask
<li><a class="reference" href="#glDepthMask"
title="glDepthMask(flag: int or bool)">glDepthMask(flag: int or bool)</a></li>
</ul>
<ul class="simple nested-toc-section">glDepthRange
<li><a class="reference" href="#glDepthRange%2Cint%2Cint"
title="glDepthRange(zNear, zFar: int)">glDepthRange(zNear, zFar: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDetachShader
<li><a class="reference" href="#glDetachShader%2Cint%2Cint"
title="glDetachShader(program, shader: int)">glDetachShader(program, shader: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDisable
<li><a class="reference" href="#glDisable%2Cint"
title="glDisable(cap: int)">glDisable(cap: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glDrawBuffer
<li><a class="reference" href="#glDrawBuffer%2Cint"
title="glDrawBuffer(mode: int)">glDrawBuffer(mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glEdgeFlag
<li><a class="reference" href="#glEdgeFlag%2Cint"
title="glEdgeFlag(flag: int)">glEdgeFlag(flag: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glEnable
<li><a class="reference" href="#glEnable%2Cint"
title="glEnable(cap: int)">glEnable(cap: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glEvalCoord
<li><a class="reference" href="#glEvalCoord%2Cauto%2Cauto"
title="glEvalCoord(u, v: auto)">glEvalCoord(u, v: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glEvalMesh
<li><a class="reference" href="#glEvalMesh%2Cint%2Cint%2Cint"
title="glEvalMesh(mode, i1, i2: int)">glEvalMesh(mode, i1, i2: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glEvalPoint
<li><a class="reference" href="#glEvalPoint%2Cint%2Cint"
title="glEvalPoint(i, j: int)">glEvalPoint(i, j: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glFeedbackBuffer
<li><a class="reference" href="#glFeedbackBuffer%2Cint%2Cint%2Cauto"
title="glFeedbackBuffer(size, tipe: int; buffer: auto)">glFeedbackBuffer(size, tipe: int; buffer: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glFinish
<li><a class="reference" href="#glFinish"
title="glFinish()">glFinish()</a></li>
</ul>
<ul class="simple nested-toc-section">glFlush
<li><a class="reference" href="#glFlush"
title="glFlush()">glFlush()</a></li>
</ul>
<ul class="simple nested-toc-section">glFog
<li><a class="reference" href="#glFog%2Cint%2Cauto"
title="glFog(pname: int; param: auto)">glFog(pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glFrontFace
<li><a class="reference" href="#glFrontFace%2Cint"
title="glFrontFace(mode: int)">glFrontFace(mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glGenTextures
<li><a class="reference" href="#glGenTextures%2Cint%2Cauto"
title="glGenTextures(n: int; textures: auto)">glGenTextures(n: int; textures: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGet
<li><a class="reference" href="#glGet%2Cint%2Cauto"
title="glGet(pname: int; param: auto)">glGet(pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetAttachedShaders
<li><a class="reference" href="#glGetAttachedShaders%2Cint%2Cint%2Cauto%2Cauto"
title="glGetAttachedShaders(program, maxCount: int; count, shaders: auto)">glGetAttachedShaders(program, maxCount: int; count, shaders: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetError
<li><a class="reference" href="#glGetError"
title="glGetError(): int">glGetError(): int</a></li>
</ul>
<ul class="simple nested-toc-section">glGetLight
<li><a class="reference" href="#glGetLight%2Cint%2Cint%2Cauto"
title="glGetLight(light, pname: int; params: auto)">glGetLight(light, pname: int; params: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetMap
<li><a class="reference" href="#glGetMap%2Cint%2Cint%2Cauto"
title="glGetMap(target, query: int; v: auto)">glGetMap(target, query: int; v: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetProgramInfoLog
<li><a class="reference" href="#glGetProgramInfoLog%2Cint%2Cint%2Cauto%2Cauto"
title="glGetProgramInfoLog(program, maxLength: int; length, infoLog: auto)">glGetProgramInfoLog(program, maxLength: int; length, infoLog: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetProgramiv
<li><a class="reference" href="#glGetProgramiv%2Cint%2Cint%2Cauto"
title="glGetProgramiv(program, pname: int; params: auto)">glGetProgramiv(program, pname: int; params: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetShaderInfoLog
<li><a class="reference" href="#glGetShaderInfoLog%2Cint%2Cint%2Cauto%2Cauto"
title="glGetShaderInfoLog(program, maxLength: int; length, infoLog: auto)">glGetShaderInfoLog(program, maxLength: int; length, infoLog: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetShaderSource
<li><a class="reference" href="#glGetShaderSource%2Cint%2Cint%2Cauto%2Cauto"
title="glGetShaderSource(shader, bufSize: int; length, source: auto)">glGetShaderSource(shader, bufSize: int; length, source: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glGetString
<li><a class="reference" href="#glGetString%2Cstring"
title="glGetString(name: string): string">glGetString(name: string): string</a></li>
</ul>
<ul class="simple nested-toc-section">glGetTexLevelParameter
<li><a class="reference" href="#glGetTexLevelParameter%2Cint%2Cint%2Cint%2Cauto"
title="glGetTexLevelParameter(target, level, pname: int; params: auto)">glGetTexLevelParameter(target, level, pname: int; params: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glHint
<li><a class="reference" href="#glHint%2Cint%2Cint"
title="glHint(target, mode: int)">glHint(target, mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glIsEnabled
<li><a class="reference" href="#glIsEnabled%2Cint"
title="glIsEnabled(cap: int): bool">glIsEnabled(cap: int): bool</a></li>
</ul>
<ul class="simple nested-toc-section">glIsProgram
<li><a class="reference" href="#glIsProgram%2Cint"
title="glIsProgram(program: int)">glIsProgram(program: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glIsShader
<li><a class="reference" href="#glIsShader%2Cint"
title="glIsShader(shader: int)">glIsShader(shader: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glIsTexture
<li><a class="reference" href="#glIsTexture%2Cuint"
title="glIsTexture(texture: uint): bool">glIsTexture(texture: uint): bool</a></li>
</ul>
<ul class="simple nested-toc-section">glLight
<li><a class="reference" href="#glLight%2Cint%2Cint%2Cauto"
title="glLight(light, pname: int; param: auto)">glLight(light, pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glLightModel
<li><a class="reference" href="#glLightModel%2Cint%2Cauto"
title="glLightModel(pname: int; param: auto)">glLightModel(pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glLineWidth
<li><a class="reference" href="#glLineWidth%2Cfloat"
title="glLineWidth(width: float)">glLineWidth(width: float)</a></li>
</ul>
<ul class="simple nested-toc-section">glLinkProgram
<li><a class="reference" href="#glLinkProgram%2Cint"
title="glLinkProgram(program: int)">glLinkProgram(program: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glLoadMatrix
<li><a class="reference" href="#glLoadMatrix%2Cauto"
title="glLoadMatrix(m: auto)">glLoadMatrix(m: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glLogicOp
<li><a class="reference" href="#glLogicOp%2Cint"
title="glLogicOp(opcode: int)">glLogicOp(opcode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glMap1
<li><a class="reference" href="#glMap1%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glMap1(target, u1, u2, stride, order: int; points: auto)">glMap1(target, u1, u2, stride, order: int; points: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glMap2
<li><a class="reference" href="#glMap2%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glMap2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder: int;
points: auto)">glMap2(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder: int;
points: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glMapGrid
<li><a class="reference" href="#glMapGrid%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint"
title="glMapGrid(un, u1, u2, vn, v1, v2: int)">glMapGrid(un, u1, u2, vn, v1, v2: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glMaterial
<li><a class="reference" href="#glMaterial%2Cint%2Cint%2Cint"
title="glMaterial(face, pname, params: int)">glMaterial(face, pname, params: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glMultMatrix
<li><a class="reference" href="#glMultMatrix%2Cauto"
title="glMultMatrix(m: auto)">glMultMatrix(m: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glNormal3
<li><a class="reference" href="#glNormal3%2Cint%2Cint%2Cint%2Cauto"
title="glNormal3(nx, ny, nz: int; v: auto)">glNormal3(nx, ny, nz: int; v: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glPixelMap
<li><a class="reference" href="#glPixelMap%2Cint%2Cint%2Cauto"
title="glPixelMap(map, mapsize: int; values: auto)">glPixelMap(map, mapsize: int; values: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glPixelStore
<li><a class="reference" href="#glPixelStore%2Cint%2Cauto"
title="glPixelStore(pname: int; param: auto)">glPixelStore(pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glPixelTransfer
<li><a class="reference" href="#glPixelTransfer%2Cint%2Cauto"
title="glPixelTransfer(pname: int; param: auto)">glPixelTransfer(pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glPointSize
<li><a class="reference" href="#glPointSize%2Cint"
title="glPointSize(size: int)">glPointSize(size: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glPolygonMode
<li><a class="reference" href="#glPolygonMode%2Cint%2Cint"
title="glPolygonMode(face, mode: int)">glPolygonMode(face, mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glPolygonOffset
<li><a class="reference" href="#glPolygonOffset%2Cfloat%2Cfloat"
title="glPolygonOffset(factor, units: float)">glPolygonOffset(factor, units: float)</a></li>
</ul>
<ul class="simple nested-toc-section">glRasterPos
<li><a class="reference" href="#glRasterPos%2C%2C%2C%2C"
title="glRasterPos(x, y, z, w: int or float)">glRasterPos(x, y, z, w: int or float)</a></li>
</ul>
<ul class="simple nested-toc-section">glReadBuffer
<li><a class="reference" href="#glReadBuffer%2Cint"
title="glReadBuffer(mode: int)">glReadBuffer(mode: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glReadPixels
<li><a class="reference" href="#glReadPixels%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glReadPixels(x, y, width, height, format, tipe: int; pixels: auto)">glReadPixels(x, y, width, height, format, tipe: int; pixels: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glRect
<li><a class="reference" href="#glRect%2C%2C%2C%2C%2C%2C"
title="glRect(x1, y1, x2, y2, v1, v2: float or int)">glRect(x1, y1, x2, y2, v1, v2: float or int)</a></li>
</ul>
<ul class="simple nested-toc-section">glRotate
<li><a class="reference" href="#glRotate%2Cauto%2C%2C%2C"
title="glRotate(angle: auto; x, y, z: float or int)">glRotate(angle: auto; x, y, z: float or int)</a></li>
</ul>
<ul class="simple nested-toc-section">glScale
<li><a class="reference" href="#glScale%2C%2C%2C"
title="glScale(x, y, z: float or int)">glScale(x, y, z: float or int)</a></li>
</ul>
<ul class="simple nested-toc-section">glScissor
<li><a class="reference" href="#glScissor%2C%2C%2C%2C"
title="glScissor(x, y, width, height: float or int)">glScissor(x, y, width, height: float or int)</a></li>
</ul>
<ul class="simple nested-toc-section">glShaderSource
<li><a class="reference" href="#glShaderSource%2Cint%2Cstring"
title="glShaderSource(shader: int; shader_string: string)">glShaderSource(shader: int; shader_string: string)</a></li>
</ul>
<ul class="simple nested-toc-section">glStencilFunc
<li><a class="reference" href="#glStencilFunc%2Cint%2Cint%2Cuint"
title="glStencilFunc(fun, refe: int; mask: uint)">glStencilFunc(fun, refe: int; mask: uint)</a></li>
</ul>
<ul class="simple nested-toc-section">glStencilMask
<li><a class="reference" href="#glStencilMask%2Cuint"
title="glStencilMask(mask: uint)">glStencilMask(mask: uint)</a></li>
</ul>
<ul class="simple nested-toc-section">glStencilOp
<li><a class="reference" href="#glStencilOp%2Cint%2Cint%2Cint"
title="glStencilOp(fail, zfail, zpass: int)">glStencilOp(fail, zfail, zpass: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexCoord
<li><a class="reference" href="#glTexCoord%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glTexCoord(s, t, r, q: int; v: auto)">glTexCoord(s, t, r, q: int; v: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexEnv
<li><a class="reference" href="#glTexEnv%2Cint%2Cint%2Cauto"
title="glTexEnv(target, pname: int; param: auto)">glTexEnv(target, pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexGen
<li><a class="reference" href="#glTexGen%2Cint%2Cint%2Cauto"
title="glTexGen(coord, pname: int; param: auto)">glTexGen(coord, pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexImage1D
<li><a class="reference" href="#glTexImage1D%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glTexImage1D(target, level, internalformat, width, border, format, tipe: int;
pixels: auto)">glTexImage1D(target, level, internalformat, width, border, format, tipe: int;
pixels: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexImage2D
<li><a class="reference" href="#glTexImage2D%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"
title="glTexImage2D(target, level, internalformat, width, height, border, format, tipe: int;
pixels: auto)">glTexImage2D(target, level, internalformat, width, height, border, format, tipe: int;
pixels: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTexParameter
<li><a class="reference" href="#glTexParameter%2Cint%2Cint%2Cauto"
title="glTexParameter(target, pname: int; param: auto)">glTexParameter(target, pname: int; param: auto)</a></li>
</ul>
<ul class="simple nested-toc-section">glTranslate
<li><a class="reference" href="#glTranslate%2C%2C%2C"
title="glTranslate(x, y, z: int or float)">glTranslate(x, y, z: int or float)</a></li>
</ul>
<ul class="simple nested-toc-section">glUseProgram
<li><a class="reference" href="#glUseProgram%2Cint"
title="glUseProgram(program: int)">glUseProgram(program: int)</a></li>
</ul>
<ul class="simple nested-toc-section">glViewport
<li><a class="reference" href="#glViewport%2C%2C%2C%2C"
title="glViewport(x, y, width, height: int or float)">glViewport(x, y, width, height: int or float)</a></li>
</ul>
</ul>
</li>
</ul>
</div>
<div class="nine columns" id="content">
<div id="tocRoot"></div>
<p class="module-desc"><ul class="simple"><li>OpenGL 4.5+ <a class="reference external" href="https://upbge.org/#/documentation/docs/latest/api/bgl.html">https://upbge.org/#/documentation/docs/latest/api/bgl.html</a></li>
</ul>
</p>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<div id="glActiveTexture,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glActiveTexture%2Cint"><span class="Identifier">glActiveTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glAttachShader,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glAttachShader%2Cint%2Cint"><span class="Identifier">glAttachShader</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">shader</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glBindTexture,int,uint">
<dt><pre><span class="Keyword">proc</span> <a href="#glBindTexture%2Cint%2Cuint"><span class="Identifier">glBindTexture</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">uint</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glBlendFunc,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glBlendFunc%2Cint%2Cint"><span class="Identifier">glBlendFunc</span></a><span class="Other">(</span><span class="Identifier">sfactor</span><span class="Other">,</span> <span class="Identifier">dfactor</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glClear,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glClear%2Cint"><span class="Identifier">glClear</span></a><span class="Other">(</span><span class="Identifier">mask</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glClearColor,int,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glClearColor%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">glClearColor</span></a><span class="Other">(</span><span class="Identifier">red</span><span class="Other">,</span> <span class="Identifier">green</span><span class="Other">,</span> <span class="Identifier">blue</span><span class="Other">,</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glClearDepth,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glClearDepth%2Cint"><span class="Identifier">glClearDepth</span></a><span class="Other">(</span><span class="Identifier">depth</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glClearStencil,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glClearStencil%2Cint"><span class="Identifier">glClearStencil</span></a><span class="Other">(</span><span class="Identifier">s</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glClipPlane,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glClipPlane%2Cint%2Cauto"><span class="Identifier">glClipPlane</span></a><span class="Other">(</span><span class="Identifier">plane</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">equation</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glColor,int,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glColor%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">glColor</span></a><span class="Other">(</span><span class="Identifier">red</span><span class="Other">,</span> <span class="Identifier">green</span><span class="Other">,</span> <span class="Identifier">blue</span><span class="Other">,</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glColorMask,int,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glColorMask%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">glColorMask</span></a><span class="Other">(</span><span class="Identifier">red</span><span class="Other">,</span> <span class="Identifier">green</span><span class="Other">,</span> <span class="Identifier">blue</span><span class="Other">,</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glCompileShader,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glCompileShader%2Cint"><span class="Identifier">glCompileShader</span></a><span class="Other">(</span><span class="Identifier">shader</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glCopyTexImage2D,int,int,int,int,int,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glCopyTexImage2D%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">glCopyTexImage2D</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">level</span><span class="Other">,</span> <span class="Identifier">internalformat</span><span class="Other">,</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">,</span> <span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">,</span> <span class="Identifier">border</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glCreateProgram">
<dt><pre><span class="Keyword">proc</span> <a href="#glCreateProgram"><span class="Identifier">glCreateProgram</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glCreateShader,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glCreateShader%2Cint"><span class="Identifier">glCreateShader</span></a><span class="Other">(</span><span class="Identifier">shaderType</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glCullFace,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glCullFace%2Cint"><span class="Identifier">glCullFace</span></a><span class="Other">(</span><span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDeleteProgram,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDeleteProgram%2Cint"><span class="Identifier">glDeleteProgram</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDeleteShader,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDeleteShader%2Cint"><span class="Identifier">glDeleteShader</span></a><span class="Other">(</span><span class="Identifier">shader</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDeleteTextures,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glDeleteTextures%2Cint%2Cauto"><span class="Identifier">glDeleteTextures</span></a><span class="Other">(</span><span class="Identifier">n</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">textures</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glDepthFunc,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDepthFunc%2Cint"><span class="Identifier">glDepthFunc</span></a><span class="Other">(</span><span class="Identifier">fun</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDepthMask">
<dt><pre><span class="Keyword">proc</span> <a href="#glDepthMask"><span class="Identifier">glDepthMask</span></a><span class="Other">(</span><span class="Identifier">flag</span><span class="Other">:</span> <span class="Identifier">int</span> <span class="Keyword">or</span> <span class="Identifier">bool</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glDepthRange,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDepthRange%2Cint%2Cint"><span class="Identifier">glDepthRange</span></a><span class="Other">(</span><span class="Identifier">zNear</span><span class="Other">,</span> <span class="Identifier">zFar</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDetachShader,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDetachShader%2Cint%2Cint"><span class="Identifier">glDetachShader</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">shader</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDisable,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDisable%2Cint"><span class="Identifier">glDisable</span></a><span class="Other">(</span><span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glDrawBuffer,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glDrawBuffer%2Cint"><span class="Identifier">glDrawBuffer</span></a><span class="Other">(</span><span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glEdgeFlag,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glEdgeFlag%2Cint"><span class="Identifier">glEdgeFlag</span></a><span class="Other">(</span><span class="Identifier">flag</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glEnable,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glEnable%2Cint"><span class="Identifier">glEnable</span></a><span class="Other">(</span><span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glEvalCoord,auto,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glEvalCoord%2Cauto%2Cauto"><span class="Identifier">glEvalCoord</span></a><span class="Other">(</span><span class="Identifier">u</span><span class="Other">,</span> <span class="Identifier">v</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glEvalMesh,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glEvalMesh%2Cint%2Cint%2Cint"><span class="Identifier">glEvalMesh</span></a><span class="Other">(</span><span class="Identifier">mode</span><span class="Other">,</span> <span class="Identifier">i1</span><span class="Other">,</span> <span class="Identifier">i2</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glEvalPoint,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glEvalPoint%2Cint%2Cint"><span class="Identifier">glEvalPoint</span></a><span class="Other">(</span><span class="Identifier">i</span><span class="Other">,</span> <span class="Identifier">j</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glFeedbackBuffer,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glFeedbackBuffer%2Cint%2Cint%2Cauto"><span class="Identifier">glFeedbackBuffer</span></a><span class="Other">(</span><span class="Identifier">size</span><span class="Other">,</span> <span class="Identifier">tipe</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">buffer</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glFinish">
<dt><pre><span class="Keyword">proc</span> <a href="#glFinish"><span class="Identifier">glFinish</span></a><span class="Other">(</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span>
<span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glFlush">
<dt><pre><span class="Keyword">proc</span> <a href="#glFlush"><span class="Identifier">glFlush</span></a><span class="Other">(</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span>
<span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glFog,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glFog%2Cint%2Cauto"><span class="Identifier">glFog</span></a><span class="Other">(</span><span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glFrontFace,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glFrontFace%2Cint"><span class="Identifier">glFrontFace</span></a><span class="Other">(</span><span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glGenTextures,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGenTextures%2Cint%2Cauto"><span class="Identifier">glGenTextures</span></a><span class="Other">(</span><span class="Identifier">n</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">textures</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGet,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGet%2Cint%2Cauto"><span class="Identifier">glGet</span></a><span class="Other">(</span><span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetAttachedShaders,int,int,auto,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetAttachedShaders%2Cint%2Cint%2Cauto%2Cauto"><span class="Identifier">glGetAttachedShaders</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">maxCount</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">,</span> <span class="Identifier">shaders</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetError">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetError"><span class="Identifier">glGetError</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glGetLight,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetLight%2Cint%2Cint%2Cauto"><span class="Identifier">glGetLight</span></a><span class="Other">(</span><span class="Identifier">light</span><span class="Other">,</span> <span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">params</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetMap,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetMap%2Cint%2Cint%2Cauto"><span class="Identifier">glGetMap</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">query</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">v</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetProgramInfoLog,int,int,auto,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetProgramInfoLog%2Cint%2Cint%2Cauto%2Cauto"><span class="Identifier">glGetProgramInfoLog</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">maxLength</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">length</span><span class="Other">,</span> <span class="Identifier">infoLog</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetProgramiv,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetProgramiv%2Cint%2Cint%2Cauto"><span class="Identifier">glGetProgramiv</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">params</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetShaderInfoLog,int,int,auto,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetShaderInfoLog%2Cint%2Cint%2Cauto%2Cauto"><span class="Identifier">glGetShaderInfoLog</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">,</span> <span class="Identifier">maxLength</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">length</span><span class="Other">,</span> <span class="Identifier">infoLog</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetShaderSource,int,int,auto,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetShaderSource%2Cint%2Cint%2Cauto%2Cauto"><span class="Identifier">glGetShaderSource</span></a><span class="Other">(</span><span class="Identifier">shader</span><span class="Other">,</span> <span class="Identifier">bufSize</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">length</span><span class="Other">,</span> <span class="Identifier">source</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glGetString,string">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetString%2Cstring"><span class="Identifier">glGetString</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glGetTexLevelParameter,int,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glGetTexLevelParameter%2Cint%2Cint%2Cint%2Cauto"><span class="Identifier">glGetTexLevelParameter</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">level</span><span class="Other">,</span> <span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">params</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glHint,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glHint%2Cint%2Cint"><span class="Identifier">glHint</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glIsEnabled,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glIsEnabled%2Cint"><span class="Identifier">glIsEnabled</span></a><span class="Other">(</span><span class="Identifier">cap</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glIsProgram,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glIsProgram%2Cint"><span class="Identifier">glIsProgram</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glIsShader,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glIsShader%2Cint"><span class="Identifier">glIsShader</span></a><span class="Other">(</span><span class="Identifier">shader</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glIsTexture,uint">
<dt><pre><span class="Keyword">proc</span> <a href="#glIsTexture%2Cuint"><span class="Identifier">glIsTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <span class="Identifier">uint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glLight,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glLight%2Cint%2Cint%2Cauto"><span class="Identifier">glLight</span></a><span class="Other">(</span><span class="Identifier">light</span><span class="Other">,</span> <span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glLightModel,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glLightModel%2Cint%2Cauto"><span class="Identifier">glLightModel</span></a><span class="Other">(</span><span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glLineWidth,float">
<dt><pre><span class="Keyword">proc</span> <a href="#glLineWidth%2Cfloat"><span class="Identifier">glLineWidth</span></a><span class="Other">(</span><span class="Identifier">width</span><span class="Other">:</span> <span class="Identifier">float</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glLinkProgram,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glLinkProgram%2Cint"><span class="Identifier">glLinkProgram</span></a><span class="Other">(</span><span class="Identifier">program</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glLoadMatrix,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glLoadMatrix%2Cauto"><span class="Identifier">glLoadMatrix</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glLogicOp,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glLogicOp%2Cint"><span class="Identifier">glLogicOp</span></a><span class="Other">(</span><span class="Identifier">opcode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glMap1,int,int,int,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glMap1%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"><span class="Identifier">glMap1</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">u1</span><span class="Other">,</span> <span class="Identifier">u2</span><span class="Other">,</span> <span class="Identifier">stride</span><span class="Other">,</span> <span class="Identifier">order</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glMap2,int,int,int,int,int,int,int,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glMap2%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint%2Cauto"><span class="Identifier">glMap2</span></a><span class="Other">(</span><span class="Identifier">target</span><span class="Other">,</span> <span class="Identifier">u1</span><span class="Other">,</span> <span class="Identifier">u2</span><span class="Other">,</span> <span class="Identifier">ustride</span><span class="Other">,</span> <span class="Identifier">uorder</span><span class="Other">,</span> <span class="Identifier">v1</span><span class="Other">,</span> <span class="Identifier">v2</span><span class="Other">,</span> <span class="Identifier">vstride</span><span class="Other">,</span> <span class="Identifier">vorder</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span>
<span class="Identifier">points</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glMapGrid,int,int,int,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glMapGrid%2Cint%2Cint%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">glMapGrid</span></a><span class="Other">(</span><span class="Identifier">un</span><span class="Other">,</span> <span class="Identifier">u1</span><span class="Other">,</span> <span class="Identifier">u2</span><span class="Other">,</span> <span class="Identifier">vn</span><span class="Other">,</span> <span class="Identifier">v1</span><span class="Other">,</span> <span class="Identifier">v2</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glMaterial,int,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glMaterial%2Cint%2Cint%2Cint"><span class="Identifier">glMaterial</span></a><span class="Other">(</span><span class="Identifier">face</span><span class="Other">,</span> <span class="Identifier">pname</span><span class="Other">,</span> <span class="Identifier">params</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glMultMatrix,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glMultMatrix%2Cauto"><span class="Identifier">glMultMatrix</span></a><span class="Other">(</span><span class="Identifier">m</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glNormal3,int,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glNormal3%2Cint%2Cint%2Cint%2Cauto"><span class="Identifier">glNormal3</span></a><span class="Other">(</span><span class="Identifier">nx</span><span class="Other">,</span> <span class="Identifier">ny</span><span class="Other">,</span> <span class="Identifier">nz</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">v</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glPixelMap,int,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glPixelMap%2Cint%2Cint%2Cauto"><span class="Identifier">glPixelMap</span></a><span class="Other">(</span><span class="Identifier">map</span><span class="Other">,</span> <span class="Identifier">mapsize</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">values</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glPixelStore,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glPixelStore%2Cint%2Cauto"><span class="Identifier">glPixelStore</span></a><span class="Other">(</span><span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glPixelTransfer,int,auto">
<dt><pre><span class="Keyword">proc</span> <a href="#glPixelTransfer%2Cint%2Cauto"><span class="Identifier">glPixelTransfer</span></a><span class="Other">(</span><span class="Identifier">pname</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">auto</span><span class="Other">)</span></pre></dt>
<dd>
</dd>
</div>
<div id="glPointSize,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glPointSize%2Cint"><span class="Identifier">glPointSize</span></a><span class="Other">(</span><span class="Identifier">size</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glPolygonMode,int,int">
<dt><pre><span class="Keyword">proc</span> <a href="#glPolygonMode%2Cint%2Cint"><span class="Identifier">glPolygonMode</span></a><span class="Other">(</span><span class="Identifier">face</span><span class="Other">,</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glPolygonOffset,float,float">
<dt><pre><span class="Keyword">proc</span> <a href="#glPolygonOffset%2Cfloat%2Cfloat"><span class="Identifier">glPolygonOffset</span></a><span class="Other">(</span><span class="Identifier">factor</span><span class="Other">,</span> <span class="Identifier">units</span><span class="Other">:</span> <span class="Identifier">float</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
</dd>
</div>
<div id="glRasterPos,,,,">
<dt><pre><span class="Keyword">proc</span> <a href="#glRasterPos%2C%2C%2C%2C"><span class="Identifier">glRasterPos</span></a><sp
gitextract_krlmm29s/ ├── .gitattributes ├── .github/ │ ├── FUNDING.yml │ ├── ISSUE_TEMPLATE/ │ │ ├── bug_report.yml │ │ └── config.yml │ └── workflows/ │ ├── add-stars.yml │ ├── antispamm.yml │ ├── build.yml │ ├── stale.yml │ ├── welcome-new-users.yml │ └── wiki-on-edit.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── cpython.nimble ├── docs/ │ ├── atexit.html │ ├── base64.html │ ├── bgl.html │ ├── binascii.html │ ├── binhex.html │ ├── bl_math.html │ ├── blf.html │ ├── bpy_app_icons.html │ ├── bpy_app_timers.html │ ├── bpy_app_translations.html │ ├── bpy_msgbus.html │ ├── bpy_path.html │ ├── bpy_utils.html │ ├── bpy_utils_units.html │ ├── builtins.html │ ├── bz2.html │ ├── cmath.html │ ├── codecs.html │ ├── codeop.html │ ├── colorsys.html │ ├── compileall.html │ ├── copy.html │ ├── crypt.html │ ├── curses.html │ ├── dbd.html │ ├── decimal.html │ ├── dis.html │ ├── doctest.html │ ├── ensurepip.html │ ├── errno.html │ ├── faulthandler.html │ ├── fcntl.html │ ├── filecmp.html │ ├── fnmatch.html │ ├── gc.html │ ├── getopt.html │ ├── getpass.html │ ├── gettext.html │ ├── glob.html │ ├── grp.html │ ├── gzip.html │ ├── hashlib.html │ ├── hmac.html │ ├── html_entities.html │ ├── imghdr.html │ ├── imp.html │ ├── importlib.html │ ├── keyword.html │ ├── linecache.html │ ├── logging.html │ ├── lzma.html │ ├── marshal.html │ ├── math.html │ ├── mathutils_geometry.html │ ├── mathutils_noise.html │ ├── mimetypes.html │ ├── nimdoc.out.css │ ├── nis.html │ ├── ntpath.html │ ├── operator.html │ ├── os.html │ ├── pickle.html │ ├── pickletools.html │ ├── pkgutil.html │ ├── posixpath.html │ ├── pprint.html │ ├── pwd.html │ ├── py_compile.html │ ├── quopri.html │ ├── random.html │ ├── re.html │ ├── readline.html │ ├── reprlib.html │ ├── resource.html │ ├── runpy.html │ ├── secrets.html │ ├── shutil.html │ ├── signal.html │ ├── site.html │ ├── sndhdr.html │ ├── spwd.html │ ├── ssl.html │ ├── statistics.html │ ├── struct.html │ ├── subprocess.html │ ├── sys.html │ ├── sysconfig.html │ ├── syslog.html │ ├── tabnanny.html │ ├── tempfile.html │ ├── termios.html │ ├── textwrap.html │ ├── timeit.html │ ├── token.html │ ├── tty.html │ ├── turtle.html │ ├── typing.html │ ├── unicodedata.html │ ├── uu.html │ ├── uuid.html │ ├── venv.html │ ├── warnings.html │ ├── webbrowser.html │ ├── winsound.html │ ├── zipapp.html │ └── zlib.html ├── src/ │ └── cpython/ │ ├── atexit.nim │ ├── base64.nim │ ├── binascii.nim │ ├── binhex.nim │ ├── bisect.nim │ ├── builtins.nim │ ├── bz2.nim │ ├── calendar.nim │ ├── cmath.nim │ ├── codecs.nim │ ├── codeop.nim │ ├── colorsys.nim │ ├── compileall.nim │ ├── copy.nim │ ├── crypt.nim │ ├── curses.nim │ ├── dbd.nim │ ├── decimal.nim │ ├── dis.nim │ ├── doctest.nim │ ├── ensurepip.nim │ ├── errno.nim │ ├── faulthandler.nim │ ├── fcntl.nim │ ├── filecmp.nim │ ├── fnmatch.nim │ ├── gc.nim │ ├── getopt.nim │ ├── getpass.nim │ ├── gettext.nim │ ├── glob.nim │ ├── grp.nim │ ├── gzip.nim │ ├── hashlib.nim │ ├── hmac.nim │ ├── html_entities.nim │ ├── imghdr.nim │ ├── imp.nim │ ├── importlib.nim │ ├── keyword.nim │ ├── linecache.nim │ ├── logging.nim │ ├── lzma.nim │ ├── marshal.nim │ ├── math.nim │ ├── mimetypes.nim │ ├── nis.nim │ ├── ntpath.nim │ ├── operator.nim │ ├── os.nim │ ├── pickle.nim │ ├── pickletools.nim │ ├── pkgutil.nim │ ├── posixpath.nim │ ├── pprint.nim │ ├── pwd.nim │ ├── py_compile.nim │ ├── quopri.nim │ ├── random.nim │ ├── re.nim │ ├── readline.nim │ ├── reprlib.nim │ ├── resource.nim │ ├── runpy.nim │ ├── secrets.nim │ ├── shutil.nim │ ├── signal.nim │ ├── site.nim │ ├── sndhdr.nim │ ├── spwd.nim │ ├── ssl.nim │ ├── statistics.nim │ ├── stringprep.nim │ ├── strings.nim │ ├── struct.nim │ ├── subprocess.nim │ ├── sys.nim │ ├── sysconfig.nim │ ├── syslog.nim │ ├── tabnanny.nim │ ├── tempfile.nim │ ├── termios.nim │ ├── textwrap.nim │ ├── timeit.nim │ ├── token.nim │ ├── tomllib.nim │ ├── tty.nim │ ├── turtle.nim │ ├── typing.nim │ ├── unicodedata.nim │ ├── upbge/ │ │ ├── bge_render.nim │ │ ├── bgl.nim │ │ ├── bl_math.nim │ │ ├── blf.nim │ │ ├── bpy_app.nim │ │ ├── bpy_app_icons.nim │ │ ├── bpy_app_timers.nim │ │ ├── bpy_app_translations.nim │ │ ├── bpy_msgbus.nim │ │ ├── bpy_path.nim │ │ ├── bpy_utils.nim │ │ ├── bpy_utils_units.nim │ │ ├── gpu_capabilities.nim │ │ ├── gpu_extras.nim │ │ ├── gpu_platform.nim │ │ ├── gpu_select.nim │ │ ├── gpu_state.nim │ │ ├── imbuff.nim │ │ ├── mathutils_geometry.nim │ │ └── mathutils_noise.nim │ ├── uu.nim │ ├── uuid.nim │ ├── venv.nim │ ├── warnings.nim │ ├── webbrowser.nim │ ├── winsound.nim │ ├── zipapp.nim │ └── zlib.nim └── wiki_changelog_2022.md
Condensed preview — 240 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,730K chars).
[
{
"path": ".gitattributes",
"chars": 29,
"preview": "*.* linguist-language=Python\n"
},
{
"path": ".github/FUNDING.yml",
"chars": 84,
"preview": "custom: [\"https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e\"]\n"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yml",
"chars": 8552,
"preview": "name: \"BUG Report\"\ndescription: \"Create a new Bug report.\"\ntitle: \"[bug] \"\nlabels: [\"unconfirmed\"]\nass"
},
{
"path": ".github/ISSUE_TEMPLATE/config.yml",
"chars": 197,
"preview": "blank_issues_enabled: false\ncontact_links:\n - name: Sponsor this Project\n url: https://gist.github.com/juancarlospac"
},
{
"path": ".github/workflows/add-stars.yml",
"chars": 446,
"preview": "name: Add Stars\n\non: [watch]\n\njobs:\n addstars:\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@v1\n "
},
{
"path": ".github/workflows/antispamm.yml",
"chars": 599,
"preview": "name: Pull Request AntiSpamm\non: [pull_request]\njobs:\n automation:\n name: Repo Automation\n runs-on: ubuntu-latest"
},
{
"path": ".github/workflows/build.yml",
"chars": 1769,
"preview": "name: Build\non: [push, pull_request]\n\njobs:\n build:\n if: \"!contains(github.event.head_commit.message, '[skip ci]')\"\n"
},
{
"path": ".github/workflows/stale.yml",
"chars": 1086,
"preview": "name: Stale Issues & PRs\n\non:\n schedule:\n - cron: '0 0 * * *'\n # workflow_dispatch:\n\njobs:\n mark_stale:\n name: "
},
{
"path": ".github/workflows/welcome-new-users.yml",
"chars": 7334,
"preview": "name: Welcome New Users\n\non: [pull_request, issues]\n\njobs:\n greeting:\n runs-on: ubuntu-latest\n steps:\n - uses:"
},
{
"path": ".github/workflows/wiki-on-edit.yml",
"chars": 1007,
"preview": "# Wiki automated monitoring/antispam/changelog.\nname: Wiki On Edit\non: gollum # https://docs.github.com/en/actions/usin"
},
{
"path": ".gitignore",
"chars": 63,
"preview": "nimcache/\nnimblecache/\nhtmldocs/\ntemp.nim\ntemp.py\n_private.nim\n"
},
{
"path": ".pre-commit-config.yaml",
"chars": 1347,
"preview": "# Multi-Language Static Analysis.\n# Install on local: pip install pre-commit pre-commit-hooks\n# Force Run: "
},
{
"path": "LICENSE",
"chars": 1068,
"preview": "MIT License\n\nCopyright (c) 2021 Juan Carlos\n\nPermission is hereby granted, free of charge, to any person obtaining a cop"
},
{
"path": "README.md",
"chars": 26705,
"preview": "# Alternative StdLib for Nim for Python targets\n\n\n\n = discard nimpy.pyImport(\"atex"
},
{
"path": "src/cpython/base64.nim",
"chars": 2011,
"preview": "## * https://docs.python.org/3.10/library/base64.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\""
},
{
"path": "src/cpython/binascii.nim",
"chars": 1771,
"preview": "## * https://docs.python.org/3.10/library/binascii.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImp"
},
{
"path": "src/cpython/binhex.nim",
"chars": 239,
"preview": "## * https://docs.python.org/3.10/library/binhex.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImport(\"binhex\""
},
{
"path": "src/cpython/bisect.nim",
"chars": 593,
"preview": "## https://docs.python.org/3.12/library/bisect.html\nimport nimpy\n\ntemplate X(simbol; a, b, c): int = nimpy.pyImport(\"bis"
},
{
"path": "src/cpython/builtins.nim",
"chars": 4044,
"preview": "## * https://docs.python.org/3.10/library/builtins.html\n## * https://docs.python.org/3/library/stdtypes.html\nimport nimp"
},
{
"path": "src/cpython/bz2.nim",
"chars": 400,
"preview": "## * https://docs.python.org/3.10/library/bz2.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"bz2\")."
},
{
"path": "src/cpython/calendar.nim",
"chars": 2459,
"preview": "## https://docs.python.org/3.12/library/calendar.html\nimport nimpy\n\ntemplate X(simbol): auto =\n when declared result: n"
},
{
"path": "src/cpython/cmath.nim",
"chars": 2145,
"preview": "## * https://docs.python.org/3.10/library/cmath.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"cmat"
},
{
"path": "src/cpython/codecs.nim",
"chars": 689,
"preview": "## * https://docs.python.org/3.10/library/codecs.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"codecs\")."
},
{
"path": "src/cpython/codeop.nim",
"chars": 251,
"preview": "## * https://docs.python.org/3.10/library/codeop.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImport(\"codeop\""
},
{
"path": "src/cpython/colorsys.nim",
"chars": 936,
"preview": "## * https://docs.python.org/3.10/library/colorsys.html\nimport nimpy\n\ntemplate X(simbol; a, b, c): auto = nimpy.pyImport"
},
{
"path": "src/cpython/compileall.nim",
"chars": 1119,
"preview": "## * https://docs.python.org/3.10/library/compileall.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nim"
},
{
"path": "src/cpython/copy.nim",
"chars": 221,
"preview": "## * https://docs.python.org/3.10/library/copy.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"copy\").simb"
},
{
"path": "src/cpython/crypt.nim",
"chars": 491,
"preview": "## * https://docs.python.org/3.10/library/crypt.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"cryp"
},
{
"path": "src/cpython/curses.nim",
"chars": 8529,
"preview": "## * https://docs.python.org/3.10/library/curses.html\nimport nimpy\n\ntemplate X(simbol): auto =\n when declared result: n"
},
{
"path": "src/cpython/dbd.nim",
"chars": 127,
"preview": "## * https://docs.python.org/3.10/library/dbd.html\nimport nimpy\n\nproc set_trace*() = discard nimpy.pyImport(\"dbd\").set_t"
},
{
"path": "src/cpython/decimal.nim",
"chars": 2811,
"preview": "## * https://docs.python.org/3.10/library/decimal.html\nimport nimpy\n\ntype PyDecimal* = nimpy.PyObject\n\ntemplate X(simbol"
},
{
"path": "src/cpython/dis.nim",
"chars": 957,
"preview": "## * https://docs.python.org/3.10/library/dis.html\nimport nimpy\n\ntemplate X(simbol; a, b) = discard nimpy.pyImport(\"dis\""
},
{
"path": "src/cpython/doctest.nim",
"chars": 2119,
"preview": "## * https://docs.python.org/3.10/library/doctest.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImpo"
},
{
"path": "src/cpython/ensurepip.nim",
"chars": 574,
"preview": "## * https://docs.python.org/3.10/library/ensurepip.html\nimport nimpy\n\ntemplate X(simbol): auto =\n when declared result"
},
{
"path": "src/cpython/errno.nim",
"chars": 2998,
"preview": "## * https://docs.python.org/3.10/library/errno.html\nimport nimpy\n\ntemplate `:=`(simbol; tipe: static[typedesc]) =\n let"
},
{
"path": "src/cpython/faulthandler.nim",
"chars": 850,
"preview": "## * https://docs.python.org/3.10/library/faulthandler.html\nimport nimpy\n\ntemplate X(simbol; a): auto = discard nimpy"
},
{
"path": "src/cpython/fcntl.nim",
"chars": 682,
"preview": "## * https://docs.python.org/3.10/library/fcntl.html\nimport nimpy\n\ntemplate X(simbol; a, b, c): auto = nimpy.pyImp"
},
{
"path": "src/cpython/filecmp.nim",
"chars": 710,
"preview": "## * https://docs.python.org/3.10/library/filecmp.html\nimport nimpy\n\ntemplate X(simbol) = discard nimp"
},
{
"path": "src/cpython/fnmatch.nim",
"chars": 613,
"preview": "## * https://docs.python.org/3.10/library/fnmatch.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"fn"
},
{
"path": "src/cpython/gc.nim",
"chars": 2042,
"preview": "## * https://docs.python.org/3.10/library/gc.html\nimport nimpy\n\ntemplate X(simbol; a, b) = discard nimpy.pyImport(\"gc"
},
{
"path": "src/cpython/getopt.nim",
"chars": 920,
"preview": "## * https://docs.python.org/3.10/library/getopt.html\nimport nimpy\n\ntemplate X(simbol; a, b): auto = nimpy.pyImport(\""
},
{
"path": "src/cpython/getpass.nim",
"chars": 336,
"preview": "## * https://docs.python.org/3.10/library/getpass.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"getpa"
},
{
"path": "src/cpython/gettext.nim",
"chars": 1360,
"preview": "## * https://docs.python.org/3.10/library/gettext.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.p"
},
{
"path": "src/cpython/glob.nim",
"chars": 277,
"preview": "## * https://docs.python.org/3.10/library/glob.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"glob\").s"
},
{
"path": "src/cpython/grp.nim",
"chars": 570,
"preview": "## * https://docs.python.org/3.10/library/grp.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"grp\").si"
},
{
"path": "src/cpython/gzip.nim",
"chars": 403,
"preview": "## * https://docs.python.org/3.10/library/gzip.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"gzip\""
},
{
"path": "src/cpython/hashlib.nim",
"chars": 2510,
"preview": "## * https://docs.python.org/3.10/library/hashlib.html\nfrom std/os import splitFile\nimport nimpy\nlet module = nimpy.pyIm"
},
{
"path": "src/cpython/hmac.nim",
"chars": 162,
"preview": "## * https://docs.python.org/3.10/library/hmac.html\nimport nimpy\n\nproc compare_digest*(a, b: string): bool = nimpy.pyImp"
},
{
"path": "src/cpython/html_entities.nim",
"chars": 369,
"preview": "## * https://docs.python.org/3.10/library/html.entities.html\nimport std/tables\nimport nimpy\n\ntemplate `:=`(simbol; tipe:"
},
{
"path": "src/cpython/imghdr.nim",
"chars": 244,
"preview": "## * https://docs.python.org/3.10/library/imghdr.html\nimport nimpy\n\nproc what*(file: string): string = nimpy.pyImport"
},
{
"path": "src/cpython/imp.nim",
"chars": 1520,
"preview": "## * https://docs.python.org/3.10/library/imp.html\nimport nimpy\n\ntemplate X(simbol; a, b): auto = nimpy.pyImport(\"imp\")."
},
{
"path": "src/cpython/importlib.nim",
"chars": 2072,
"preview": "## * https://docs.python.org/3.10/library/importlib.html\nimport nimpy\n\ntemplate X(simbol; a, b, c): auto = nimpy.pyImpor"
},
{
"path": "src/cpython/keyword.nim",
"chars": 439,
"preview": "## * https://docs.python.org/3.10/library/keyword.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"keyword\""
},
{
"path": "src/cpython/linecache.nim",
"chars": 605,
"preview": "## * https://docs.python.org/3.10/library/linecache.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.py"
},
{
"path": "src/cpython/logging.nim",
"chars": 1537,
"preview": "## * https://docs.python.org/3.10/library/logging.html\nimport nimpy\n\ntemplate X(simbol; a, b): auto = discard nimpy.pyIm"
},
{
"path": "src/cpython/lzma.nim",
"chars": 869,
"preview": "## * https://docs.python.org/3.10/library/lzma.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport("
},
{
"path": "src/cpython/marshal.nim",
"chars": 244,
"preview": "## * https://docs.python.org/3.10/library/marshal.html\nimport nimpy\n\ntemplate X(simbol; a, b): auto = nimpy.pyImport(\"ma"
},
{
"path": "src/cpython/math.nim",
"chars": 4253,
"preview": "## * https://docs.python.org/3.10/library/math.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nim"
},
{
"path": "src/cpython/mimetypes.nim",
"chars": 1490,
"preview": "## * https://docs.python.org/3.10/library/mimetypes.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImp"
},
{
"path": "src/cpython/nis.nim",
"chars": 373,
"preview": "## * https://docs.python.org/3.10/library/nis.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"nis\")."
},
{
"path": "src/cpython/ntpath.nim",
"chars": 2084,
"preview": "## * https://github.com/python/cpython/blob/main/Lib/ntpath.py\n## * You may want to use this because in Python has faste"
},
{
"path": "src/cpython/operator.nim",
"chars": 5026,
"preview": "## * https://docs.python.org/3.10/library/operator.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport"
},
{
"path": "src/cpython/os.nim",
"chars": 16458,
"preview": "## * https://docs.python.org/3.10/library/os.html\nimport nimpy\n\ntemplate Y(simbol; a): auto = nimpy.pyImport(\"os.path"
},
{
"path": "src/cpython/pickle.nim",
"chars": 585,
"preview": "## * https://docs.python.org/3.10/library/pickle.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"pic"
},
{
"path": "src/cpython/pickletools.nim",
"chars": 184,
"preview": "## * https://docs.python.org/3.10/library/pickletools.html\nimport nimpy\n\nproc optimize*(picklestring: string): string = "
},
{
"path": "src/cpython/pkgutil.nim",
"chars": 178,
"preview": "## * https://docs.python.org/3.10/library/pkgutil.html\nimport nimpy\n\nproc extend_path*(path, name: string): string = nim"
},
{
"path": "src/cpython/posixpath.nim",
"chars": 2093,
"preview": "## * https://github.com/python/cpython/blob/main/Lib/posixpath.py\n## * You may want to use this because in Python has fa"
},
{
"path": "src/cpython/pprint.nim",
"chars": 636,
"preview": "## * https://docs.python.org/3.10/library/pprint.html\nimport nimpy\n\ntemplate X(simbol; a, b, c, d): auto = nimpy.pyImpor"
},
{
"path": "src/cpython/pwd.nim",
"chars": 639,
"preview": "## * https://docs.python.org/3.10/library/pwd.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"pwd\").sim"
},
{
"path": "src/cpython/py_compile.nim",
"chars": 634,
"preview": "## * https://docs.python.org/3.10/library/py_compile.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy."
},
{
"path": "src/cpython/quopri.nim",
"chars": 467,
"preview": "## * https://docs.python.org/3.10/library/quopri.html\nimport nimpy\n\ntemplate X(simbol; a, b): auto = nimpy.pyImport(\""
},
{
"path": "src/cpython/random.nim",
"chars": 3453,
"preview": "## * https://docs.python.org/3.10/library/random.html\nimport nimpy\n\ntemplate X(simbol): auto =\n when declared result: n"
},
{
"path": "src/cpython/re.nim",
"chars": 1103,
"preview": "## * https://docs.python.org/3.10/library/re.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy."
},
{
"path": "src/cpython/readline.nim",
"chars": 2833,
"preview": "## * https://docs.python.org/3.10/library/readline.html\nimport nimpy\n\ntemplate X(simbol) = discard nim"
},
{
"path": "src/cpython/reprlib.nim",
"chars": 148,
"preview": "## * https://docs.python.org/3.10/library/reprlib.html\nimport nimpy\n\nproc repr*(obj: auto): string = nimpy.pyImport(\"rep"
},
{
"path": "src/cpython/resource.nim",
"chars": 1916,
"preview": "## * https://docs.python.org/3.10/library/resource.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"r"
},
{
"path": "src/cpython/runpy.nim",
"chars": 245,
"preview": "## * https://docs.python.org/3.10/library/runpy.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImport(\"runpy\")."
},
{
"path": "src/cpython/secrets.nim",
"chars": 1476,
"preview": "## * https://docs.python.org/3.10/library/secrets.html\nimport nimpy\nconst module = \"secrets\"\n\ntemplate X(simbol): auto ="
},
{
"path": "src/cpython/shutil.nim",
"chars": 3218,
"preview": "## * https://docs.python.org/3.10/library/shutil.html\nimport nimpy\n\nconst module = \"shutil\"\ntemplate X(simbol): auto =\n "
},
{
"path": "src/cpython/signal.nim",
"chars": 1503,
"preview": "## * https://docs.python.org/3.10/library/signal.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImport"
},
{
"path": "src/cpython/site.nim",
"chars": 1141,
"preview": "## * https://docs.python.org/3.10/library/site.html\nimport nimpy\n\ntemplate X(simbol; a, b) = discard nimpy.pyImport(\"sit"
},
{
"path": "src/cpython/sndhdr.nim",
"chars": 400,
"preview": "## * https://docs.python.org/3.10/library/sndhdr.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"sndhdr"
},
{
"path": "src/cpython/spwd.nim",
"chars": 526,
"preview": "## * https://docs.python.org/3.10/library/spwd.html\nimport nimpy\n\ntemplate X(simbol): auto = nimpy.pyImport(\"spwd\").s"
},
{
"path": "src/cpython/ssl.nim",
"chars": 584,
"preview": "## * https://docs.python.org/3.10/library/ssl.html\nimport nimpy\n\ntemplate `:=`(simbol; tipe: static[typedesc]) =\n let s"
},
{
"path": "src/cpython/statistics.nim",
"chars": 3665,
"preview": "## * https://docs.python.org/3.10/library/statistics.html\nfrom std/os import splitFile\nimport nimpy\n\nlet module = nimpy."
},
{
"path": "src/cpython/stringprep.nim",
"chars": 1112,
"preview": "## https://docs.python.org/3.12/library/stringprep.html\nimport nimpy\n\ntemplate X(simbol): bool = nimpy.pyImport(\"stringp"
},
{
"path": "src/cpython/strings.nim",
"chars": 862,
"preview": "## https://docs.python.org/3.12/library/string.html\nimport nimpy\n\ntype Template* = nimpy.PyObject\n\ntemplate `:=`(simbol;"
},
{
"path": "src/cpython/struct.nim",
"chars": 1154,
"preview": "## * https://docs.python.org/3.10/library/struct.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyIm"
},
{
"path": "src/cpython/subprocess.nim",
"chars": 1035,
"preview": "## * https://docs.python.org/3.10/library/subprocess.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"su"
},
{
"path": "src/cpython/sys.nim",
"chars": 3674,
"preview": "## * https://docs.python.org/3.10/library/sys.html\nimport nimpy\n\ntemplate X(simbol): auto =\n when declared result: nimp"
},
{
"path": "src/cpython/sysconfig.nim",
"chars": 1220,
"preview": "## * https://docs.python.org/3.10/library/sysconfig.html\nimport nimpy\n\ntemplate X(simbol; a): auto = nimpy.pyImport(\"sys"
},
{
"path": "src/cpython/syslog.nim",
"chars": 1531,
"preview": "## * https://docs.python.org/3.10/library/syslog.html\nimport nimpy\n\ntemplate X(simbol) = discard nimpy.pyImport"
}
]
// ... and 40 more files (download for full content)
About this extraction
This page contains the full source code of the juancarlospaco/cpython GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 240 files (3.4 MB), approximately 890.1k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.