Releases: ValentinVignal/EpicPath
Releases · ValentinVignal/EpicPath
Remove print
Remove some forgotten print
walk and walkfiles
Add the methods
.walk(t='epic')to perform anos.walk().walkfiles(t='epic')to return all the files in a directory + sub directories
Update documentation
listdir
.listdirmethod- several static methods to test type of inputs
Fix bugs
- Fix NoneType error for method
.rename()forpython <= 3.7
Fix some tip bugs
- Add a documentation
- Fix returned type for the methods
.resolve(),.with_name(),.with_suffix(),.rename()
Make a personal project work with epicpath
- Fix some maximum recursion errors because of the
__getattr__method - add the property
.pathwhich is the same as.p - Fix some type errors in the methods
__eq__andto_path()
Change folder root name
Change the folder name from "EpicPath" to "epicpath"
v0.0.2
- property
rstemwhich returns the name without any extension (stemonly removes one extension) - methods
get_unique, andbe_unique: find a new name so the path doesn't already existfile.txt->file_1.txtiffile.txt,file_0.txtalready exist
Integrate basic functionnalities
- The basic foncionnalities of
Pathare integreted inEpicPath __rtruediv__is not working with path :Path / EpicPathwill raise an error 😞- You should use
__rfloordiv__instead :Path // EpicPath👍 __floordiv__should work with everythingPathwas working (with__truediv__)
- You should use
- Add the comparaison
a < bmeans the file/folder a is included in the folder b - property
.strwith is a shorter name foras_posix() - property
abs: return the absolute path (os.path.abspath) as anEpicPathclass - In place modification with the functions/methods:
+=/=.add()(equivalent to+=).append()(equivalent to/=).extend()(equivalent to several/=)
Introduction to EpicPath
v0.0.0 Add __add__, str, mkdir, rm methods