Skip to main content

Easily add common paths to sys.path

Project description

PyPI Python Versions

Codeship Status for albertyw/syspath Dependency Status Code Climate Test Coverage

SysPath is a package to easily set common paths into sys.path. Instead of having to do a lot of path manipulation to properly import files, a file can import from SysPath instead.

Installation

pip install syspath

Usage

To append the current file’s directory to sys.path:

import syspath
syspath.append_current_path()
# or
from syspath import current_path

Development

pip install -r requirements-test.txt
coverage run setup.py test
coverage report
flake8

Publishing

pip install twine
python setup.py sdist bdist_wheel
twine upload dist/*

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

syspath-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

syspath-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file syspath-0.1.1.tar.gz.

File metadata

  • Download URL: syspath-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for syspath-0.1.1.tar.gz
Algorithm Hash digest
SHA256 33fccc8ef0a673af53eb69d97626cfddda918a08994d81ba1389cbf76103d3c9
MD5 d19918782ff549bf267449cf6ab5dee4
BLAKE2b-256 8ec2f818767417681f039fc543266466028b6a3ea3d3b58f443c68e098e872d1

See more details on using hashes here.

File details

Details for the file syspath-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for syspath-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 82275d3ce6c13c6fe9fc05d70870f4280847d2023e0a3b8d2ffe61b83b4fc922
MD5 1955f60be9b8f783a5d4f97323176088
BLAKE2b-256 0307b4e34324508155df3d3283c9758a14ce52165740845ff6f865459c33566b

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