Skip to main content

A package designed to help you find foo.

Project description

PyPI PyPI - Python Version Build Status

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


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.3.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

FooFinder-2.0.3-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

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