DEV Community

Rushan S J
Rushan S J

Posted on • Edited on

3 1

Developer Profile Packages - Why and Why not

Maybe you've heard.... or maybe not ?

I just realized a thing.
You can make your profile as a package. And not just a package, a dev profile on pypi (pip) or npm. Virtually any package manager.

By making a cli app in python (pip), .NET (nuget) or node (npm), and globalizing it, you can make your app spit out information about you when its called.

Why

Well, its just a cool and creative way to show people your dev profile.

Why not

Some times, It just isn't cool. If you make a package with the name as a username that's related to a actual package, you're in trouble. For example, there is this package called pyplot in python but to install it, you would run pip install plot and not 'pip install pyplot'. Any new developer who wants to just download code and run would find it tough when the error says to install pyplot. Naturally, the developer would run pip install pyplot and then, you someone made a dev profile package called pyplot (might be their username?), the new dev would get further confused when the code doesn't work.

Workaround

You could perhaps name your package as profile-pyplot instead of pyplot which doesn't confuse people but some (bad?) developers would not listen to this and continue confusing people.

"With great power, comes great responsibility"
- A nice developer.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay