{"id":15442865,"url":"https://github.com/iixixii/upref","last_synced_at":"2025-11-10T00:03:11.306Z","repository":{"id":54852827,"uuid":"190391030","full_name":"IIXIXII/upref","owner":"IIXIXII","description":"Small library to collect and store user data (login, password)","archived":false,"fork":false,"pushed_at":"2021-05-20T12:50:13.000Z","size":379,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-18T13:16:30.050Z","etag":null,"topics":["python3","toolset","wxapp"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IIXIXII.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-05T12:32:57.000Z","updated_at":"2022-10-14T08:33:36.000Z","dependencies_parsed_at":"2022-08-14T04:50:20.695Z","dependency_job_id":null,"html_url":"https://github.com/IIXIXII/upref","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IIXIXII%2Fupref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IIXIXII%2Fupref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IIXIXII%2Fupref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IIXIXII%2Fupref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IIXIXII","download_url":"https://codeload.github.com/IIXIXII/upref/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245986702,"owners_count":20705262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python3","toolset","wxapp"],"created_at":"2024-10-01T19:30:55.553Z","updated_at":"2025-11-10T00:03:11.243Z","avatar_url":"https://github.com/IIXIXII.png","language":"Python","readme":"upref 🐸\n========\n\nUpref is a small python module to grab and save some user data like login, password, url (mainly string data). After some projects, I want a simple method to find the right login and url from the user and save it in the personnal data of the user.\n\n[![Wheel Status](https://img.shields.io/pypi/wheel/upref.svg?style=flat)](https://pypi.python.org/pypi/upref/)\n[![Latest Version](https://img.shields.io/pypi/v/upref.svg?style=flat)](https://pypi.python.org/pypi/upref/)\n[![License](https://img.shields.io/github/license/IIXIXII/upref.svg?style=flat)](https://github.com/IIXIXII/upref/blob/master/LICENSE.md)\n[![Build Status](https://img.shields.io/travis/IIXIXII/upref/master.svg?style=flat)](https://travis-ci.org/IIXIXII/upref)\n[![Documentation Status](https://img.shields.io/readthedocs/upref.svg?style=flat)](https://upref.readthedocs.io/en/latest/?badge=latest)\n\nInstallation\n------------\n\nInstalling upref with pip:\n\n    $ pip install upref\n\nBasic Usage\n------------\n\nHere is the first example. The code fetch the URL from the user parameter\n\n    import upref\n  \n    user_data = upref.get_pref(\n        {\"url\": {\"label\": \"The application url\"}},\n        \"example01\")\n  \n    print(\"URL is {}\".format(user_data['url']))\n\nThis code create a file in the user folder. And this file will be read again during the next run.\n\n    url:\n      label: The application url\n      value: http://www.test.org/\n\nCode example\n------------\n\n    import upref\n    data = upref.get_pref(\n        {\n            'login': {'label': \"Your login\"},\n            'passwd': {'label': \"Your secret password\",\n                    'type': \"Password\"},\n        },\n        name=\"example02\")\n    print(\"Your login is %s\" % data['login'])\n    print(\"Your password (not so secret) is %s\" % data['passwd'])\n\nAt the first execution, there is a window to grab the data. The second execution, there will be no windows, the data are only read from the file.\n\nAll data are saved in a yaml file at %APPDATA%/.upref/example02.conf or \\~/.local/share/.upref/example02.conf.\n\n    login:\n      label: Your login\n      value: My login\n    passwd:\n      label: Your secret password\n      value: Password\n\nFeatures\n------------\n\n- Read and save small amount of data (url, login, )\n- Small gui to ask data from the user\n- Text option is avaible\n\nLicense\n-------\n\nThe upref is licensed under the terms of the MIT license and is available for free.\n\nMIT © Florent\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiixixii%2Fupref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiixixii%2Fupref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiixixii%2Fupref/lists"}