{"id":20542745,"url":"https://github.com/andrewrgarcia/rlish","last_synced_at":"2026-02-28T01:35:30.812Z","repository":{"id":208482008,"uuid":"721743345","full_name":"andrewrgarcia/rlish","owner":"andrewrgarcia","description":"Saving and loading data in Python has never been easier!","archived":false,"fork":false,"pushed_at":"2024-08-17T18:22:04.000Z","size":310,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-01T02:19:00.318Z","etag":null,"topics":["load","pickle","save","save-files","serialization"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rlish/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewrgarcia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["andrewrgarcia"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-11-21T17:24:00.000Z","updated_at":"2024-08-17T18:28:07.000Z","dependencies_parsed_at":"2024-06-23T16:51:04.013Z","dependency_job_id":"8238a944-74c0-40dd-94cc-095bec7f6eb5","html_url":"https://github.com/andrewrgarcia/rlish","commit_stats":null,"previous_names":["andrewrgarcia/rlish"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrgarcia%2Frlish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrgarcia%2Frlish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrgarcia%2Frlish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewrgarcia%2Frlish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewrgarcia","download_url":"https://codeload.github.com/andrewrgarcia/rlish/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224866888,"owners_count":17382875,"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":["load","pickle","save","save-files","serialization"],"created_at":"2024-11-16T01:34:07.331Z","updated_at":"2026-02-28T01:35:25.775Z","avatar_url":"https://github.com/andrewrgarcia.png","language":"Python","funding_links":["https://github.com/sponsors/andrewrgarcia"],"categories":["Library Utilities"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/andrewrgarcia/rlish/main/img/rlish.svg\" width=\"300\" title=\"hover text\"\u003e\n\n[![License](https://img.shields.io/badge/license-%20%20GNU%20GPLv3%20-green?style=plastic)](https://raw.githubusercontent.com/andrewrgarcia/voxelmap/main/LICENSE)\n[![Documentation Status](https://readthedocs.org/projects/rlish/badge/?version=latest)](https://rlish.readthedocs.io/en/latest/?badge=latest)\n\n\nSaving and loading information in Python should be shorter and easier.\n\n\n`rlish` is a Python package for simple and efficient data serialization and deserialization. It supports both `pickle` and `joblib` serialization methods, making it suitable for a wide range of data types, including large NumPy arrays and machine learning models.\n\n\nhttps://github.com/andrewrgarcia/rlish/assets/10375211/0bb82ada-7974-44fe-8b04-371a948285ad\n\n\n## Installation\n\nYou can install `rlish` using pip:\n\n```bash\npip install rlish\n```\n\n## Usage\n\n\n### Saving Data\n\nTo save data, use the `save` function. You can choose between `pickle` and `joblib` formats:\n\n```python\nimport rlish\n\ndictionary = {'a': 1, 'b': 2, 'c': 3}\ntensor = np.random.randint(0,10,(200,200,200))\n\n\n# Save dictionary using pickle\nrlish.save(dictionary, 'my_dictio')\n\n# Save data using joblib\nrlish.save(tensor, 'huge_tensor', format='joblib')\n```\n\n### Loading Data\n\nTo load data, use the `load` function:\n\n```python\n# Load data saved with pickle\nloaded_data_pickle = rlish.load('my_dictio')\n\n# Load data saved with joblib\nloaded_data_joblib = rlish.load('huge_tensor')\n\n# Load your data with the format printed out (if you forgot)\nloaded_data_joblib = rlish.load('huge_tensor', what_is=True)\n```\n\n## Contributing\n\nContributions to `rlish` are welcome! Feel free to open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewrgarcia%2Frlish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewrgarcia%2Frlish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewrgarcia%2Frlish/lists"}