Skip to main content

Associations

This is an association management package.

Objects

  • Classes:

    • Association (word : str,name : str,method=None,case_sensitive=True,regular=False,**data)
      • word - word to create an Association
      • name - name of the your Association
      • method - method used when searching for assoС‚iations (in/including/is)
      • case_sensetive - case-sensetive search
      • regular - using regular expressions when searching
      • data - data to save
      • Methods:
        • add()

          Add self to the list of associations

        • getdata()

          Get the data that was saved when you created it

        • getmethod()

          Get the method that is assigned at creation

        • isregular()

          Checks whether regular expressions are enabled

        • get_case_sensetive()

          Checks whether register accounting is enabled

        • getname()

          Get the name of this association

        • set_case_sensetive(state : bool)

          Enables or disables case accounting

  • Variables:

    • Associations

      It is the heir of the inner class "associations"

      • Methods:
        • add(value : string, name : str,method : str,case_sensitive=True,regular=False,**data)

          Create a new association and adds it to the associations list

        • add(value : Association)

          Add the association to the associations list

        • get(string : str) -> list

          Searches for all associations to the string "string"


Example

import associations
associations.Associations.add('hello','Greeting','including')
print(associations.Associations.get('hello, world!')[0].getname())

Out:

Greeting

Release files for associations 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for associations 0.0.4
File Size Uploaded
associations-0.0.4.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for associations 0.0.4
File Interpreter ABI Platform
associations-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / associations-0.0.4.tar.gz

Download URL associations-0.0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bf123c898d5ddbaf6a53bd0998ea6c49aabc4a8222294b25f397ac2d8fe9f19d
BLAKE2b-256 checksum
How to use checksums
d4d181bb7fa70cafd84d9b5ff038db7fbfeec2fcea4b1ac9608d8b53b2955aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Release files / associations-0.0.4-py3-none-any.whl

Download URL associations-0.0.4-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c320b08aad8b0763c865992180e369d708f9111e6e9738c4f586127bb07d15c4
BLAKE2b-256 checksum
How to use checksums
e312ef28e811f1d664cabf67eb4910ef5d519ef4c305d60a46f1e044f2f5fd8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page