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.0.tar.gz (2.4 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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syspath-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d8aa60e1d15166326a5181dedac50f484a976651f1833285835ec582a2429fa6
MD5 f1df6706460af2ed45f9b5033c50fec4
BLAKE2b-256 43e4c59cef60b141e1203491e78e909dd2055000d7a929a67685f43a1011751a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syspath-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 458aac15eb2506447e44e3d60236844f2962fa3f5c711a01e486cd1b4c24ce5f
MD5 ebd1d73597a3b7f04a7ebcbdcff34b8c
BLAKE2b-256 a01650128e49202c433cb31b0116cb0e313d85bde7d930dfb46d252629e898d8

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