Giter Site home page Giter Site logo

tma's Introduction

Shell Dictionary

Simple online dictionary that operates in a shell and shows word forms, meanings, synonyms, and usage examples. Outputs this information by making requests to https://www.macmillandictionary.com and https://context.reverso.net. Written in pure Python🐍

Thinking on whether to link tma and memo projects..

Installation

  1. Clone the repo to a folder of your choice and cd into it.
git clone https://github.com/lukoshkin/tma.git ~/Workspace/tma
cd ~/Workspace/tma
  1. Make a python environment with conda, venv, or similar tools.
## you can name it memo or tma, for example
conda create -n tma python=3.10

Install dependencies.

pip install -r requirements.txt

Add an alias to your bash or zsh rc-file. Use the names of folder and env you used in the first and second step, respectively. (Here I show how to do it for bash + conda configuration.)

echo 'alias tt="${CONDA_PREFIX_1:-$CONDA_PREFIX}/envs/tma ~/Workspace/tma/api.py"' >> ~/.bashrc

Usage

⚙️ Customization is available via config.yaml.

non-interactive
tt perforation
interactive
tt
succint (deliberate mistake)

tma's People

Contributors

lukoshkin avatar

Watchers

James Cloos avatar  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.