mhmdkanj / renamerename Goto Github PK
View Code? Open in Web Editor NEWBulk renaming of files made easy
License: MIT License
Bulk renaming of files made easy
License: MIT License
The components that are not yet 100% covered include:
Upon committing an index.html
file at the root, which redirects to the index file inside the html
folder, the file disappears after changes had been merged from the main branch.
Saving the filename transformations to file or reading them from file could:
Not only should the user be able to filter by regex, but also via file properties, including but not limited to:
def test_save_transformation_to_json(self, transformation_encoder, file_transformation, tmp_path, mocker):
date_mocker = mocker.patch('renamerename.executor.encoder_decoder.datetime')
date_mocker.now.strftime.return_value = "X"
transformation_encoder.save_transformation_to_json(tmp_path, file_transformation)
assert 1 == 1
mocker.resetall()
The call generated by the patched object is not returning the required value "X"
Add a section in the README on how to build the documentation -- via:
cd docs
make html
The linked docs on GitHub Pages are not up-to-date with the current README and package version from the main branch.
Possibly use Sphinx autodoc or the like to be able to serve a readthedocs
kind of pages.
Complement the already existing unit tests with integration tests that basically test app.py
, which includes:
Probably use flake8
or an auto-formatter for static Python code style compliance checks.
Currently, a FileTransformation instance needs a list of filenames to initialize a name to name mapping.
This should be done in a separate (class method), meanwhile the constructor should initialize from a provided dict object.
Old commits contain my old email address - which is not attributed to GitHub.
Package the 'renamerename' module as a Python package which can be installed with pip.
A dev-requirements.txt file can include
The docs should be adapted accordingly (in the Test section of the README)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.