Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boltons/README.md at master · mahmoud/boltons #868

Open
1 task
ShellLM opened this issue Aug 3, 2024 · 1 comment
Open
1 task

boltons/README.md at master · mahmoud/boltons #868

ShellLM opened this issue Aug 3, 2024 · 1 comment
Labels
Git-Repo Source code repository like gitlab or gh github gh tools like cli, Actions, Issues, Pages python Python code, tools, info source-code Code snippets

Comments

@ShellLM
Copy link
Collaborator

ShellLM commented Aug 3, 2024

Boltons

boltons should be builtins.

docs
PyPI
Conda
MacPorts
Python versions
calver

Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously missing from — the standard library, including:

Full and extensive docs are available on Read The Docs. See what's new by checking the CHANGELOG.

Boltons is tested against Python 3.7-3.12, as well as PyPy3.

Installation

Boltons can be added to a project in a few ways. There's the obvious one:

pip install boltons

On macOS, it can also be installed via MacPorts:

sudo port install py-boltons

Then, thanks to PyPI, dozens of boltons are just an import away:

from boltons.cacheutils import LRU
my_cache = LRU()

However, due to the nature of utilities, application developers might want to consider other options, including vendorization of individual modules into a project. Boltons is pure-Python and has no dependencies. If the whole project is too big, each module is independent, and can be copied directly into a project. See the Integration section of the docs for more details.

Third-party packages

The majority of boltons strive to be "good enough" for a wide range of basic uses, leaving advanced use cases to Python's myriad specialized 3rd-party libraries. In many cases the respective boltons module will describe 3rd-party alternatives worth investigating when use cases outgrow boltons. If you've found a natural "next-step" library worth mentioning, see the next section!

Gaps

Found something missing in the standard library that should be in boltons? Found something missing in boltons? First, take a moment to read the very brief architecture statement to make sure the functionality would be a good fit.

Then, if you are very motivated, submit a Pull Request. Otherwise, submit a short feature request on the Issues page, and we will figure something out.

Suggested labels

None

@ShellLM ShellLM added Git-Repo Source code repository like gitlab or gh github gh tools like cli, Actions, Issues, Pages python Python code, tools, info source-code Code snippets labels Aug 3, 2024
@ShellLM
Copy link
Collaborator Author

ShellLM commented Aug 3, 2024

Related content

#730 similarity score: 0.89
#743 similarity score: 0.89
#808 similarity score: 0.88
#848 similarity score: 0.87
#754 similarity score: 0.87
#678 similarity score: 0.86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Git-Repo Source code repository like gitlab or gh github gh tools like cli, Actions, Issues, Pages python Python code, tools, info source-code Code snippets
Projects
None yet
Development

No branches or pull requests

1 participant