Tagged articles
Package
14 articles · Page 1 of 1
This article explains the purpose and evolution of the __init__.py file, shows how it marks a directory as a Python package, demonstrates core functions like package initialization, API control, lazy importing, version management, and provides best‑practice guidelines with real‑world examples.
InitializationPackagePython
0 likes · 9 min read

This step‑by‑step guide shows how to create, configure, test, and publish a TypeScript npm package using Git, Prettier, tsup, Vitest, GitHub Actions CI, and Changesets for versioning and release automation.
CIGitHub ActionsPackage
0 likes · 25 min read

The article explains how the __init__.py file marks a directory as a Python package, enables package initialization, controls namespace exposure, defines package‑level variables and metadata, supports dynamic loading, performance optimizations, and can serve as an entry point, while noting changes introduced in Python 3.3 and PEP 420.
ModulesPackagePython
0 likes · 5 min read

Learn step-by-step how to create a PHP Composer package, configure its composer.json, implement code with PSR‑4 autoloading, write PHPUnit tests, manage Git commits, publish to Packagist, and install the package via Composer, complete with practical commands and examples.
ComposerPHPPSR-4
0 likes · 10 min read

This guide walks through installing Composer on Windows, configuring a Chinese mirror, creating a PHP SDK package with Composer, publishing the package to GitHub and Packagist, and finally installing and using the package locally and on a server.
ComposerPackagePackagist
0 likes · 4 min read

This article explains Java's access control hierarchy—public, protected, package‑private, and private—detailing package naming conventions, the role of the package keyword, how each modifier affects class members and classes, and includes practical code examples.
Access ModifiersJavaPackage
0 likes · 5 min read

This article explains Python's implicit and explicit relative import mechanisms, demonstrates directory structures, shows how to use __init__.py, and provides practical code examples illustrating import statements, common pitfalls, and best practices for managing package imports in larger projects.
PackageRelative Importexplicit-import
0 likes · 8 min read

This article walks you through every stage of turning a Python project into an open‑source package, covering licensing, project structure, setup.py creation, testing, documentation, continuous integration, and finally releasing the package to PyPI or Conda.
CIPackagePython
0 likes · 12 min read

This article explains what Flutter packages and plugins are, how to create them via IDE or command line, the required file structure, how to publish them to pub.dev, private registries or Git, and how to add them as dependencies in a Flutter project while also covering common troubleshooting steps.
DartFlutterPackage
0 likes · 9 min read

This article explains Python's variable‑length arguments (*args, **kwargs), anonymous lambda functions, package creation with __init__.py, memory‑efficient generators using yield, and powerful decorators—including practical code examples for each concept.
DecoratorPackagegenerator
0 likes · 11 min read

This guide explains how to add Unicode emoji rendering to Laravel projects by installing the Laravel Emoji package, configuring its service provider and alias, and using its facade methods to retrieve emojis by alias, name, or Unicode code point.
BackendLaravelPHP
0 likes · 3 min read

This article explains how classification thinking—organizing software into modules, components, and packages—forms the foundation of application architecture, illustrates the COLA framework’s evolution, and shows how proper layering and domain‑oriented packaging improve maintainability and scalability.
@ComponentCOLAClassification
0 likes · 15 min read

This article explains Python's import system, covering absolute and relative import syntax, package structure, execution contexts, and typical errors, while providing clear code examples and practical guidelines for correctly organizing and running modules.
PEP 328PackagePython
0 likes · 11 min read

This article explains Python's flexible import system, covering regular imports, from‑statement imports, relative imports, optional imports, local imports, and common pitfalls such as circular and shadowed imports, while providing clear code examples and best‑practice recommendations.
PackageRelative Importbest-practices
0 likes · 13 min read
