This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

python file system better assertion

An assertion lib for the to assert file system stuff.

API

  • basename(dir). assert basename of a path.
  • dirname(dir). assert dirname of a path.
  • extname(file). assert file extension
  • path. assert path exists
  • file. assert it a file
  • dir. assert it a dir
  • mount. assert it a mount point
  • absolute_path. assert it an absolute path
  • readable. assert readable.
  • writable. assert writable.
  • executable assert executable

Usage:

from the import the
import thefs

the.use(thefs)

the("/a/b/c.md").should.have.basename("c.md")
the("/a/b/c.md").should.have.dirname("/a/b")
the("/a/b/c.md").should.have.extname("/a/b")

the("/a/b/c.md").should.be.a.path
the("/a/b/c.md").should.be.a.file
the("/a/b/c.md").should.be.a.dir
the("/a/b/c.md").should.be.a.link
the("/a/b/c.md").should.be.a.mount
the("/a/b/c.md").should.be.an.absolute_path

the("/a/b/c.md").should.be.readable
the("/a/b/c.md").should.be.writable
the("/a/b/c.md").should.be.executable
Release History

Release History

0.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
thefs-0.0.1.tar.gz (2.2 kB) Copy SHA256 Checksum SHA256 Source Oct 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting