Skip to main content

Parses a file with a certain structure and converts to the desired metric unit.

Project description

# UniversalTranslator

Final individual project for the “Tendencias en desarrollo de aplicaciones” class.

## App objective

This CLI (Command Line App) can be used to convert from one longitude unit from the International Unit System to another one.

## App installation

First, you need to have pip installed; it’s the python package manager that you’ll use to then install the application. You can get it [here](https://www.liquidweb.com/kb/install-pip-windows/), however, it should be preinstalled on your system; still, I recommend upgrading to the latest version to avoid conflicts.

After installing pip, you can just run this command: pip install unitrans-evalir

When you install it with pip (beware, this will also install all of the CLI dependencies), you can then use it by running UniversalTranslator –help: this will display the help file with all the command options.

Example:

` pip install unitrans-evalir UniversalTranslator --pathname input.txt --writepath output.txt `

This example will take the input.txt file that you have created on the folder you’re in, process the contents, and write to the output.txt file the converted units.

### Note for windows users

For using the command line app, you MUST have installed these 3 things:

  • The latest version of Python 3.

  • The latest version of PyPI.

  • Git Bash. Using the normal windows prompt and powershell will not work. You MUST use the linux subsystem command line or the Git bash to use the application.

### Input Format example:

1 m cm: 1 meter to centimeters. 2 dm km: 2 decimeters to kilometers. For further info about usage, please refer to [this table on wikipedia.](https://en.wikipedia.org/wiki/Metre)

## Contributing:

Please take a look at the CONTRIBUTING.MD file.

## Miscellaneous

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unitrans-evalir-0.0.1.9.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file unitrans-evalir-0.0.1.9.tar.gz.

File metadata

  • Download URL: unitrans-evalir-0.0.1.9.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for unitrans-evalir-0.0.1.9.tar.gz
Algorithm Hash digest
SHA256 4988cc65f0f493642f4ef2983546c606d8dfbcbd6fe6d7180ea0c309819976f9
MD5 5a71996b4579848c0381937069ea8832
BLAKE2b-256 8ca54016fda8b8801fea05e913a3c72bb88a36822573ef1ea3e941bb191871b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page