Skip to main content

Easily add common paths to sys.path

Project description

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.0.1.tar.gz (2.2 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.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for syspath-0.0.1.tar.gz
Algorithm Hash digest
SHA256 41556749462c45060343972239d76d281b172100a1ae5013cf9db7d1bc9d1fa9
MD5 947c39d4af6e19cd960e2d2e6e3d9aba
BLAKE2b-256 b5768b09b6679ca99efd72c5f99378886d8ec592459dfa103dd597a9b374fd04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for syspath-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3484069098dc904ab5d8266665a421c67c76ddb8fb8ae0b6646c1488ce453d7
MD5 5ab66780d7b3c76164fe91a4df81819c
BLAKE2b-256 bc92e296e574f3f4e4a5dfb2061741522822b8d048cfa6bc45ac319a5e9b7dd8

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