Skip to main content

The 'pyfilesysobjects' package provides utilities for usage of the filesystem as a class tree containing files as objects. The package also contains an extended replacement 'normpathX' for 'os.path.normpath'.

Project description

The ‘filesysobjects’ package provides utilities for the application of basic object oriented features onto filesystems. This includes basic coverage of the ‘inspect’ package for the simplified gathering of information on packages, modules, and files.

The provided feature modules comprise the following list. For code examples refer to ‘filesysobjects.UseCases’.

The package ‘filesysobjects’ is a spin off from the project ‘UnifiedSessionsManager-2.0’, see ‘https://sourceforge.net/projects/ctys/’.

The main interface classes are:

  • FileSysObjects - Filesystem objects.

For UseCases refer to subdirectory:

  • UseCases

Downloads:

Online documentation:

setup.py

The installer adds a few options to the standard setuptools options.

  • build_sphinx: Creates documentation for runtime system by Sphinx, html only. Calls ‘callDocSphinx.sh’.

  • build_epydoc: Creates documentation for runtime system by Epydoc, html only. Calls ‘callDocEpydoc.sh’.

  • instal_doc: Install a local copy of the previously build documents in accordance to PEP-370.

  • test: Runs PyUnit tests by discovery.

  • –help-filesysobjects: Displays this help.

  • –no-install-required: Suppresses installation dependency checks, requires appropriate PYTHONPATH.

  • –offline: Sets online dependencies to offline, or ignores online dependencies.

  • –exit: Exit ‘setup.py’.

After successful installation the ‘selftest’ verifies basic checks by:

filesysobjects –selftest

with the exit value ‘0’ when OK.

The option ‘-v’ raises the degree of verbosity for inspection

filesysobjects –selftest -v -v -v -v

Project Data

  • PROJECT: ‘filesysobjects’

  • MISSION: Extend the standard PyUnit package for arbitrary ExecUnits.

  • VERSION: 00.01

  • RELEASE: 00.01.008

  • NICKNAME: ‘Yggdrasil’

  • STATUS: alpha

  • AUTHOR: Arno-Can Uestuensoez

  • COPYRIGHT: Copyright (C) 2010,2011,2015-2016 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez

  • LICENSE: Artistic-License-2.0 + Forced-Fairplay-Constraints Refer to enclose documents:

    • ArtisticLicense20.html - for base license: Artistic-License-2.0

    • licenses-amendments.txt - for amendments: Forced-Fairplay-Constraints

VERSIONS and RELEASES

Planned Releases:

  • RELEASE: 00.00.00x - Pre-Alpha: Extraction of the features from hard-coded application into a reusable package.

  • RELEASE: 00.01.00x - Alpha: Completion of basic features.

  • RELEASE: 00.02.00x - Alpha: Completion of features, stable interface.

  • RELEASE: 00.03.00x - Beta: Accomplish test cases for medium to high complexity.

  • RELEASE: 00.04.00x - Production: First production release. Estimated number of UnitTests := 1250.

  • RELEASE: 00.05.00x - Production: Various performance enhancements.

  • RELEASE: 00.06.00x - Production: Security review.

  • RELEASE: > - Production: Stable and compatible continued development.

Current Release: 00.01.012 - Alpha:

OS-Support - Tested by PyUnit/Eclipse with Success:

  • Linux: Fedora - others should work, ToDo: CentOS, Debian, and SuSE

  • Windows: Win10 - others see Cygwin

  • Mac-OS: Snow Leopard - others should work - the last changes are not yet tested on Mac-OS

  • Cygwin: 2.874/64 bit

OS-Support - ToDo: Going to follow soon.

  • BSD: ToDo: OpenBSD, FreeBSD - others should work

  • UNIX: ToDo: Solaris-11 - should work

Python support: 2.6, and 2.7

