Mythosia 1.0.0
See the version list below for details.
dotnet add package Mythosia --version 1.0.0
NuGet\Install-Package Mythosia -Version 1.0.0
<PackageReference Include="Mythosia" Version="1.0.0" />
paket add Mythosia --version 1.0.0
#r "nuget: Mythosia, 1.0.0"
// Install Mythosia as a Cake Addin #addin nuget:?package=Mythosia&version=1.0.0 // Install Mythosia as a Cake Tool #tool nuget:?package=Mythosia&version=1.0.0
# Mythosia
This project supports custom functions that are not directly provided by .NET as extension methods so that they can be conveniently used within the project.
The extensions supported by this project include the following.
The below is part of example and you can see the detail information on https://github.com/AJ-comp/Mythosia.
using Mythosia;
// Example for string extension
var data = "12345".ToDefaultArray(); // Equal with Encoding.Default.GetBytes("12345");
var data = "12345".ToASCIIArray(); // Equal with Encoding.ASCII.GetBytes("12345");
var data = "=".Repeat(10); // data is "=========="
// Example for numeric (byte, short, int, etc...) extension
var result = 56.IsInRange(0, 100); // result is true
var result = 56.IsInRange(0, 30); // result is false
var data = 56000000.ToSIPrefix(); // data is "56 M"
var data = ((double)423.42031).ConvertEndian(); // change endian
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Mythosia:
Package | Downloads |
---|---|
Mythosia.Integrity
From this version, you can use the polymorphism. Please see the GitHub readme file. support checksum8: 1. xor (using in NMEA format) 2. modulo-256 3. 2's complement support CRC8: 1. CRC8 2. CRC8 Maxim support CRC16: 1. CRC16 2. CRC16 (modbus) 3. CRC16 CCITT (xModem) 4. CRC16 DNP support CRC32 1. CRC32 |
|
Mythosia.Security.Cryptography
support symmetric algorithm 1. AES128 2. AES192 3. AES256 4. 3DES 5. DES 6. SEED support HashCode for IV (Integrity Verification) 1. SHA1 2. SHA256 3. SHA384 4. SHA512 5. MD2 6. MD4 7. MD5 refer to https://github.com/AJ-comp/Mythosia/tree/master/Mythosia.Security.Cryptography for detail. |
|
Mythosia.Azure.Storage.Blobs
**New Features**: This update introduces an extension method to automatically convert strings into valid Azure Blob Storage container names. Azure Blob Storage imposes strict naming rules requiring lowercase letters, numbers, and hyphens, with specific constraints on hyphen placement and name length. This new feature ensures that container names comply with these rules by transforming arbitrary input strings into valid container names seamlessly. **Key Benefits**: - Converts camelCase or PascalCase strings to lowercase with hyphens automatically. - Replaces disallowed characters with hyphens, ensuring valid naming conventions. - Handles name length constraints (minimum 3 characters, maximum 63 characters). - Simplifies compliance with Azure Blob Storage naming standards, reducing errors and improving consistency. **Usage Example**: ```csharp using Mythosia.Azure.Storage.Blobs; // Convert a string to a valid container name string validName = "PhonoMaster@123".ToBlobContainerName(); // Output: "phono-master-123" ``` |
|
Mythosia.AI
## Package Summary The `Mythosia.AI` library provides an abstraction for various AI models, including support for **OpenAI GPT-4** and **Anthropic Claude** models. This library allows easy interaction with AI services, enabling both synchronous completion and streaming capabilities for models like GPT-3.5, GPT-4, Claude, and more. This library abstracts the HTTP requests required to communicate with the APIs and provides a unified interface for various AI models, making it easier to integrate into any C# or ASP.NET Core project. ### Supported Models - OpenAI GPT-4 and GPT-4 Turbo - OpenAI GPT-3.5 Turbo - Claude 3.x variants (Claude3_5Sonnet, Claude3Opus, Claude3Haiku) ### Key Features - Synchronous completion and streaming support for AI models - Customizable model selection, temperature, and max tokens - Abstraction over the complexity of managing HTTP requests and responses - Extendable structure for adding support for new AI models ## How to Use To use this library, create an instance of either `ChatGptService` or `ClaudeService` depending on the AI model you're working with. Here's an example: |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.0 | 37 | 11/9/2024 |
1.3.0 | 74 | 10/25/2024 |
1.2.4 | 68 | 10/23/2024 |
1.2.3 | 286 | 6/17/2024 |
1.2.2 | 1,081 | 10/16/2023 |
1.2.1 | 1,103 | 8/20/2023 |
1.2.0 | 1,641 | 8/9/2023 |
1.1.5 | 1,157 | 7/17/2023 |
1.1.4 | 1,162 | 7/3/2023 |
1.1.3 | 1,188 | 7/3/2023 |
1.1.2 | 1,055 | 6/28/2023 |
1.1.1 | 1,288 | 6/25/2023 |
1.1.0 | 1,121 | 6/23/2023 |
1.0.3 | 1,129 | 6/23/2023 |
1.0.2 | 1,096 | 6/21/2023 |
1.0.1 | 1,315 | 6/19/2023 |
1.0.0 | 1,200 | 6/18/2023 |