astypes VS unimport

Compare astypes vs unimport and see what are their differences.

astypes

Python library to infer types for AST nodes. Make the most powerful Python linters and formatters! (by orsinium-labs)

unimport

Unified utils for auto importing APIs in modules. (by unjs)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
astypes unimport
6 2
6 449
- 7.8%
3.5 8.5
about 1 year ago 3 days ago
Python TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

astypes

Posts with mentions or reviews of astypes. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning astypes yet.
Tracking mentions began in Dec 2020.

unimport

Posts with mentions or reviews of unimport. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-17.
  • using types without import them
    3 projects | /r/vuejs | 17 Apr 2023
    You looked through https://github.com/antfu/unplugin-auto-import/issues/61, https://github.com/unjs/unimport/pull/218 and https://github.com/antfu/unplugin-auto-import/issues/61?
  • Better DX in JS apps with unplugin-auto-import
    2 projects | dev.to | 18 Dec 2022
    AutoImport({ // targets to transform include: [ /\.[tj]sx?$/, // .ts, .tsx, .js, .jsx /\.vue$/, /\.vue\?vue/, // .vue /\.md$/, // .md ], // global imports to register imports: [ // presets 'vue', 'vue-router', // custom { '@vueuse/core': [ // named imports 'useMouse', // import { useMouse } from '@vueuse/core', // alias ['useFetch', 'useMyFetch'], // import { useFetch as useMyFetch } from '@vueuse/core', ], 'axios': [ // default imports ['default', 'axios'], // import { default as axios } from 'axios', ], '[package-name]': [ '[import-names]', // alias ['[from]', '[alias]'], ], }, ], // Enable auto import by filename for default module exports under directories defaultExportByFilename: false, // Auto import for module exports under directories // by default it only scan one level of modules under the directory dirs: [ // './hooks', // './composables' // only root modules // './composables/**', // all nested modules // ... ], // Filepath to generate corresponding .d.ts file. // Defaults to './auto-imports.d.ts' when `typescript` is installed locally. // Set `false` to disable. dts: './auto-imports.d.ts', // Auto import inside Vue template // see https://github.com/unjs/unimport/pull/15 and https://github.com/unjs/unimport/pull/72 vueTemplate: false, // Custom resolvers, compatible with `unplugin-vue-components` // see https://github.com/antfu/unplugin-auto-import/pull/23/ resolvers: [ /* ... */ ], // Generate corresponding .eslintrc-auto-import.json file. // eslint globals Docs - https://eslint.org/docs/user-guide/configuring/language-options#specifying-globals eslintrc: { enabled: false, // Default `false` filepath: './.eslintrc-auto-import.json', // Default `./.eslintrc-auto-import.json` globalsPropValue: true, // Default `true`, (true | false | 'readonly' | 'readable' | 'writable' | 'writeable') }, })

What are some alternatives?

When comparing astypes and unimport you can also consider the following projects:

unplugin-icons - 🤹 Access thousands of icons as components on-demand universally.

infer-types - A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.

mypy_boto3_builder - Type annotations builder for boto3 compatible with VSCode, PyCharm, Emacs, Sublime Text, pyright and mypy.

prospector - Inspects Python source files and provides information about type and location of classes, methods etc

pytype - A static type analyzer for Python code

monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.

isort - A Python utility / library to sort imports.

miss_hit - MATLAB Independent, Small & Safe, High Integrity Tools - code formatter and more

MonkeyType - A Python library that generates static type annotations by collecting runtime types

unplugin-auto-import - Auto import APIs on-demand for Vite, Webpack and Rollup

isort - A Python utility / library to sort imports. [Moved to: https://github.com/PyCQA/isort]

code2flow - Pretty good call graphs for dynamic languages