SoEasyPack

module
v0.0.0-...-c540cf8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: MIT

README

PyPI Version PyPI Downloads

SoEasyPack

  • 此项目受PyStand和PythonSizeCruncher启发。
  • 不需要复制嵌入式包,也不必再二次瘦身,一次打包理论上就是最小依赖文件数
  • 用简易的方式复制你的python项目并自动精准匹配环境依赖,几乎没有什么多余文件, 并且可以生成一个exe启动器启动项目。(用go语言编译,已内置简化过的go环境)
  • 快速/普通模式原理:使用微软procmon进程监控工具(已内置),监控项目运行时访问的文件记录
  • 仅支持windows,且仅在windows10和11上测试过

虚拟环境打包大小对比

打包工具 打包后大小
nuitka 2.5.9打包 67.9M
PyStand仅删除pip文件夹 56.9M
Pyinstaller 6.11.1打包缺依赖 补上后 49.3M
soeasypack的ast模式打包 43.7M
soeasypack的快速模式打包 33.5M
soeasypack的普通模式打包 33.5M
soeasypack的单exe模式打包 16.3M
使用soeasypack的to_slim_file瘦身 原体积大小 瘦身后大小 瘦身比例
对PyStand打包的项目瘦身 56.9M 36.5M 35.79%
对nuitka打包的项目瘦身 67.9M 54.8M 19.37%
对Pyinstaller打包的项目瘦身 49.3M 36.6M 25.52%

安装

soeasypack is available on PyPI. You can install it through pip:

    pip install soeasypack

操作演示

点击查看操作演示

介绍

  • 1: 模式介绍

  • 项目有四种打包模式:【普通打包】【快速打包】【伪轻量打包】【ast模式打包】(默认使用快速打包).

  • pack_mode:0/快速打包模式 ,1/普通打包模式, 2/伪轻量打包模式, 3/ast模式打包

  • 普通打包会先复制当前python主环境的必要官方文件,然后复制当前py环境的整个site-packages 文件夹到你指定的保存目录,然后启动分析工具分析依赖文件,然后根据依赖文件去删除rundep文件夹 中无用的文件,会保留被删除的文件到removed_file中,然后自动生成exe, 还可选将你的脚本文件转为pyd, 最后项目就打包完成了。因为会复制整个site-packages文件夹,所以普通模式只建议在虚拟环境中使用。

  • 快速打包是先启动分析工具分析依赖文件。然后把依赖文件复制到保存目录,再自动生成exe, 没有项目瘦身这一步骤, 所以没有虚拟环境的话,建议使用快速打包模式,它不会复制整个site-packages文件夹

  • 伪轻量打包是复制当前python主环境除了site-packages文件夹之外的必要官方文件,然后复制用户脚本目录,复制requirements.txt, 用户启动程序后检查依赖是否缺失,缺失自动pip下载,下载完成后rundep目录生成compiled_pip.txt,用以下次启动判断是否需要下载依赖项, 建议requirements.txt使用pipreqs包生成

  • 2: 嵌入exe介绍

  • 普通嵌入exe:设置embed_exe=True,会把rundep/AppData文件夹下用户的所有.py文件转换为.pyc,然后嵌入exe中,其它类型和其它文件夹不会嵌入。

  • 单exe文件:设置onefile=True,会把rundep/AppData文件夹下用户的所有.py文件转换为.pyc,然后嵌入exe中, 然后把rundep文件下所有文件压缩成一个zip压缩包嵌入exe中,exe运行时会解压缩到临时目录,退出程序则删除临时目录. 其它制作单exe文件方法:使用Enigma Virtual Box工具打包成只有一个exe

  • 3: 函数介绍

    • 1.打包项目
    from soeasypack import to_pack
    
    save_dir = r'C:\save_dir'
    main_py_path = r'C:\my_project\main.py' 
    exe_name = '大都督'
    to_pack(main_py_path, save_dir, pack_mode=0, embed_exe=False,exe_name=exe_name, 
            pyc_optimize=1, except_packages=['numpy']) 
    
    • 2.项目瘦身
    from soeasypack import to_slim_file
    to_slim_file(main_run_path: str, check_dir: str, project_dir: str = None, monitoring_time=20)
    
    • 3.生成pyd
    from soeasypack import to_pyd
    to_pyd(script_dir: str, script_dir_main_py: str, is_del_py: bool = False)
    

