Skip to content

Full name autocomplete REST API on FastAPI based on prefix-trie

License

Notifications You must be signed in to change notification settings

ice1x/autocomplete-full-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full name autocomplete micro service on FastAPI

API methods:

Changelog:

  • Moved Python Prefix Trie to separate pypi repo: https://pypi.org/project/prefix-tree/
  • Python Prefix Trie inherited from https://github.com/ice1x/Python-Prefix-Tree
  • Integrated with FastAPI
  • Added deployment to Heroku
  • Added test coverage
  • Fixed problem with Cyrillic UTF-8 text (affected Safari OSX/iOS)
  • Added Parse API method
  • Since Heroku discontinued free accounts - added Dockerfile to run service locally

Known issues:

  • Only russian names supported
  • Suggestions and parsing based of name list so if the name is absent in list it will not be parsed and suggested

Build and run locally:

docker build . # get image_id
docker run -p 80:80 -d <image_id>

About

Full name autocomplete REST API on FastAPI based on prefix-trie

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •