engineerai


Nameengineerai JSON
Version 2.7 PyPI version JSON
download
home_page
SummaryAi Tools for developers
upload_time2023-09-20 10:37:57
maintainer
docs_urlNone
authorEngineer Man
requires_python~=3.6
license
keywords python ai speech text eng-tools eng-ai pydub pyaudio numpy opencv pillow pandas sqlite3 openpyxl
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
## Ai Tools



> Transcribe Audio



``` python

from EngineerAi import *

ai = EngineerAi()

print(ai.transcribe_audio(lang="en", audio_file="simple.mp3"))

```



> Text To Speech

```python

from EngineerAi import *

ai = EngineerAi()

print(ai.text_to_speech(text="Hello Ai", lang="en", filename="simple.mp3"))

```



> Chat With Ai

```python

from EngineerAi import *

ai = EngineerAi()

print(ai.chatai(key='your openai key', question="Hi"))

```



> Generate sound

```python

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

```python

from EngineerAi import *

ai = EngineerAi()

ai.text_to_frequencies(text='hi')

```



> Text to sound

```python

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

```python

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

```python

from EngineerAi import *

ai = EngineerAi()

print(ai.photo_modern_to_old(filename='input.jpg',output_file='output.jpg'))

```



> Write text on image

```python

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

```python

from EngineerAi import *

ai = EngineerAi()

print(ai.convert_image_format(filename='simple.jpg',output_file='output.png',output_format='png'))

```



> Enhance image quality

```python

from EngineerAi import *

ai = EngineerAi()

print(ai.enhance_image_quality(filename='simple.jpg',output_file='output.png'))

```



> Convert xlsx to sqlite

```python

from EngineerAi import EngineerAi

ai = EngineerAi()

print(ai.xlsx_to_sqlite(filename='simple.xlsx',output_file='output.sqlite'))

```



### Installing



``` bash

pip3 install -U engineerai

```



### Community



- Join the telegram channel: https://t.me/tshreb_programming


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "engineerai",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.6",
    "maintainer_email": "",
    "keywords": "python,ai,speech,text,eng-tools,eng-ai,pydub,pyaudio,numpy,opencv,pillow,pandas,sqlite3,openpyxl",
    "author": "Engineer Man",
    "author_email": "MrAws.developer@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/03/97/81ad17c2a39e176f3965bba2c60001491b4102e14199f3df23c6769d8e24/engineerai-2.7.tar.gz",
    "platform": null,
    "description": "\r\n## Ai Tools\r\n\r\n\r\n\r\n> Transcribe Audio\r\n\r\n\r\n\r\n``` python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.transcribe_audio(lang=\"en\", audio_file=\"simple.mp3\"))\r\n\r\n```\r\n\r\n\r\n\r\n> Text To Speech\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.text_to_speech(text=\"Hello Ai\", lang=\"en\", filename=\"simple.mp3\"))\r\n\r\n```\r\n\r\n\r\n\r\n> Chat With Ai\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.chatai(key='your openai key', question=\"Hi\"))\r\n\r\n```\r\n\r\n\r\n\r\n> Generate sound\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nfrequencies = [440.0, 523.25, 659.26]  \r\n\r\nduration_ms = 1000 # 1s=1000\r\n\r\noutput_file = \"output.wav\"  \r\n\r\nai.generate_sound(frequencies, duration_ms, output_file)\r\n\r\n```\r\n\r\n\r\n\r\n> Text to frequencies\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nai.text_to_frequencies(text='hi')\r\n\r\n```\r\n\r\n\r\n\r\n> Text to sound\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\ntext = 'hi' #your text\r\n\r\nduration_ms = 1000 #1s = 1000\r\n\r\noutput_file = 'simple.wav' # outout file\r\n\r\nai.text_to_sound(text='hi', duration_ms=duration_ms, output_file=output_file)\r\n\r\n```\r\n\r\n\r\n\r\n> Frequencies to text\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nfrequencies = [400.0,500.2] # frequencies in list\r\n\r\nprint(ai.frequencies_to_text(frequencies=frequencies))\r\n\r\n```\r\n\r\n\r\n\r\n> Convert photo from modern to old\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.photo_modern_to_old(filename='input.jpg',output_file='output.jpg'))\r\n\r\n```\r\n\r\n\r\n\r\n> Write text on image\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(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))\r\n\r\n```\r\n\r\n\r\n\r\n> Convert image format\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.convert_image_format(filename='simple.jpg',output_file='output.png',output_format='png'))\r\n\r\n```\r\n\r\n\r\n\r\n> Enhance image quality\r\n\r\n```python\r\n\r\nfrom EngineerAi import *\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.enhance_image_quality(filename='simple.jpg',output_file='output.png'))\r\n\r\n```\r\n\r\n\r\n\r\n> Convert xlsx to sqlite\r\n\r\n```python\r\n\r\nfrom EngineerAi import EngineerAi\r\n\r\nai = EngineerAi()\r\n\r\nprint(ai.xlsx_to_sqlite(filename='simple.xlsx',output_file='output.sqlite'))\r\n\r\n```\r\n\r\n\r\n\r\n### Installing\r\n\r\n\r\n\r\n``` bash\r\n\r\npip3 install -U engineerai\r\n\r\n```\r\n\r\n\r\n\r\n### Community\r\n\r\n\r\n\r\n- Join the telegram channel: https://t.me/tshreb_programming\r\n\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Ai Tools for developers",
    "version": "2.7",
    "project_urls": null,
    "split_keywords": [
        "python",
        "ai",
        "speech",
        "text",
        "eng-tools",
        "eng-ai",
        "pydub",
        "pyaudio",
        "numpy",
        "opencv",
        "pillow",
        "pandas",
        "sqlite3",
        "openpyxl"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "50471cddae578222465d6a7ae68d7d82c8c12626c914588c2dcbbc363bdeedd5",
                "md5": "5b23a4e7deb4d78c7d01cd087b42f844",
                "sha256": "8a7da733bc9d420add832bf50b7662480ff0292b81071a5f6947f98bdcde6fd9"
            },
            "downloads": -1,
            "filename": "engineerai-2.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5b23a4e7deb4d78c7d01cd087b42f844",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.6",
            "size": 5826,
            "upload_time": "2023-09-20T10:37:53",
            "upload_time_iso_8601": "2023-09-20T10:37:53.525671Z",
            "url": "https://files.pythonhosted.org/packages/50/47/1cddae578222465d6a7ae68d7d82c8c12626c914588c2dcbbc363bdeedd5/engineerai-2.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "039781ad17c2a39e176f3965bba2c60001491b4102e14199f3df23c6769d8e24",
                "md5": "b819d769e0a0100b720e0bb0c5879696",
                "sha256": "0c5189bea4c723937e31947e2def022a6d9ac9483554b1a5b1401c7b2f48ce94"
            },
            "downloads": -1,
            "filename": "engineerai-2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "b819d769e0a0100b720e0bb0c5879696",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.6",
            "size": 5777,
            "upload_time": "2023-09-20T10:37:57",
            "upload_time_iso_8601": "2023-09-20T10:37:57.430606Z",
            "url": "https://files.pythonhosted.org/packages/03/97/81ad17c2a39e176f3965bba2c60001491b4102e14199f3df23c6769d8e24/engineerai-2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-20 10:37:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "engineerai"
}
        
Elapsed time: 0.34894s