Skip to main content

No project description provided

Project description

Not Yet Implemented Requirements

[tool.poetry.dependencies]
python = "^3.8"
python-jose = "^3.3.0"
requests = ">=2.11"
feedparser = "^6.0.8"
strawberry-graphql = {extras = ["debug-server", "fastapi"], version = "^0.139.0"}
deep-translator = "1.8.3"
pillow = "9.1.0"
pytesseract = "0.3.9"
chardet = "4.0.0"
opencv-python = "4.5.5.64"
python-multipart = "^0.0.5"
boto3 = "^1.26.117"
markupsafe = "2.0.1"
pydantic = "1.10.13"
motor = "^3.3.1"

Install requirements for local development:

pip install -r requirements.txt

Compiled Package Commands

build poetry package:

python cli.py build

install poetry package:

python cli.py install

poetry

poetry add

update package to latest version

  • Use @latest, you dont need to use the latest version number.
poetry add langchain@latest

add package to dev

  • The --dev option is deprecated, use the --group dev notation instead.
# not dev
poetry add types-aiofiles
# dev
poetry add --group dev install types-aiofiles

poetry remove

  • Remove library from dev dependancies
poetry remove --group dev httpx

poetry update

  • updates poetry.lock with changes from pyproject.toml

poetry shell

  • activates virtual env associated with poetry

poetry install

  • Installs poetry.lock into virtual env
  • Checks poetry.lock file for exact versions of all dependencies to install.
    • Install's those versions into the virtual environment that Poetry is managing for your project.

poetry install dev

poetry install --with dev

poetry install --all-extras --dry-run

  • Install all dependencies.
  • Install dev dependancies listed in pyproject.toml file.

Notes:

Dependancies

langchain

# https://colab.research.google.com/drive/1rU4UGE_WK1ED59E5zHeq_aXk8ksf7njW?authuser=1#scrollTo=2VXlucKiW7bX
!pip install langchain
!pip install openai
!pip install PyPDF2
!pip install faiss-cpu
!pip install tiktoken

pip install pypdf
    - required by PyPDFLoader

pip install pymilvus
    - required by Zilliz
opencv-python
langchain = "^0.0.189"
faiss-cpu = "^1.7.4"
tiktoken = "^0.4.0"
pypdf2 = "^3.0.1"
pytesseract = "^0.3.10"
markupsafe = "2.0.1"
promptify = "^0.1.4"

- pip install markupsafe==2.0.1 --force-reinstall

poetry add opencv-python langchain faiss-cpu tiktoken pypdf2 pytesseract markupsafe promptify

transformers

transformers = {extras = ["torch"], version = "^4.31.0"}
tensorflow = "^2.13.0"

opencv-python

  • Select the correct package for your environment:
    • There are four different packages (see options 1, 2, 3 and 4 below) and you should SELECT ONLY ONE OF THEM.
  • Do not install multiple different packages in the same environment. There is no plugin architecture: all the packages use the same namespace (cv2).
  • If you installed multiple different packages in the same environment, uninstall them all with pip uninstall and reinstall only one package.
    • a. Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution)
      • Option 1 - Main modules package: pip install opencv-python
      • Option 2 - Full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python (check contrib/extra modules listing from OpenCV documentation)
    • b. Packages for server (headless) environments (such as Docker, cloud environments etc.), no GUI library dependencies
      • These packages are smaller than the two other packages above because they do not contain any GUI functionality (not compiled with Qt / other GUI components).
      • This means that the packages avoid a heavy dependency chain to X11 libraries and you will have for example smaller Docker images as a result.
      • You should always use these packages if you do not use cv2.imshow et al. or you are using some other package (such as PyQt) than OpenCV to create your GUI.
        • Option 3 - Headless main modules package: pip install opencv-python-headless
        • Option 4 - Headless full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python-headless (check contrib/extra modules listing from OpenCV documentation)

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

osint_tools-0.4.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

osint_tools-0.4.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file osint_tools-0.4.1.tar.gz.

File metadata

  • Download URL: osint_tools-0.4.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.32-1-lts

File hashes

Hashes for osint_tools-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a474250e7ea049438e3e976f1ac83d156f18c759632844c00f6248dae146704b
MD5 8778852ae62036e996d7b8ce1b5b064d
BLAKE2b-256 a12d1075a94291e44ca61879450eb66127c160ff45dd8dda10406385c17bc8f3

See more details on using hashes here.

File details

Details for the file osint_tools-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: osint_tools-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.6.32-1-lts

File hashes

Hashes for osint_tools-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edc1df69d051d7ad0e09bdab87da534b216f52d49684698045be09351d0bd8ee
MD5 9c635ae8de1a3a765c63cf6056ab6f8a
BLAKE2b-256 800fa2af18f09c06cb5071c11a5cc1d40abf50e0345107422720d735310c5d9a

See more details on using hashes here.

Supported by

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