Skip to main content

Quick access to code favorites

Project description

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 *

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ooq-0.0.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ooq-0.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file ooq-0.0.2.tar.gz.

File metadata

  • Download URL: ooq-0.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ooq-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1cb16ae95d4c57f9da3b0d864467c95cc7e305a0b9b860193c42223aa6e0849d
MD5 a7fff1146cbec1ec7df1fa6f7c8aa8a4
BLAKE2b-256 26ce00fb85451624d12e92afee1e07a0e7645cda62edb0ca69439e71442229e2

See more details on using hashes here.

File details

Details for the file ooq-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ooq-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ooq-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e10dfbb6d91c85ff96de6ca99869a931535fdfb2512214a6a7cee5585c8feec
MD5 9498d35893719577050d5e4deb574887
BLAKE2b-256 be8df91cd00b56839e55fe77ce564e54ef63c0d822eb9c6ca9d634627cc65520

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page