Подразумеваемые неймспейсы или неявные пакеты.
Этот функционал добавлен в Python 3.3
Что он означает?
Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py.
Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета".
Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта.
Конечно, не любую в файловой системе, а только те что находятся в sys.path.
Это значит, что теперь __init__.py нужно делать только если:
🔸 вам требуется создать код инициализации пакета
🔸 нужна совместимость со старыми версиями Python
На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего.
Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов.
repo_name/
my_library/
__init__.py
main.py
examples/
exam1.py
exam2.py
В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет.
Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет!
#basic#pep
https://i.fixupx.com/i/status/2045928133946433932
UNKNOWN ACTIVITY SHOWING UP AGAIN IN EARTH’S FREQUENCY
For nearly 7 hours, the Schumann Resonance monitor showed sustained saturation across multiple bands.
The signal didn’t clear.
It stayed compressed across the chart.
This isn’t a normal pattern.
It follows right behind the last disturbance.
Back-to-back activity now.
Something is passing through the system.
Origin unclear.
Monitoring.
#MrMBB333#SchumannResonance#SpaceWeather
https://x.com/i/status/2044454771378294895
300,000-MILE “GASH” IN THE SUN NOW FACING EARTH
Now directly Earth-facing.
A coronal hole over 300,000 miles wide is sending high-speed solar wind toward Earth.
• Fast solar wind already exiting
• Direct alignment in place
• Arrival ~36 hours
These setups can escalate geomagnetic conditions quickly — and sometimes hold them there.
👇
Watch for: auroras, magnetic disturbances, possible system interference.
#MrMBB333#SpaceWeather#SolarWind
https://x.com/mrmbb333/status/2053139040468418953?s=52
WHILE PEOPLE WERE SLEEPING… EARTH’S FREQUENCY WENT FULL WHITE-OUT AGAIN
Overnight, the Schumann Resonance exploded into repeated white-out bursts for more than 5 hours straight.
Not one quick spike.
Not normal background activity.
The chart kept surging, fading, then surging again — staying highly energized deep into the night while most people were asleep.
And the amount of white showing across the chart is hard to ignore.
Something kept the signal highly charged for hours.
Did anyone wake up suddenly last night?
• Vivid dreams
• Pressure or headaches
• Ringing ears
• Restless sleep
• Electronics acting strange
• Pets acting off
What are you noticing where you are?
#MrMBB333#SchumannResonance#SpaceWeather
🪐 A comet named 12P/Pons-Brooks, known as a "cryovolcanic comet" for its icy volcanic eruptions, will make a close approach to Earth in 2024. When this comet nears the Sun, its surface cracks and blasts out dust and frozen gases into space, creating dramatic outbursts and a bright, glowing coma—a reminder of how large icy bodies can suddenly liven up and send material toward our planet’s neighborhood. ✨
#comets⚡#hazards⚡#spaceweather⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
https://x.com/mrmbb333/status/2054322376264057323?s=52
MASSIVE HOLE JUST OPENED IN THE SUN’S ATMOSPHERE
A powerful solar eruption has blasted a massive opening through the Sun’s outer atmosphere after an M5.7 flare triggered radio blackout conditions and launched a CME into space.
At the same time:
• radio blackouts were detected
• aurora chances increased
• satellites are being monitored closely
• solar activity continues intensifying again
What has many watching closely is how active the Sun has suddenly become again over the last several months — with multiple eruptions now firing from different regions almost simultaneously.
The Sun does not appear to be calming down.
Anyone noticing strange skies, signal issues, pressure, vivid dreams, ringing ears, or electronics acting strange lately?
#MrMBB333#SpaceWeather#CME
https://x.com/mrmbb333/status/2053541044068012078?s=52
SOMETHING KEPT HITTING EARTH’S FREQUENCY TODAY ⚡️
The Schumann Resonance has been showing something difficult to ignore.
The graph has been cycling through repeated bursts of intense activity, including multiple sustained whiteout periods and powerful 50 Hz pulses lasting close to an hour at a time.
This wasn’t a quick spike and fade.
The signal kept returning over and over with very little quiet in between.
At several points the chart looked completely overwhelmed before briefly calming… only to surge right back again.
The level of prolonged saturation showing up today has been unusual.
Anyone else feeling like today has felt unusually heavy, restless, intense, or just “off”?
Drop your location below.
#MrMBB333#SchumannResonance#EarthWatch#SpaceWeather
https://x.com/mrmbb333/status/2052868548574560425?s=52
🛸 THE UFO DISCLOSURE ISN’T THE BIGGEST STORY
Something changed.
Not just in Washington…
but in the skies.
For years people were mocked for talking about strange objects, unexplained lights, military encounters, electrical disturbances, and things that didn’t make sense.
Now suddenly…
files are being released.
Pilots are speaking openly.
Major media outlets are covering it nonstop.
But here’s what stands out
Why is all of this happening at the SAME time the world is seeing:
• increased solar activity
• strange sky phenomena
• drone/satellite concerns
• auroras farther south
• extreme weather worldwide
• nonstop reports coming from the skies
Maybe this was never just about UFOs.
Maybe something bigger is changing around us…
and people are finally starting to notice.
👇
What do YOU think is really going on right now?
#MrMBB333#UFO#Disclosure#SpaceWeather#UAP
https://x.com/mrmbb333/status/2053544993852379307?s=52
THIS WAS THE MOMENT THE SUN ERUPTED
New footage captured the exact moment Active Region 4436 unleashed a powerful M5.7 solar flare and blasted a huge CME into space.
The eruption came from the same unstable region now rotating across the Earth-facing side of the Sun and scientists are watching closely to see whether part of the plasma cloud is Earth-directed.
This clip shows just how violent and fast the eruption actually was.
More activity from this region remains possible.
#MrMBB333#SolarFlare#SolarStorm#CME#SpaceWeather
https://x.com/paulgoldeagle/status/2054619457520271823?s=52
🚨 ANOTHER MASSIVE SURGE IN THE EARTH'S FREQUENCY TODAY. 🚨
The Schumann Resonance—the natural electromagnetic heartbeat of our planet—is lighting up the charts again today. We are seeing strong, bright bands of energy blasting through the atmosphere for hours on end.
Instead of feeling heavy, today's energy is highly electric. The Schumann Resonance is created by global lightning and electromagnetic waves trapped between the Earth's surface and the edge of space. When this field gets this charged up, a lot of people across the country report feeling it directly in their nervous systems.
Here is what people are experiencing right now:
• Racing thoughts and mental restlessness
• Interrupted sleep and incredibly vivid dreams
• Sudden pressure in the head or a "buzzing" feeling in the body
• Random bursts of energy followed by quick exhaustion
• A feeling like you just can't slow down or relax
With all this extra static in the air, your body needs a break to process it. Drink plenty of water, step away from the overstimulation, and get some solid rest to help your system reset and ground itself.
Monitoring the electric pulse of our planet here at Glynce. 📡🩵🟣
👇 Are you feeling any of these electric "symptoms" today? Drop what you are experiencing in the comments!
#Glynce#SchumannResonance#EarthScience#SpaceWeather#ElectromagneticField#EnergyShift#BreakingNews#Frequency