ooq
Quick access to code favorites.
We all have our go-to utils and awesome tools. Some of us are annoyed at having to type long dotpaths to the object we want to import. Some of us probably forget where that particular object is in the first place.
This is to mitigate that.
Instead do this:
from ooq.my_medley import that_object
Also have several my_medley sets of favorites, since what you'll need depends on the context.
Word of advice: This tool is meant for the quick-and-dirty development context
Don't use this for production or any long-term code. It's meant for pulling things together quickly. Once the code matures, you should import "normally".
Usage
See what modules are available to import
>>> from ooq import source_module_names
>>> source_module_names
['tw', 'ca']
See what that module is about (if the author cared to say)
>>> from ooq import tw
>>> print(tw.__doc__)
A medley of my most frequently used tools.
Import it (as a module object)
from ooq import tw
# or from ooq import tw as my_own_name
Inject the module's contents in your current namespace (if you're that type)
from ooq.tw import *
Inject everything there is in your namespace (but expect unpredictable name collisions)
from ooq import *
Metadata
Release files for ooq 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ooq-0.0.2.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ooq-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.3 kB
Release files / ooq-0.0.2.tar.gz
| Download URL | ooq-0.0.2.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1cb16ae95d4c57f9da3b0d864467c95cc7e305a0b9b860193c42223aa6e0849d
|
|
BLAKE2b-256 checksum How to use checksums |
26ce00fb85451624d12e92afee1e07a0e7645cda62edb0ca69439e71442229e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2
|
Release files / ooq-0.0.2-py3-none-any.whl
| Download URL | ooq-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e10dfbb6d91c85ff96de6ca99869a931535fdfb2512214a6a7cee5585c8feec
|
|
BLAKE2b-256 checksum How to use checksums |
be8df91cd00b56839e55fe77ce564e54ef63c0d822eb9c6ca9d634627cc65520
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2
|