Top "Package" questions

Package broadly refers to two things: 1) a usable unit/component of built/compiled software, or 2) a partition of the global namespace (Java).

Non-declaration statement outside function body in Go

I'm building a Go library for an API that offers JSON or XML formatted data. This API requires me to …

variables scope go package global
Java: Subpackage visibility?

I have two packages in my project: odp.proj and odp.proj.test. There are certain methods that I want …

java package visibility encapsulation
Adding code to __init__.py

I'm taking a look at how the model system in django works and I noticed something that I don't understand. …

python initialization package
Unable to resolve dependency tree Reactjs

I am trying to install react-tinder-card in my current project.So i am tring to install the react-tinder-card but after …

javascript reactjs npm package tinder
Should I commit yarn.lock and package-lock.json files?

We're using yarn for all our deterministic pkg installations but don't prevent the user from using npm - I'm guessing …

npm package yarnpkg
How do I create a namespace package in Python?

In Python, a namespace package allows you to spread Python code among several projects. This is useful when you want …

python namespaces package
python3: ImportError: No module named xxxx

I am new to Python and I am trying to understand a problem, which I see when creating a package. …

python package importerror
Go failing - expected 'package', found 'EOF'

I've been having a hard time trying to execute a simple golang program in a virtual machine powered by vagrant. …

go package eof
Download source from npm without installing it

How can I download the source code of a package from npm without actually installing it (i.e. without using …

node.js package npm
How to read a (static) file from inside a Python package?

Could you tell me how can I read a file that is inside my Python package? My situation A package …

python file package