Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antfs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antfs

Python3 Apache Ant path patterns matching library

  • 1.0.4
  • PyPI
  • Socket score

Maintainers
1

antfs: Python3 Ant <http://ant.apache.org/manual/dirtasks.html>_ path matching library

============ Usage:

Select file paths matched the specified ant path pattern <http://ant.apache.org/manual/dirtasks.html>_ :

ds = AntPatternDirectoryScanner("foo/bar", "foo/**/*.txt") ... for filename in ds.scan(): ... print(filename) ...

Copy matched files into target directory:

ds = AntPatternDirectoryScanner("foo/bar", "data/**/*.txt") ... ds.copy("target/dir")

============== Installation:


(A): Installation with pip


::

umask 022 sudo pip3 install antfs

Upgrading:

sudo pip3 install antfs --upgrade


(B): Installation from sources


::

umask 022
git clone https://github.com/Softmotions/antfs.git
cd ./antfs
sudo python3 ./setup.py install

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc