Ai Tools for developers
Project description
Ai Tools
Transcribe Audio
from EngineerAi import *
ai = EngineerAi()
print(ai.transcribe_audio(lang="en", audio_file="simple.mp3"))
Text To Speech
from EngineerAi import *
ai = EngineerAi()
print(ai.text_to_speech(text="Hello Ai", lang="en", filename="simple.mp3"))
Chat With Ai
from EngineerAi import *
ai = EngineerAi()
print(ai.chatai(key='your openai key', question="Hi"))
Generate sound
from EngineerAi import *
ai = EngineerAi()
frequencies = [440.0, 523.25, 659.26]
duration_ms = 1000 # 1s=1000
output_file = "output.wav"
ai.generate_sound(frequencies, duration_ms, output_file)
Text to frequencies
from EngineerAi import *
ai = EngineerAi()
ai.text_to_frequencies(text='hi')
Text to sound
from EngineerAi import *
ai = EngineerAi()
text = 'hi' #your text
duration_ms = 1000 #1s = 1000
output_file = 'simple.wav' # outout file
ai.text_to_sound(text='hi', duration_ms=duration_ms, output_file=output_file)
Frequencies to text
from EngineerAi import *
ai = EngineerAi()
frequencies = [400.0,500.2] # frequencies in list
print(ai.frequencies_to_text(frequencies=frequencies))
Convert photo from modern to old
from EngineerAi import *
ai = EngineerAi()
print(ai.photo_modern_to_old(filename='input.jpg',output_file='output.jpg'))
Write text on image
from EngineerAi import *
ai = EngineerAi()
print(ai.write_on_image(filename='simple.jpg',output_file='outut.jpg',text='hi',position='center',text_color=(350,350,350),font_name='aria',font_size=30,max_line_length=20))
Convert image format
from EngineerAi import *
ai = EngineerAi()
print(ai.convert_image_format(filename='simple.jpg',output_file='output.png',output_format='png'))
Enhance image quality
from EngineerAi import *
ai = EngineerAi()
print(ai.enhance_image_quality(filename='simple.jpg',output_file='output.png'))
Convert xlsx to sqlite
from EngineerAi import EngineerAi
ai = EngineerAi()
print(ai.xlsx_to_sqlite(filename='simple.xlsx',output_file='output.sqlite'))
Installing
pip3 install -U engineerai
Community
- Join the telegram channel: https://t.me/tshreb_programming
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
engineerai-2.7.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file engineerai-2.7.tar.gz
.
File metadata
- Download URL: engineerai-2.7.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5189bea4c723937e31947e2def022a6d9ac9483554b1a5b1401c7b2f48ce94 |
|
MD5 | b819d769e0a0100b720e0bb0c5879696 |
|
BLAKE2b-256 | 039781ad17c2a39e176f3965bba2c60001491b4102e14199f3df23c6769d8e24 |
File details
Details for the file engineerai-2.7-py3-none-any.whl
.
File metadata
- Download URL: engineerai-2.7-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a7da733bc9d420add832bf50b7662480ff0292b81071a5f6947f98bdcde6fd9 |
|
MD5 | 5b23a4e7deb4d78c7d01cd087b42f844 |
|
BLAKE2b-256 | 50471cddae578222465d6a7ae68d7d82c8c12626c914588c2dcbbc363bdeedd5 |