Code Monkey home page Code Monkey logo

haladopython's Introduction

HaladoPython

Python 3.9

E feletti verziók már nem támogatják a deep-translator.

Program funkciója

Bemeneti szót átfordítja a kívánt nyelvre

Használt csomagok

flask
loguru
google-cloud-translate
google-auth
deep-translator

venv -et használtam (virtual environments)
venv = saját kornyezetet hoza létre ahova behuzza a szükséges modulokat/packegeket
venv -en fut a program

Tuple

Itt lehet hozzáadni kivenni nyelveket és az alapértelmezett source/target nyelvet beállítani. Screenshot 2023-02-07 at 2 06 36

Fügvények

translate_text:
lefordítja a kapott szót és visszaadja a lefordított szót.
translate_text(inputtext,source_language, target_language)
return translated_word

Screenshot 2023-02-07 at 2 06 58

home: ez fügvény kezeli a requestek (POST, GET).
    Megkapja a lefordítandó szót és a source_language illetve a target_language -t.
    Majd e paraméterek alapján lefordítja a szót amit visszaad a "home.html" templatenek.

Screenshot 2023-02-07 at 2 27 25

Program használata

Első kereső mezőbe irja be a fordítani kívánt szót. Majd válassza ki hogy milyen nyelvról fórdítsa milyenre. 
(Automatikus = automatikusan felismeri a nyelvet).

haladopython's People

Contributors

szekelybalint01 avatar

Watchers

 avatar

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.