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
.listdir
method- 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
.path
which 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
rstem
which returns the name without any extension (stem
only removes one extension) - methods
get_unique
, andbe_unique
: find a new name so the path doesn't already existfile.txt
->file_1.txt
iffile.txt
,file_0.txt
already exist
Integrate basic functionnalities
- The basic foncionnalities of
Path
are integreted inEpicPath
__rtruediv__
is not working with path :Path / EpicPath
will raise an error 😞- You should use
__rfloordiv__
instead :Path // EpicPath
👍 __floordiv__
should work with everythingPath
was working (with__truediv__
)
- You should use
- Add the comparaison
a < b
means the file/folder a is included in the folder b - property
.str
with is a shorter name foras_posix()
- property
abs
: return the absolute path (os.path.abspath
) as anEpicPath
class - 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