注意事项

  • 因360安全卫士会拦截procmon相关工具, 所以,打包前请先关闭360安全卫士或放行。
  • 以管理员身份运行打包代码,或在以管理员身份打开的编辑器中运行程序可避免每次启动procmon时弹出用户账户控制确认窗口, 以管理员身份运行用户程序,拖放文件到窗口功能会失效
  • 默认会将大全部.py文件转为.pyc.不保留原.py文件,优化级别默认使用为1。
  • 会自动将主py文件重命名为main, exe启动时会将工作目录切换至rundep/Appdata,会依次寻找文件夹下mian.pyc,.py,.pyd启动文件
  • 建议在虚拟环境中使用,非虚拟环境可能会打包无用的依赖(非虚拟环境测试项目:未使用numpy,但项目运行时不知为何访问了numpy,导致复制了这个无用的包)
  • 为了能完整记录依赖文件,监控工具启动后,会自动运行你的脚本,请对你的项目进行必要的操作:如点击运行按钮等, 如:我使用openpyxl往表格中插入图片,项目自动启动后,我要让脚本执行这一操作, 这样,监控工具才能监控到依赖文件,否则最后虽然能启动项目但是插入图片时会报错, 所以,请一定要注意,你的项目启动后,一定要默认监控时间18秒内执行必要的操作。 18秒大概会产生几百兆的日志,所以,监控时间可以根据实际情况调整。
  • 因.pyc可能会被反编译,建议使用soeasypack的py文件转pyd函数(好像需要先安装Visual Studio, 我自己之前安装的有,其它情况也没试)或使用嵌入exe功能
  • 伪轻量打包会自动将AppData文件夹下全部.py文件转为.pyc,然后嵌入exe
  • 程序图标需要使用png格式
  • 若启动出错无法查看报错信息可设置hide_cmd=False,编译成带控制台的exe,然后在cmd中去启动程序查看报错信息
  • 多进程需要添加冻结指令
import sys
from multiprocessing import freeze_support
if __name__ == '__main__':
    # 冻结支持,确保在打包后的环境中正确启动新的Python解释器进程
    sys.frozen = True
    freeze_support()
  • 如果你觉得对你有帮助的话,可以打赏1元让作者买个馍呀

Directories

