Python3Android-Mercurial 311.22.674.18

dotnet add package Python3Android-Mercurial --version 311.22.674.18
                    
NuGet\Install-Package Python3Android-Mercurial -Version 311.22.674.18
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Python3Android-Mercurial" Version="311.22.674.18" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Python3Android-Mercurial" Version="311.22.674.18" />
                    
Directory.Packages.props
<PackageReference Include="Python3Android-Mercurial" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Python3Android-Mercurial --version 311.22.674.18
                    
#r "nuget: Python3Android-Mercurial, 311.22.674.18"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Python3Android-Mercurial@311.22.674.18
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Python3Android-Mercurial&version=311.22.674.18
                    
Install as a Cake Addin
#tool nuget:?package=Python3Android-Mercurial&version=311.22.674.18
                    
Install as a Cake Tool

Python3Android-Mercurial

Mercurial module for Python3Android.

Install this nuget package along with Python3Android nuget package.

Installation

Add the package to your .NET Android project using the NuGet Package Manager:

<PackageReference Include="Python3Android" Version="38.22.1.8" />
<PackageReference Include="Python3Android-Mercurial" Version="38.22.674.11" />

Or install via the Package Manager Console:

Install-Package Python3Android
Install-Package Python3Android-Mercurial

Package Version Numbering

Python_Version.Min_Android_Framework.Mercurial_Version.Package_Version

both Python and mercurial versions are squashed, so python 3.8 becomes 38 and mercurial 6.7.4 becomes 674

Requirements

  • .NET 9.0 or later
  • Android API 22 or later
  • .NET MAUI project

Usage

Here's a simple example of how to run mercurial in your Android application:

using Python3Android;

// Initialize the python environment.
var androidPythonEnvironment = await Python3Android.AndroidPythonEnvironment.Create();

// Install the mercurial package.
await androidPythonEnvironment .InstallPackage("mercurial-6.7.4");

// Run the (installed) hg executable.
var output = Python3Android.AndroidPythonEnvironment.RunScript(Path.Combine(Python3Android.AndroidPythonEnvironment.Bin, "hg", out string stdError, out int exitCode)
// output contains - mercurial 'usage' output.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
311.22.674.18 257 7/29/2025
310.22.674.16 975 7/25/2025
38.22.674.15 158 7/15/2025
38.22.674.13 211 5/16/2025
38.22.674.12-alpha 198 5/16/2025
3.8.10-22-6.7.4-1.1 232 5/15/2025