{"id":21374869,"url":"https://github.com/banool/import_times","last_synced_at":"2025-03-16T09:21:01.610Z","repository":{"id":90881363,"uuid":"200316665","full_name":"banool/import_times","owner":"banool","description":"Prints import times to stderr like 3.7 does, but without having 3.7.","archived":false,"fork":false,"pushed_at":"2019-08-05T07:25:51.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T23:43:23.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/banool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2019-08-03T01:13:58.000Z","updated_at":"2019-08-06T03:32:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"87e415e0-6d84-4b1f-8408-ec7f39b8f957","html_url":"https://github.com/banool/import_times","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fimport_times","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fimport_times/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fimport_times/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Fimport_times/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banool","download_url":"https://codeload.github.com/banool/import_times/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848095,"owners_count":20357489,"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-11-22T08:45:56.358Z","updated_at":"2025-03-16T09:21:01.584Z","avatar_url":"https://github.com/banool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Import Times ⏱⏱⏱\n\nThis package lets you print out import times like you were using the `-X importtime` runtime flag to Python 3.7, but with Python \u003c 3.7 (I've tested it as working with 3.4+).\n\nPut the following at the top of your main module:\n```\nfrom import_times import enable_import_times\n\nenable_import_times()\n```\n\nCaveats:\n- The timing information is probably different because 3.7 does its timing in `import.c` directly.\n- You can't get timing information for things imported before any of your code is run (of course).\n\nI haven't put this on PyPI yet, so to install this you can put this in your Pipfile:\n```\nimport_times = {editable = true,git = \"https://github.com/banool/import_times.git\"}\n```\n\nor this in your requirements.txt:\n```\ngit+git://github.com/banool/import_times.git\n```\n\nGood luck!! 🤠🤠🤠\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fimport_times","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanool%2Fimport_times","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Fimport_times/lists"}