Skip to content

Software Deployement project : Deployement of a "package" on text processing called bstools (for Basic string tools)

License

Notifications You must be signed in to change notification settings

AnissaE/Basic-string-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software_deployement

Introduction

This is a project given to 4 year Bio-Informatics and Modelling students of INSA of Lyon. In our Software Deployement courses, we were asked to deploye a python module.

This git repository is where you can find our "Basic String Tools" package. We wrote for you some functions in Python3 so that you can play a little with some words (string type).

If you want to learn more about it after you finished the README, you'll be pleased to learn that we also have a github webpage !

Coded functions

You may play with words by using a few functions we coded. They are :

  • char_freq : Get the number of time each character of your string can be found, taking into account if you want so the case of the character.
  • are_anagrams : Find whether or not two strings are anagrams.
  • letters_only : Keep only the letters of your string.
  • remove : Remove the first occurrence of a string X in a string Y.
  • remove_all : Remove all occurrences of a string X in a string Y.

If you need more details, please see our readthedocs page.

Install the package

Prerequisites

Just make sure that you do have Python3. You do not need any other software to have our module working.

Install command

First, open a shell in the folder where you want to download the module. You can then write the following instructions:

#On Windows
pip.exe install -i https://test.pypi.org/simple/ --no-deps bstools

#On Linux
pip install -i https://test.pypi.org/simple/ --no-deps bstools

Running tests

You can find some test commands with the results you should obtain in the docstring.

Docker

You'll find our project in Dockerhub with the name bstools_playwords (file from mendioca0205). The Docker pull command is :

docker pull mendioca0205/bstools_playwords

TODO

  • Upgrade remove_all so that it works with something like "lololle" (it becomes "le" when it should be "lole")
  • Test all possibilities of our functions

Authors

Everyone of us is a 4 year student at INSA of Lyon in the Bio-Informatics and Modelling Department.

  • Armande CIROT - Passionnate about drama, she is a slow learner. Yet she is enthusiastic and brings dynamism in her working groups.
  • Anissa EL MARAHI - A born singer, this Moroccan princess is the sunshine of our days and will regret all her life teaching us some specific arabic words.
  • Claire LEMONNIER - Hardworking and willing to learn as much as she can, she is currently filling up her confinement days with courses and projects and learning foreign languages. We hope she doesn't forget to work her salsa and kizomba.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Software Deployement project : Deployement of a "package" on text processing called bstools (for Basic string tools)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages