A future cargo for python?
A blog post on it: https://astral.sh/blog/uv
— Permalink
Mann kann erst skalieren, dann optimieren, wenn es ein Drittels des Tages dauert. Der erste Prozess, um PDFs zu erzeugen, ist total innefizient. Es zeigt auch, dass Optimierungen der letzte Schritt des Produkts ist. Sie haben damit lange gelebt. Die Architektur ist eine gute Beispiel für horizontale Skalierung.
— Permalink
Great and awesome! Small search engines can be useful indeed.
— Permalink
The source code repository: https://github.com/gyptazy/manpageblog/tree/1.0
— Permalink
Advantages of types: they are here to help, improve readability, and provide context
— Permalink
A nice explanation of python.
EDIT 2023-05-19: I will read it when I will use the language seriously again.
— Permalink
Resources for the python programming language
— Permalink
A package.json can be provided in order to scan dependencies. It searches for risks.
— Permalink
Checks how vulnerable is a package.
It provides informations to asses if a package is safe enough for the use case.
The tool provides analysis for each line of code too.
— Permalink
]]>A python script to help red teamers discover KeePass instances and extract secrets.
— Permalink
product
instead of nested python for-loopsWebOSINT is a tool that retrieves domain information based on different APIs.
The different APIs used need an account, but there is a free trial.
— Permalink
A small project but cool :D
— Permalink
Automate screenshots of websites with this tool for the command-line interface.
An introduction (fr): https://korben.info/shot-scraper-capturer-site-web.html
— Permalink
]]>An OSINT tool to search fast for accounts by username across 574 sites.
]]>mat2 is a metadata removal tool, supporting a wide range of commonly used file formats, written in python3: at its core, it's a library, used by an eponymous command-line interface, as well as several file manager extensions.
— Permalink
]]>Schemathesis is a modern API testing tool for web applications built with Open API and GraphQL specifications.
— Permalink
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.
— Permalink
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
str.format(…)
call or str.format_map(…)
`@when('{user} accesses {url}.')
Topics:
__repr__
and __str__
A tool that runs code in a file and replace it with the output.
— Permalink
Ha !
— Permalink
RIIR ou at least in python 3.
Dependency: pygithub3
— Permalink
That is to say solving it in less than 0.7 seconds
— Permalink
Les arguments relevés semblent pertinent:
Checklist to set up a new python project on Github
— Permalink
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 !
— Permalink
Develop an API that is fast :)
Everything is built in: Swagger or OpenAPI, including the tests.
Here a quickstart
— Permalink
(for websites)
PHP ~ 80 %, followed by ASP.NET, Ruby and Java.
Javascript is represents only 1.5% of the backends for websites.
— Permalink
A code formatter for python.
— Permalink
]]>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.
— Permalink
It is possible.
— Permalink
Good and simple examples
— Permalink
Il y a le projet jsonresume
Karolak a de son côté crée son propre générateur en python, puisqu'il n'est pas satisfait de jsonresume: https://sr.ht/~nka/resume-pycli/
— Permalink
👍
— Permalink
Packaging an python application with the state-of-the-art library of 2021
— Permalink
Yet another guide on python decorators.
Well written 👍
— Permalink
Queries can be run on multiple databases 💚 (see https://www.sqlite.org/lang_attach.html for more)
The command ATTACH 'other.db' AS other;
In python, there is the db.attach
for it !
— Permalink
A blog with pertinent posts related to dev topics
— Permalink
Naming a Slice Using slice Function, Prompting User for a Password at Runtime, Find Close Matches of a Word/String, Working with IP Addresses, Debugging Program Crashes in Shell, Defining Multiple Constructors in a Class, Caching Function Calls Using Decorator, Find the Most Frequently Occurring Items in a Iterable
— Permalink
Sanitizing String Input, Taking Slice of an Iterator, Skipping Begining of Iterable, Functions with only Keyword Arguments (kwargs), Creating Object That Supports with Statements, Saving Memory with slots, Limiting CPU and Memory Usage, Controlling What Can Be Imported and What Not, Comparison Operators the Easy Way
— Permalink
TL;DR It may works; but don't use literal in python !
— Permalink