Skip to main content

Transform natural language strings on Python runnable code

Project description

talk-in-code

Transform natural language strings on Python runnable code

Usage:

install with pip:

pip install talk-in-code

Import on your code:

from talk_in_code import translate

Run it

translate.run('print Hello world!', language='pt-BR')

Collaborate

Create issues, PR's and share the project, it's open-source!!


How to...

Print something

Use the key-word print on your string

"print('Hello World')" == translate.run('print Hello World!')

Declare a variable

Use the key-word variável on your string

"idade = int('20')" == translate.run('variável idade recebe inteiro 20')

Help us to improve the pt-BR features and create an english translator!

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

talk-in-code-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talk_in_code-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file talk-in-code-0.0.4.tar.gz.

File metadata

  • Download URL: talk-in-code-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for talk-in-code-0.0.4.tar.gz
Algorithm Hash digest
SHA256 997170c0ac2f90feb1a099634c684bbc331b4a187a6a3b66ff32cd3b99636760
MD5 cc612b93f15bae9b4b07e32da783de69
BLAKE2b-256 4c8e272c6e9b566040479b7959531d5b477c4216fa7ee8c959f8f53bcb4c9d6e

See more details on using hashes here.

File details

Details for the file talk_in_code-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: talk_in_code-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for talk_in_code-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 365c39186a292c657c99a81255d78f46417553605f4cbf1644772c64e5323a5c
MD5 8b02867bc0ca83b0728c799e1b6bfcf0
BLAKE2b-256 47194e2d2c78ac712bb635c08a0dddaf50050c2ad5258aea614d5cdc00241254

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