Skip to content

Releases: ValentinVignal/EpicPath

Remove print

08 Jun 10:12
Compare
Choose a tag to compare

Remove some forgotten print

walk and walkfiles

27 Apr 07:00
Compare
Choose a tag to compare

Add the methods

  • .walk(t='epic') to perform an os.walk()
  • .walkfiles(t='epic') to return all the files in a directory + sub directories

Update documentation

listdir

24 Apr 13:48
Compare
Choose a tag to compare
listdir Pre-release
Pre-release
  • .listdir method
  • several static methods to test type of inputs

Fix bugs

26 Feb 16:52
Compare
Choose a tag to compare
Fix bugs Pre-release
Pre-release
  • Fix NoneType error for method .rename() for python <= 3.7

Fix some tip bugs

24 Feb 15:33
Compare
Choose a tag to compare
Fix some tip bugs Pre-release
Pre-release
  • Add a documentation
  • Fix returned type for the methods .resolve(), .with_name(), .with_suffix(), .rename()

Make a personal project work with epicpath

19 Feb 17:18
Compare
Choose a tag to compare
  • Fix some maximum recursion errors because of the __getattr__ method
  • add the property .path which is the same as .p
  • Fix some type errors in the methods __eq__ and to_path()

Change folder root name

19 Feb 11:44
Compare
Choose a tag to compare
Pre-release

Change the folder name from "EpicPath" to "epicpath"

v0.0.2

14 Feb 14:56
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release
  • property rstem which returns the name without any extension (stem only removes one extension)
  • methods get_unique, and be_unique: find a new name so the path doesn't already exist

    file.txt -> file_1.txt if file.txt, file_0.txt already exist

Integrate basic functionnalities

13 Feb 16:42
Compare
Choose a tag to compare
Pre-release
  • The basic foncionnalities of Path are integreted in EpicPath
  • __rtruediv__ is not working with path : Path / EpicPath will raise an error 😞
    • You should use __rfloordiv__ instead : Path // EpicPath 👍
    • __floordiv__ should work with everything Path was working (with __truediv__)
  • Add the comparaison a < b means the file/folder a is included in the folder b
  • property .str with is a shorter name for as_posix()
  • property abs : return the absolute path (os.path.abspath) as an EpicPath class
  • In place modification with the functions/methods:
    • +=
    • /=
    • .add() (equivalent to +=)
    • .append() (equivalent to /=)
    • .extend() (equivalent to several /=)

Introduction to EpicPath

09 Feb 14:57
Compare
Choose a tag to compare
Pre-release
v0.0.0

Add __add__, str, mkdir, rm methods