autofill-0.1.0
توضیحات
Autofill is a Python library for dealing with auto-completion of words.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | autofill-0.1.0 |
| نام | autofill |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vysakh KS |
| ایمیل نویسنده | vyshuks@gmail.com |
| آدرس صفحه اصلی | https://github.com/vyshuks/autofill |
| آدرس اینترنتی | https://pypi.org/project/autofill/ |
| مجوز | MIT license |
# Autofill
Autofill is a Python library for dealing with auto-completion of words.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install autofill.
```bash
pip install autofill
```
## Usage
```python
from autofill import autofill
# register list of 'words' into autofill system
words = ["mobile", "mouse", "moneypot", "monitor", "mousepad"]
autofill.register_words(words)
# prefix search
autofill.search('mou') # returns ['mouse', 'mousepad']
# Find top k words from previous search matches
autofill.find_top_k_matches(k=4) # returns [('mouse', 1), ('mousepad', 1), ('mobile', 0), ('moneypot', 0)]
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
1. Fork it (<https://github.com/yourname/yourproject/fork>)
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request
## License
[MIT](https://choosealicense.com/licenses/mit/)
=======
History
=======
0.1.0 (2021-08-01)
------------------
* First release on PyPI.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl autofill-0.1.0:
pip install autofill-0.1.0.whl
نصب پکیج tar.gz autofill-0.1.0:
pip install autofill-0.1.0.tar.gz