Path Synopsis
soeasypack
dep_exe/go_env command
dep_exe/go_env/src/archive/zip
Package zip provides support for reading and writing ZIP archives.
Package zip provides support for reading and writing ZIP archives.
dep_exe/go_env/src/bufio
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O.
dep_exe/go_env/src/bytes
Package bytes implements functions for the manipulation of byte slices.
Package bytes implements functions for the manipulation of byte slices.
dep_exe/go_env/src/cmp
Package cmp provides types and functions related to comparing ordered values.
Package cmp provides types and functions related to comparing ordered values.
dep_exe/go_env/src/compress/flate
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
Package flate implements the DEFLATE compressed data format, described in RFC 1951.
dep_exe/go_env/src/context
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
dep_exe/go_env/src/embed
Package embed provides access to files embedded in the running Go program.
Package embed provides access to files embedded in the running Go program.
dep_exe/go_env/src/encoding
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations.
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations.
dep_exe/go_env/src/encoding/binary
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
dep_exe/go_env/src/errors
Package errors implements functions to manipulate errors.
Package errors implements functions to manipulate errors.
dep_exe/go_env/src/fmt
Package fmt implements formatted I/O with functions analogous to C's printf and scanf.
Package fmt implements formatted I/O with functions analogous to C's printf and scanf.
dep_exe/go_env/src/hash
Package hash provides interfaces for hash functions.
Package hash provides interfaces for hash functions.
dep_exe/go_env/src/hash/crc32
Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum.
Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum.
dep_exe/go_env/src/internal/asan
Package asan contains helper functions for manually instrumenting code for the address sanitizer.
Package asan contains helper functions for manually instrumenting code for the address sanitizer.
dep_exe/go_env/src/internal/bisect
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool.
dep_exe/go_env/src/internal/buildcfg
Package buildcfg provides access to the build configuration described by the current environment.
Package buildcfg provides access to the build configuration described by the current environment.
dep_exe/go_env/src/internal/byteorder
Package byteorder provides functions for decoding and encoding little and big endian integer types from/to byte slices.
Package byteorder provides functions for decoding and encoding little and big endian integer types from/to byte slices.
dep_exe/go_env/src/internal/cfg
Package cfg holds configuration shared by the Go command and internal/testenv.
Package cfg holds configuration shared by the Go command and internal/testenv.
dep_exe/go_env/src/internal/chacha8rand
Package chacha8rand implements a pseudorandom generator based on ChaCha8.
Package chacha8rand implements a pseudorandom generator based on ChaCha8.
dep_exe/go_env/src/internal/coverage/cfile
Package cfile implements management of coverage files.
Package cfile implements management of coverage files.
dep_exe/go_env/src/internal/cpu
Package cpu implements processor feature detection used by the Go standard library.
Package cpu implements processor feature detection used by the Go standard library.
dep_exe/go_env/src/internal/dag
Package dag implements a language for expressing directed acyclic graphs.
Package dag implements a language for expressing directed acyclic graphs.
dep_exe/go_env/src/internal/filepathlite
Package filepathlite implements a subset of path/filepath, only using packages which may be imported by "os".
Package filepathlite implements a subset of path/filepath, only using packages which may be imported by "os".
dep_exe/go_env/src/internal/fmtsort
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.
dep_exe/go_env/src/internal/fuzz
Package fuzz provides common fuzzing functionality for tests built with "go test" and for programs that use fuzzing functionality in the testing package.
Package fuzz provides common fuzzing functionality for tests built with "go test" and for programs that use fuzzing functionality in the testing package.
dep_exe/go_env/src/internal/goarch
package goarch contains GOARCH-specific constants.
package goarch contains GOARCH-specific constants.
dep_exe/go_env/src/internal/godebug
Package godebug makes the settings in the $GODEBUG environment variable available to other packages.
Package godebug makes the settings in the $GODEBUG environment variable available to other packages.
dep_exe/go_env/src/internal/godebugs
Package godebugs provides a table of known GODEBUG settings, for use by a variety of other packages, including internal/godebug, runtime, runtime/metrics, and cmd/go/internal/load.
Package godebugs provides a table of known GODEBUG settings, for use by a variety of other packages, including internal/godebug, runtime, runtime/metrics, and cmd/go/internal/load.
dep_exe/go_env/src/internal/goexperiment
Package goexperiment implements support for toolchain experiments.
Package goexperiment implements support for toolchain experiments.
dep_exe/go_env/src/internal/goos
package goos contains GOOS-specific constants.
package goos contains GOOS-specific constants.
dep_exe/go_env/src/internal/gover
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1.
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1.
dep_exe/go_env/src/internal/lazyregexp
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
Package lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
dep_exe/go_env/src/internal/lazytemplate
Package lazytemplate is a thin wrapper over text/template, allowing the use of global template variables without forcing them to be parsed at init.
Package lazytemplate is a thin wrapper over text/template, allowing the use of global template variables without forcing them to be parsed at init.
dep_exe/go_env/src/internal/msan
Package msan contains helper functions for manually instrumenting code for the memory sanitizer.
Package msan contains helper functions for manually instrumenting code for the memory sanitizer.
dep_exe/go_env/src/internal/nettrace
Package nettrace contains internal hooks for tracing activity in the net package.
Package nettrace contains internal hooks for tracing activity in the net package.
dep_exe/go_env/src/internal/oserror
Package oserror defines errors values used in the os package.
Package oserror defines errors values used in the os package.
dep_exe/go_env/src/internal/pkgbits
Package pkgbits implements low-level coding abstractions for Unified IR's export data format.
Package pkgbits implements low-level coding abstractions for Unified IR's export data format.
dep_exe/go_env/src/internal/poll
Package poll supports non-blocking I/O on file descriptors with polling.
Package poll supports non-blocking I/O on file descriptors with polling.
dep_exe/go_env/src/internal/profile
Package profile represents a pprof profile as a directed graph.
Package profile represents a pprof profile as a directed graph.
dep_exe/go_env/src/internal/profilerecord
Package profilerecord holds internal types used to represent profiling records with deep stack traces.
Package profilerecord holds internal types used to represent profiling records with deep stack traces.
dep_exe/go_env/src/internal/race
Package race contains helper functions for manually instrumenting code for the race detector.
Package race contains helper functions for manually instrumenting code for the race detector.
dep_exe/go_env/src/internal/reflectlite
Package reflectlite implements lightweight version of reflect, not using any package except for "runtime", "unsafe", and "internal/abi"
Package reflectlite implements lightweight version of reflect, not using any package except for "runtime", "unsafe", and "internal/abi"
dep_exe/go_env/src/internal/runtime/atomic
Package atomic provides atomic operations, independent of sync/atomic, to the runtime.
Package atomic provides atomic operations, independent of sync/atomic, to the runtime.
dep_exe/go_env/src/internal/runtime/exithook
Package exithook provides limited support for on-exit cleanup.
Package exithook provides limited support for on-exit cleanup.
dep_exe/go_env/src/internal/runtime/syscall
Package syscall provides the syscall primitives required for the runtime.
Package syscall provides the syscall primitives required for the runtime.
dep_exe/go_env/src/internal/saferio
Package saferio provides I/O functions that avoid allocating large amounts of memory unnecessarily.
Package saferio provides I/O functions that avoid allocating large amounts of memory unnecessarily.
dep_exe/go_env/src/internal/singleflight
Package singleflight provides a duplicate function call suppression mechanism.
Package singleflight provides a duplicate function call suppression mechanism.
dep_exe/go_env/src/internal/stringslite
Package stringslite implements a subset of strings, only using packages that may be imported by "os".
Package stringslite implements a subset of strings, only using packages that may be imported by "os".
dep_exe/go_env/src/internal/syscall/windows/registry
Package registry provides access to the Windows registry.
Package registry provides access to the Windows registry.
dep_exe/go_env/src/internal/syscall/windows/sysdll
Package sysdll is an internal leaf package that records and reports which Windows DLL names are used by Go itself.
Package sysdll is an internal leaf package that records and reports which Windows DLL names are used by Go itself.
dep_exe/go_env/src/internal/sysinfo
Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes.
Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes.
dep_exe/go_env/src/internal/testlog
Package testlog provides a back-channel communication path between tests and package os, so that cmd/go can see which environment variables and files a test consults.
Package testlog provides a back-channel communication path between tests and package os, so that cmd/go can see which environment variables and files a test consults.
dep_exe/go_env/src/internal/trace/internal/oldtrace
Package oldtrace implements a parser for Go execution traces from versions 1.11–1.21.
Package oldtrace implements a parser for Go execution traces from versions 1.11–1.21.
dep_exe/go_env/src/internal/trace/raw
Package raw provides an interface to interpret and emit Go execution traces.
Package raw provides an interface to interpret and emit Go execution traces.
dep_exe/go_env/src/internal/trace/traceviewer/format
Package traceviewer provides definitions of the JSON data structures used by the Chrome trace viewer.
Package traceviewer provides definitions of the JSON data structures used by the Chrome trace viewer.
dep_exe/go_env/src/internal/txtar
Package txtar implements a trivial text-based file archive format.
Package txtar implements a trivial text-based file archive format.
dep_exe/go_env/src/internal/unsafeheader
Package unsafeheader contains header declarations for the Go runtime's slice and string implementations.
Package unsafeheader contains header declarations for the Go runtime's slice and string implementations.
dep_exe/go_env/src/internal/weak
The weak package is a package for managing weak pointers.
The weak package is a package for managing weak pointers.
dep_exe/go_env/src/internal/xcoff
Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
dep_exe/go_env/src/internal/zstd
Package zstd provides a decompressor for zstd streams, described in RFC 8878.
Package zstd provides a decompressor for zstd streams, described in RFC 8878.
dep_exe/go_env/src/io
Package io provides basic interfaces to I/O primitives.
Package io provides basic interfaces to I/O primitives.
dep_exe/go_env/src/io/fs
Package fs defines basic interfaces to a file system.
Package fs defines basic interfaces to a file system.
dep_exe/go_env/src/io/ioutil
Package ioutil implements some I/O utility functions.
Package ioutil implements some I/O utility functions.
dep_exe/go_env/src/iter
Package iter provides basic definitions and operations related to iterators over sequences.
Package iter provides basic definitions and operations related to iterators over sequences.
dep_exe/go_env/src/math
Package math provides basic constants and mathematical functions.
Package math provides basic constants and mathematical functions.
dep_exe/go_env/src/math/big
Package big implements arbitrary-precision arithmetic (big numbers).
Package big implements arbitrary-precision arithmetic (big numbers).
dep_exe/go_env/src/math/bits
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.
dep_exe/go_env/src/math/cmplx
Package cmplx provides basic constants and mathematical functions for complex numbers.
Package cmplx provides basic constants and mathematical functions for complex numbers.
dep_exe/go_env/src/math/rand
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
dep_exe/go_env/src/math/rand/v2
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
Package rand implements pseudo-random number generators suitable for tasks such as simulation, but it should not be used for security-sensitive work.
dep_exe/go_env/src/net
Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
dep_exe/go_env/src/net/dns/dnsmessage
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.
dep_exe/go_env/src/net/http
Package http provides HTTP client and server implementations.
Package http provides HTTP client and server implementations.
dep_exe/go_env/src/net/http/cgi
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
dep_exe/go_env/src/net/http/cookiejar
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
dep_exe/go_env/src/net/http/fcgi
Package fcgi implements the FastCGI protocol.
Package fcgi implements the FastCGI protocol.
dep_exe/go_env/src/net/http/httptest
Package httptest provides utilities for HTTP testing.
Package httptest provides utilities for HTTP testing.
dep_exe/go_env/src/net/http/httptrace
Package httptrace provides mechanisms to trace the events within HTTP client requests.
Package httptrace provides mechanisms to trace the events within HTTP client requests.
dep_exe/go_env/src/net/http/httputil
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package.
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package.
dep_exe/go_env/src/net/http/internal
Package internal contains HTTP internals shared by net/http and net/http/httputil.
Package internal contains HTTP internals shared by net/http and net/http/httputil.
dep_exe/go_env/src/net/http/internal/testcert
Package testcert contains a test-only localhost certificate.
Package testcert contains a test-only localhost certificate.
dep_exe/go_env/src/net/http/pprof
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
dep_exe/go_env/src/net/internal/socktest
Package socktest provides utilities for socket testing.
Package socktest provides utilities for socket testing.
dep_exe/go_env/src/net/mail
Package mail implements parsing of mail messages.
Package mail implements parsing of mail messages.
dep_exe/go_env/src/net/netip
Package netip defines an IP address type that's a small value type.
Package netip defines an IP address type that's a small value type.
dep_exe/go_env/src/net/rpc
Package rpc provides access to the exported methods of an object across a network or other I/O connection.
Package rpc provides access to the exported methods of an object across a network or other I/O connection.
dep_exe/go_env/src/net/rpc/jsonrpc
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package.
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package.
dep_exe/go_env/src/net/smtp
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321.
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321.
dep_exe/go_env/src/net/textproto
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP.
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP.
dep_exe/go_env/src/net/url
Package url parses URLs and implements query escaping.
Package url parses URLs and implements query escaping.
dep_exe/go_env/src/os
Package os provides a platform-independent interface to operating system functionality.
Package os provides a platform-independent interface to operating system functionality.
dep_exe/go_env/src/os/exec
Package exec runs external commands.
Package exec runs external commands.
dep_exe/go_env/src/os/exec/internal/fdtest
Package fdtest provides test helpers for working with file descriptors across exec.
Package fdtest provides test helpers for working with file descriptors across exec.
dep_exe/go_env/src/os/signal
Package signal implements access to incoming signals.
Package signal implements access to incoming signals.
dep_exe/go_env/src/os/user
Package user allows user account lookups by name or id.
Package user allows user account lookups by name or id.
dep_exe/go_env/src/path
Package path implements utility routines for manipulating slash-separated paths.
Package path implements utility routines for manipulating slash-separated paths.
dep_exe/go_env/src/path/filepath
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
dep_exe/go_env/src/reflect
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
dep_exe/go_env/src/runtime
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
dep_exe/go_env/src/runtime/cgo
Package cgo contains runtime support for code generated by the cgo tool.
Package cgo contains runtime support for code generated by the cgo tool.
dep_exe/go_env/src/runtime/debug
Package debug contains facilities for programs to debug themselves while they are running.
Package debug contains facilities for programs to debug themselves while they are running.
dep_exe/go_env/src/runtime/internal/startlinetest
Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
dep_exe/go_env/src/runtime/internal/sys
package sys contains system- and configuration- and architecture-specific constants used by the runtime.
package sys contains system- and configuration- and architecture-specific constants used by the runtime.
dep_exe/go_env/src/runtime/metrics
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime.
Package metrics provides a stable interface to access implementation-defined metrics exported by the Go runtime.
dep_exe/go_env/src/runtime/pprof
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool.
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool.
dep_exe/go_env/src/runtime/race
Package race implements data race detection logic.
Package race implements data race detection logic.
dep_exe/go_env/src/runtime/trace
Package trace contains facilities for programs to generate traces for the Go execution tracer.
Package trace contains facilities for programs to generate traces for the Go execution tracer.
dep_exe/go_env/src/slices
Package slices defines various functions useful with slices of any type.
Package slices defines various functions useful with slices of any type.
dep_exe/go_env/src/sort
Package sort provides primitives for sorting slices and user-defined collections.
Package sort provides primitives for sorting slices and user-defined collections.
dep_exe/go_env/src/strconv
Package strconv implements conversions to and from string representations of basic data types.
Package strconv implements conversions to and from string representations of basic data types.
dep_exe/go_env/src/strings
Package strings implements simple functions to manipulate UTF-8 encoded strings.
Package strings implements simple functions to manipulate UTF-8 encoded strings.
dep_exe/go_env/src/sync
Package sync provides basic synchronization primitives such as mutual exclusion locks.
Package sync provides basic synchronization primitives such as mutual exclusion locks.
dep_exe/go_env/src/sync/atomic
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.
dep_exe/go_env/src/syscall
Package syscall contains an interface to the low-level operating system primitives.
Package syscall contains an interface to the low-level operating system primitives.
dep_exe/go_env/src/syscall/js
Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
Package js gives access to the WebAssembly host environment when using the js/wasm architecture.
dep_exe/go_env/src/time
Package time provides functionality for measuring and displaying time.
Package time provides functionality for measuring and displaying time.
dep_exe/go_env/src/time/tzdata
Package tzdata provides an embedded copy of the timezone database.
Package tzdata provides an embedded copy of the timezone database.
dep_exe/go_env/src/unicode
Package unicode provides data and functions to test some properties of Unicode code points.
Package unicode provides data and functions to test some properties of Unicode code points.
dep_exe/go_env/src/unicode/utf16
Package utf16 implements encoding and decoding of UTF-16 sequences.
Package utf16 implements encoding and decoding of UTF-16 sequences.
dep_exe/go_env/src/unicode/utf8
Package utf8 implements functions and constants to support text encoded in UTF-8.
Package utf8 implements functions and constants to support text encoded in UTF-8.
dep_exe/go_env/src/unique
The unique package provides facilities for canonicalizing ("interning") comparable values.
The unique package provides facilities for canonicalizing ("interning") comparable values.
dep_exe/go_env/src/unsafe
Package unsafe contains operations that step around the type safety of Go programs.
Package unsafe contains operations that step around the type safety of Go programs.
dep_exe/go_env/src/windows
Package windows contains an interface to the low-level operating system primitives.
Package windows contains an interface to the low-level operating system primitives.
dep_exe/go_env/src/windows/mkwinsyscall command
mkwinsyscall generates windows system call bodies
mkwinsyscall generates windows system call bodies
dep_exe/go_env/src/windows/registry
Package registry provides access to the Windows registry.
Package registry provides access to the Windows registry.
dep_exe/go_env/src/windows/svc
Package svc provides everything required to build Windows service.
Package svc provides everything required to build Windows service.
dep_exe/go_env/src/windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
Package debug provides facilities to execute svc.Handler on console.
dep_exe/go_env/src/windows/svc/eventlog
Package eventlog implements access to Windows event log.
Package eventlog implements access to Windows event log.
dep_exe/go_env/src/windows/svc/mgr
Package mgr can be used to manage Windows service programs.
Package mgr can be used to manage Windows service programs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL