An open API service indexing awesome lists of open source software.

https://github.com/lee-lou2/public-functions

다양한 언어와 프레임워크를 이용한 공개형 함수들🔥
https://github.com/lee-lou2/public-functions

Last synced: 4 months ago
JSON representation

다양한 언어와 프레임워크를 이용한 공개형 함수들🔥

Awesome Lists containing this project

README

        

# 다양한 함수들🔥

## 💼 주요 기술
| 언어 | 프레임워크 | 라이브러리 | 기타 |
|---|---|---|---|
|`Python` `Golang` | `Django` `FastAPI` `Gin` `Fiber` | `LangChain` | |

## 🧐 세부 함수

### 👉 01_python_epub_to_txt
`python` `epub` `ebooklib` `pypandoc`
- epub 파일을 txt(docx) 파일로 변환하는 함수
- ebooklib, pypandoc 를 사용해서 구현

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/01_python_epub_to_txt)

### 👉 02_python_epub_langchain_qna
`python` `langchain` `streamlit` `epub` `qna`
- 랭체인을 이용한 epub Q&A
- epub 을 docx 로 변환 후 텍스트만으로 Q&A 진행
- Dockerfile 및 배포 스크립트 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/02_python_epub_langchain_qna)

### 👉 03_python_multimodal_embedding_dinov2
`python` `embedding` `facebook` `dino v2`
- Facebook Dino V2 모델을 이용한 이미지 임베딩 구현
- Dockerfile 및 배포 스크립트 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/03_python_multimodal_embedding_dinov2)

### 👉 04_python_gpt_summary_emotion_keyword
`python` `streamlit` `scikitllm` `summarize` `keyword` `emotion`
- 스트림릿으로 요약, 감정 추출, 키워드 추출 기능의 웹앱
- skllm, openai, gemini API 활용
- 영어로 요약된 내용을 deepl 로 한글로 번역해서 사용
- Dockerfile 및 배포 스크립트 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/04_python_gpt_summary_emotion_keyword)

### 👉 05_python_langchain_ensemble
`python` `langchain` `ensemble` `faiss`
- Ensemble Retriever 를 이용한 유사도 검색

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/05_python_langchain_ensemble)

### 👉 06_python_elastic_wildcard_search
`python` `fastapi` `elasticsearch`
- 엘라스틱서치의 와일드카드를 이용한 검색 기능 구현
- 테스틀 위한 웹페이지, 배포 스크립트 등이 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/06_python_elastic_wildcard_search)

### 👉 07_python_langchain_raptor
`python` `langchain` `raptor`
- 랭체인 RAPTOR 방법론을 이용한 예시 파일

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/07_python_langchain_raptor)

### 👉 08_python_stable_diffusion_api
`python` `stablediffusion` `streamlit`
- 스트림릿을 이용해서 스테이블 디퓨전 API 를 사용할 수 있는 웹앱

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/08_python_stable_diffusion_api)

### 👉 09_python_scikitllm_summarize
`python` `scikitllm`
- ScikitLLM 을 이용한 요약 코드 구현

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/09_python_scikitllm_summarize)

### 👉 10_python_gpt_function_call
`python` `openai` `functioncall`
- ChatGPT Function Call 예시
- 관련 영상 : https://youtu.be/y8IMPpBdbbE?feature=shared

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/10_python_gpt_function_call)

### 👉 11_python_shiftee_employee_alarm_
`python` `shiftee`
- 시프티 휴가자 리스트 조회

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/11_python_shiftee_employee_alarm)

### 👉 12_python_check_memory
`python` `memory`
- 파이썬 메모리 확인

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/12_python_check_memory)

### 👉 13_python_google_tts
`python` `google` `tts`
- 구글 무료 TTS 라이브러리 사용법

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/13_python_google_tts)

### 👉 14_python_bark_tts
`python` `bark` `tts`
- Bark 오픈 소스를 이용한 TTS 구현
- 패키지 설치용 스크립트 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/14_python_bark_tts)

### 👉 15_python_whisper_ai
`python` `whisper` `stt`
- Whisper AI 의 STT 를 이용한 텍스트 조회
- 자동 자막 생성 등에 사용 가능
- 무료 오픈 소스 사용 및 API 사용에 대한 코드 포함

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/15_python_whisper_ai)

### 👉 16_python_youtube_to_mp3
`python` `youtube` `pytube`
- Youtube 링크를 이용해서 mp3 만 추출하는 코드
- pytube 를 이용해서 간단히 구현

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/16_python_youtube_to_mp3)

### 👉 17_python_whisper_auto_captions
`python` `youtube` `pytube`
- 길이가 긴 오디오의 경우 무음 단위로 잘라서 사용

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/17_python_whisper_auto_captions)

### 👉 18_python_summerize_youtube
`python` `youtube` `pytube` `openai` `whisper`
- 유튜브 영상 요약
- 영상의 mp3 추출 후 위스퍼로 텍스트 전환
- 텍스트를 openai 로 요약

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/18_python_summerize_youtube)

### 👉 19_python_langchain_groq
`python` `langchain` `groq`
- Groq 을 이용한 초고속 LangChain 구현

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/19_python_langchain_groq)

### 👉 20_js_apps_script_notion_api
`js` `apps script` `google` `google sheets` `notion api` `rss feed`
- RSS 피드를 이용해서 블로그 데이터를 노션에 추가
- Google Apps Script 로 1시간 마다 실행하는 트리거 사용
- 구글 시트에 데이터를 기록해 중복이 발생되지 않도록 처리

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/20_js_apps_script_notion_api)

### 👉 21_python_random_strings
`python` `random` `strings`
- 랜덤 문자열을 숫자로 바꾸기
- 숫자를 랜덤 문자열로 바꾸기

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/21_python_random_strings)

### 👉 22_python_smoothly_cache
`python` `django` `redis` `smoothly cache` `timeout`
- 2개의 타임 아웃 사용
- 부드러운 타임 아웃 유도
- 비동기 처리 등을 통해 효율적인 관리

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/22_python_smoothly_cache)

### 👉 23_python_openai_batch
`python` `openai` `batch`
- OpenAI 배치 기능 구현
- 50% 비용 절감으로 효율적인 관리
- 코드 사용 방법 등

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/23_python_openai_batch)

### 👉 24_python_voice_gpt
`python` `openai` `voice` `speech_recognition` `stt` `tts`
- 목소리로 GPT 와 대화하는 기능
- TTS, STT 를 함께 사용
- OpenAI 의 TTS, STT 사용

[**🖥️ 코드 보러가기**](https://github.com/lee-lou2/public-functions/tree/main/24_python_voice_gpt)