Major Changes:

  • Introduction of Python-2.6 support for legacy systems

  • Minor fixes.

  • Documentation enhancements.

  • Added ‘splitPathVar’ with full scope of supported URI’s, same as ‘splitAppPrefix’.

  • Parameter ‘subsplit’.

  • Canonical functions for user directories.

ToDo:

  • Full scale UNC

  • Fix bugs in SMB share conversion

  • Test for remote and autonomous operations on arbitrary filesystems

Known Issues:

  • Some minor failures of units, 1 on MacOS, will be fixed for a.s.a.p.

  • Mixed types of os.path.sep with multiple groups of each: Escape to target, but does not clean all redundant.

Current test status:

  • UnitTests: >1000

  • Use-Cases as UnitTests: >120

Total: >1100

nn

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

pyfilesysobjects-0.1.12.tar.gz (380.0 kB view details)

Uploaded Source

Built Distributions

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

pyfilesysobjects-0.1.12.linux-x86_64.tar.gz (59.4 kB view details)

Uploaded Source

pyfilesysobjects-0.1.12.linux-x86_64.exe (102.4 kB view details)

Uploaded Source

pyfilesysobjects-0.1.12-1.src.rpm (372.1 kB view details)

Uploaded Source

pyfilesysobjects-0.1.12-1.noarch.rpm (52.3 kB view details)

Uploaded Source

File details

Details for the file pyfilesysobjects-0.1.12.tar.gz.

File metadata

File hashes

Hashes for pyfilesysobjects-0.1.12.tar.gz
Algorithm Hash digest
SHA256 a34014041fefd172cc10d96dade9dd725591cf7dc88453b66505fa9b882e56d7
MD5 208c576dbc3a058fbfd06e0b1b3f687e
BLAKE2b-256 c8209494fbbb6692806071555f0e4cdb45ca6535219cdb4d982e0b854b42fa52

See more details on using hashes here.

File details

Details for the file pyfilesysobjects-0.1.12.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for pyfilesysobjects-0.1.12.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 03429c801efd9aba54c5579adc4fa874a18b7eb830f3838e73572ebfa252e7e1
MD5 5d8e786779778df5d86f750ff793684e
BLAKE2b-256 d60daa61a863defeded856de4f453cec25fbddb337dc6e600ce476028e73f80c

See more details on using hashes here.

File details

Details for the file pyfilesysobjects-0.1.12.linux-x86_64.exe.

File metadata

File hashes

Hashes for pyfilesysobjects-0.1.12.linux-x86_64.exe
Algorithm Hash digest
SHA256 a0d5b71d82c130614ed6efeee78d12b6dd89de371c9cf1987b1761f4731a53ed
MD5 547e117c92e42ee36d6744ddaeaa9682
BLAKE2b-256 d0ac35992eeda3001aef517ca4783b33798fe5cf8745597aa0a9d423b57291d2

See more details on using hashes here.

File details

Details for the file pyfilesysobjects-0.1.12-1.src.rpm.

File metadata

File hashes

Hashes for pyfilesysobjects-0.1.12-1.src.rpm
Algorithm Hash digest
SHA256 f6f4ef38024683cbfa807ab2226fcf48f5ac49b77ae244c3bc7a8cb236077216
MD5 dd2cf679d5058783e9e07b079d4ea48d
BLAKE2b-256 1426c49722f7a96bda3716374ef5bbbc862073737da0366ced961b60dc2c199e

See more details on using hashes here.

File details

Details for the file pyfilesysobjects-0.1.12-1.noarch.rpm.

File metadata

File hashes

Hashes for pyfilesysobjects-0.1.12-1.noarch.rpm
Algorithm Hash digest
SHA256 06c3dbabc66b275a8d45021e7ec6d279ee71b90f9fd5c2c3602ff9423d553a17
MD5 f6d6ece42a2aedeff232b8876cc21e1b
BLAKE2b-256 48c6ca8e590f0967b6c0b37aeb2102994948c9688dc76eaab2a30f3497b39c9c

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