Giter Club home page Giter Club logo

renamerename's People

Contributors

mhmdkanj avatar

Watchers

 avatar

renamerename's Issues

Add a dev requirements file

A dev-requirements.txt file can include

  • pytest
  • pytest-mock

The docs should be adapted accordingly (in the Test section of the README)

Mock datetime for save_transformation_to_json test

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"

Index file disappearing from gh-pages branch

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.

Serialize and deserialize rename results

Saving the filename transformations to file or reading them from file could:

  • make it easier to undo a bulk rename execution
  • execute renaming based on an input csv file with explicit transformations

Package Python module

Package the 'renamerename' module as a Python package which can be installed with pip.

Autogenerate documentation for package

Possibly use Sphinx autodoc or the like to be able to serve a readthedocs kind of pages.

  • autogenerate API reference
  • review landing page and docs generated
  • host the docs in GitHub Pages or readthedocs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.