{"id":22423764,"url":"https://github.com/itzcozi/data-extraction","last_synced_at":"2025-03-27T05:41:49.897Z","repository":{"id":231001984,"uuid":"605243132","full_name":"itzCozi/Data-Extraction","owner":"itzCozi","description":"A python package for extracting data from files, with multiple methods and detailed documentation.","archived":false,"fork":false,"pushed_at":"2023-02-25T03:36:49.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T22:41:31.656Z","etag":null,"topics":[],"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/itzCozi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-02-22T18:48:41.000Z","updated_at":"2023-02-22T18:57:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"30e9fb5e-829f-4a60-8961-4f391818a55d","html_url":"https://github.com/itzCozi/Data-Extraction","commit_stats":null,"previous_names":["itzcozi/data-extraction"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FData-Extraction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FData-Extraction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FData-Extraction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FData-Extraction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzCozi","download_url":"https://codeload.github.com/itzCozi/Data-Extraction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791906,"owners_count":20672669,"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":[],"created_at":"2024-12-05T18:12:59.742Z","updated_at":"2025-03-27T05:41:49.877Z","avatar_url":"https://github.com/itzCozi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Data Extraction - Python Package\nThe data extraction package was made for the soul purpose of me being bored. I also recently learned how to extract list and other data from a file, and while looking up how to do it I found nothing no one has ever asked and theres no packages, so I made one. Ladies and Gentlemen, I present to you the data extraction package. It comes equipped with a CC function to clear the console screen of any user. An extract list function this will make a list out of a file, every line is a itanam in the list. An extractable function, this does the same as the extractlist, but it joins each line to create a string and then adds that to the list. A filter file function which will search a file for the given word and if found, remove the word. A random hex function that returns a hex digest in the form of a string, this digest is always less than 20 characters. There are way more to find out about them read each functions [wiki page](https://github.com/itzCozi/Data-Extraction/wiki/Functions).\n\n**Features**\n\n- Clear console\n- File hasher\n- Brute forcer\n- Filter file\n- Random number\n- Hash function\n- Time functions\n- Random keypair\n- Easy log functions\n- Extract data\n- Random hex\n\nSimply install the package with the below command in the terminal.  \n`pip install DataExtraction`\n\nExtracting a table from a file with the data extraction package.\n```\nfrom dataextraction import extractTable\n\nprint(extractTable(\"data/test.txt\"))\n```\n``\n[\"Connor  Camden  982137882  21341\", \"Madine  Opeark  9031312354  21908\"]\n``\n\n\n## Standalone\nThis is a new version of the package the idea is this file contains every function in the package but you can call to it way easier the file is located in a absolute path meaning you can call to it with `from standalone import function` and then call the function. This is a great way to use the package if you have issues importing from the directory. I ran into problems importing files with multipule functions from a directory so I made standalone to fix that when you want to use a function that is usally in a file with other functions you can just import the function as so `from standalone import module` heres an example `from standalone import hash as hashFunctions` this will enable the user to use the hash functions from the hash module.  \n\n**Template:**  `from \u003cfile\u003e import \u003cfunction/class\u003e as \u003calias\u003e`  \n```\nfrom standalone import *\n\nstandalone.createDigest()\n```\n\n\n## Examples\nThe following are examples of a couple of ways to use the package.\n\n**Example 1**\n```\nimport time\nfrom dataextraction import CC, randomhex\n\nprint(randomhex())\ntime.sleep(2)\nCC()\n```\nThis code will result in a random hex being printed to the console and then the console will be cleared.\n\n**Example 2**\n```\nfrom dataextraction import extractlist\n\nprint(extractlist(\"test.txt\"))\n```\nThis code will result in the file given to be split into a list and then printed to the console.\n\n\n## Quickstart\n\nBelow are quicker and more conveinet ways to use the functions there are two ways listed.\n\n```\nfrom standalone import createDigest\n\nprint(createDigest())\n```\n\n```\nfrom standalone import extractList\n\nPATH = \"data/\"\n\nfor iteam in path:\n  with open(iteam, \"r\") as file:\n    print(extractList(file))\n```\n\nNotice the standalone file is not in a folder like the modules from the package instead it floats freely around the lib directory this alows for easy access to the functions.\n\n**Get Started** With the inclusive [Quickstart Guide](https://github.com/itzCozi/Data-Extraction/wiki/Quickstart-Guide)  \n\n\n## Development\nThe package is still in development, and will be for not to much longer. I will be adding more features and fixing bugs as I find them. If you have any suggestions or find any bugs, please let me know by creating an issue or by contacting me..Also feel free to reach out about contributing to the project.\n\n### Source Code\nThe source code is public as this is a open source project the code can be found [here](https://github.com/itzCozi/Data-Extraction/blob/main/package/standalone/dataextraction.py). I am open to pull requests and suggestions in the form of issues with the \"suggestions\" label, Other versions of the code as in every function can be found in the [modules](https://github.com/itzCozi/Data-Extraction/tree/main/package/modules) folder in its respected file. \n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/itzCozi/Data-Extraction/blob/main/ignore/LICENSE) file for details.\n\n\n## Extra\n\n[Package on PyPi](https://pypi.org/project/Data-Extract/)  \n[Latest Release](https://github.com/itzCozi/Data-Extraction/releases)  \n[Quickstart Guide](https://github.com/itzCozi/Data-Extraction/wiki/Quickstart-Guide)  \n\nContact Me\n---------------------------------\ndiscord: BadDevoleper#4200                                                                                                                                             \nEmail: Cooperransom08@outlook.com                                                                                                                                      \n[Replit](https://replit.com/@cozi08) | \n[Twitter](https://twitter.com/ransom_cooper)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzcozi%2Fdata-extraction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzcozi%2Fdata-extraction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzcozi%2Fdata-extraction/lists"}