A package designed to help you find foo.
Project description
A package designed to help you find foo. FooFinder makes relative imports easy with this one simple trick!
Installation:
pip install FooFinder
Usage:
from FooFinder import MySuperAwesomeModule
FooFinder will walk up to each parent directory, and down to each child directory, from the location of your current module. FooFinder will import and return the first module or package that it finds with the name you give it.
Other ways to use FooFinder:
Using a namespace:
from FooFinder import CoolStuff as SuperCoolStuff
Importing a package:
from FooFinder import MyNiftyPackage
FooFinder can find the package you're currently in, a package from a parent directory, or a package from a child directory. Modules within packages will be found as if they were folders.
See the test module for example usage and complete test coverage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FooFinder-2.0.2.tar.gz
(12.4 kB
view hashes)
Built Distribution
FooFinder-2.0.2-py3-none-any.whl
(12.5 kB
view hashes)
Close
Hashes for FooFinder-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa57e0eca7731004b9601fc30d25b35d04dec3e349d8928ab48b1e1746d23d35 |
|
MD5 | 352b3cae84b8d9b38e0a13c29c6b7ef8 |
|
BLAKE2b-256 | 894cb14699f213a219e8fe55427d7b8da13f7826ebc45f67eb4f2038581b0600 |