Doing data analysis by storing the data in an SQLite database.
The more I follow the Deno project and its community, the more I think it would be easier to use Typescript and the environment of Deno to write scripts.
Python is not so much robust without types. The amount of time my script logic was correct, but I miss the type of some variable, causing a xx minute time of debugging. The type annotations are currently complex to use and overkill for scripts, where typescript shines.
To test he new "this probably should be an f string" checker, they generated a list of the most popular python repositories on Github by using Github's topic search API [with this script].
With the rule:
GIVEN a string does not have an f prefix
WHEN the string contains {foo}
AND foo is in scope
THEN it’s probably missing an f prefix
And minimizing the false positive such as
- The string is later used in an
str.format(…)
call orstr.format_map(…)
- The string is used in behave style test
`@when('{user} accesses {url}.')
Topics:
- Date and time formatting
- Variable names and debugging
__repr__
and__str__
- Superior performance
- Full power of formatting spec
- Nested F-Strings
- Conditionals formatting
- Lambda expressions
A tool that runs code in a file and replace it with the output.
Ha !
RIIR ou at least in python 3.
Dependency: pygithub3
That is to say solving it in less than 0.7 seconds
Les arguments relevés semblent pertinent:
- les tests passent avant le typage → ok mais pourquoi ne pas avoir les deux et laisser ce choix par projet ?
- la lisibilité des en-têtes de fonction peuvent très bien être améliorée
- les annotations requirent leurs propres imports, ce qui peut conduire à des imports circulaires (cf: https://stackoverflow.com/questions/22187279/python-circular-importing/22187343#22187343)
Checklist to set up a new python project on Github
Okay so these guys built a WebAssembly based virtual machine to run x86 binaries. SO you can run ANY type of programs in the browser !
Develop an API that is fast :)
Everything is built in: Swagger or OpenAPI, including the tests.
Here a quickstart
(for websites)
PHP ~ 80 %, followed by ASP.NET, Ruby and Java.
Javascript is represents only 1.5% of the backends for websites.
A code formatter for python.
NExfil is an OSINT tool written in python for finding profiles by username. The provided usernames are checked on over 350 websites within few seconds. The goal behind this tool was to get results quickly while maintaining low amounts of false positives.