✨ Constants | Python Best Practices ✨
📖 Guidelines and best practices for using constants in your Python code.
🏷️ #Python
📖 Guidelines and best practices for using constants in your Python code.
🏷️ #Python
✨ Dependency Management | Python Best Practices ✨
📖 Guidelines and best practices for dependency management in Python.
🏷️ #Python
📖 Guidelines and best practices for dependency management in Python.
🏷️ #Python
✨ Python's deque: Implement Efficient Queues and Stacks ✨
📖 Use a Python deque to efficiently append and pop elements from both ends of a sequence, build queues and stacks, and set maxlen for history buffers.
🏷️ #intermediate #datastructures #python #stdlib
📖 Use a Python deque to efficiently append and pop elements from both ends of a sequence, build queues and stacks, and set maxlen for history buffers.
🏷️ #intermediate #datastructures #python #stdlib
❤1
✨ assertion | Python Glossary ✨
📖 A debugging aid that tests a condition as an internal self-check.
🏷️ #Python
📖 A debugging aid that tests a condition as an internal self-check.
🏷️ #Python
✨ dataframe | Python Glossary ✨
📖 A data structure for working with tabular data in Python.
🏷️ #Python
📖 A data structure for working with tabular data in Python.
🏷️ #Python
❤2
Python Cheat sheet
#python #oop #interview #coding #programming #datastructures
https://t.iss.one/DataScience4
#python #oop #interview #coding #programming #datastructures
https://t.iss.one/DataScience4
❤3👍1
✨ Boolean flag | Python Glossary ✨
📖 A variable or function parameter that you set to either True or False.
🏷️ #Python
📖 A variable or function parameter that you set to either True or False.
🏷️ #Python
❤1
✨ camel case | Python Glossary ✨
📖 A naming convention where the first letter of each word within a compound word is capitalized.
🏷️ #Python
📖 A naming convention where the first letter of each word within a compound word is capitalized.
🏷️ #Python
✨ concatenation | Python Glossary ✨
📖 The operation of joining two or more strings end-to-end to create a new string.
🏷️ #Python
📖 The operation of joining two or more strings end-to-end to create a new string.
🏷️ #Python
❤2
This media is not supported in your browser
VIEW IN TELEGRAM
It works like a red team within your system. You describe the task in plain language — then it plans the attack itself, selects tools, and proceeds through the entire process: from reconnaissance to reporting. Without manual fiddling and endless commands.
What it can do in practice:
git clone https://github.com/GH05TCREW/ghostcrew.git
cd ghostcrew
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py
#python #soft #github
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
#python #soft #github
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5
Forwarded from PyData Careers
If you're testing forms, mockups, or just want to play with data, there's Mimesis — a generator of fake data. Names, emails, addresses, and phone numbers. There's a location setting that allows you to select a country, and the data will be generated accordingly.
from typing import Dict
from mimesis.enums import Gender
from mimesis import Person
def generate_fake_user(locale: str = "es", gender: Gender = Gender.MALE) -> Dict[str, str]:
"""
Generates fake user data based on the locale and gender.
:param locale: The locale (for example, 'ru', 'en', 'es')
:param gender: The gender (Gender.MALE or Gender.FEMALE)
:return: A dictionary with the fake user data
"""
person = Person(locale)
user_data = {
"name": person.full_name(gender=gender),
"height": person.height(),
"phone": person.telephone(),
"occupation": person.occupation(),
}
return user_data
if __name__ == "__main__":
fake_user = generate_fake_user(locale="es", gender=Gender.MALE)
print(fake_user)
{
'name': 'Carlos Herrera',
'height': '1.84',
'phone': '912 475 289',
'occupation': 'Arquitecto'
)ru, 🇺🇸 en, 🇪🇸 es, etc.) Save it, it'll come in handy
#python #github #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4