Skip to main content

Brackets

Python Brackets

Brackets is a yet-another, a not just a pre-processor, a language built on top of Python, allowing to use {} instead of indentation in Python, and it allows defining powerful anonymous functions and introduces much more sugar and candy into Python’s syntax and abilities.

Visit Brackets Website for examples and more info or read the docs. Project is hosted on github.

Some examples:

// Use braces in Python!

def fib(n) {
  a, b = 0, 1
  while (a < n) {
    print(a, end=' ')
    a, b = b, a+b
  }
  print()
}

/*
  Powerful anonymous functions
*/

print([def(x) {
  if(x in [0, 1]) {
    return x
  };
  while (x < 100) {
    x = x ** 2
  };
  return x
}(x) for x in range(0, 10)])

Visit Brackets Website for examples and more info or read the docs to know how it should be used.

Metadata

Release files for brackets 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brackets 0.6.2
File Size Uploaded Provenance
brackets-0.6.2.tar.gz 10.2 kB Without provenance Details

Release files / brackets-0.6.2.tar.gz

Download URL brackets-0.6.2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
24064a071b7edbbb44d2745d13be0b2dcbcc0315d45cde4a42d3965a94f11a02
BLAKE2b-256 checksum
How to use checksums
29ba7dd94048acf92a9aaed1ce019ce36b0a565f6bb706ba00f0360fb2564150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for brackets 0.6.2

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.

Release history Release notifications | RSS feed

This release

0.6.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page