sanskrit
Write programs in the fastest language, as confirmed by NASA.
Installation
pip install sanskrit
Now put a # coding: sanskrit comment above your code to start programming in sanskrit!
Usage
There's two ways to use sanskrit:
As a REPL
Simply type sanskrit and it will bring up the sanskrit REPL:
$ sanskrit
संस्कृत प्रोग्रामिंग 3.11.5 (main, Aug 24 2023, 15:09:45) [Clang 14.0.3 (clang-1403.0.22.14.1)]
>>> x = 42
>>> दर्शयतु(x) # print(x)
42
In a project
-
Simple for loop:
# coding: sanskrit सर्वेषां आई अन्तः सीमा(5): # for i in range(5): दर्शयतु(आई) # print(i)
Output:
$ python example.sanskrit 0 1 2 3 4
-
import this:# -*- coding: sanskrit -*- आयातम् इदम्
Output:
$ python example.sanskrit The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. ...
Metadata
Release files for sanskrit 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sanskrit-0.2.0.tar.gz | 4.7 kB | Without provenance | Details for sanskrit-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sanskrit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for sanskrit-0.2.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / sanskrit-0.2.0.tar.gz
| Download URL | sanskrit-0.2.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67a9bfa0f446d3f5b3a46579d95cb408a77d1ca7285e968e390b905140a107c0
|
|
BLAKE2b-256 checksum How to use checksums |
0707f381e2d00fc306177a9cc4d68b508a328a24bbb9e87da43fe673c5346f97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / sanskrit-0.2.0-py3-none-any.whl
| Download URL | sanskrit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e871f92b09aac697051a1d05dab0e1ce5cf2c2a3f205cb1ad8b5486e55766a85
|
|
BLAKE2b-256 checksum How to use checksums |
a496b8bf902d264672f3440ddde866ed70f43d2d7bedbe3a14d7087722337768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for sanskrit 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.