Skip to main content

mono-require

https://travis-ci.org/yeyuexia/mono-require.svg?branch=master

Use mono-require to access local resource for avoid read/write conflict.

Requirements

  • Python 3.6+

  • Works on Linux, Windows, Mac OSX, BSD

Install

pip:

pip install mono-require

Usage

Use require to access local resource.

require support all arguments except closefd and opener of built-in method open (https://docs.python.org/3/library/functions.html?highlight=open#open).

And require have three more arguments with default value:

  • timeout=1 and delay=0.001. When require a resource has been used, require could waiting till timeout and throw LockTimeoutException.

  • lock_path=”.” to set the lock file location. By default we create lock file in resource directory.

Metadata

Release files for mono-require 0.1.1

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

Source distribution (sdist)

Source distribution for mono-require 0.1.1
File Size Uploaded Provenance Actions
mono-require-0.1.1.tar.gz 2.4 kB Without provenance Details for mono-require-0.1.1.tar.gz

Release files / mono-require-0.1.1.tar.gz

Download URL mono-require-0.1.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ee68f93540206eeb41fc686dd147058d2f489ee9814487801d7e85780b19e027
BLAKE2b-256 checksum
How to use checksums
43e448df923163415ede73a5d9b27486a12c8cad9e99dad62ed1c9cf3c38f51a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mono-require 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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